forked from nix-community/infra
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hydra-projects.tf
60 lines (51 loc) · 1.63 KB
/
hydra-projects.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# See https://github.com/DeterminateSystems/terraform-provider-hydra for explanation
resource "hydra_project" "kittybox" {
name = "kittybox"
display_name = "Kittybox"
description = "The IndieWeb blogging solution"
homepage = "https://sr.ht/~vikanezrimaya/kittybox"
owner = "admin"
enabled = true
visible = true
}
resource "hydra_jobset" "kittybox" {
project = hydra_project.kittybox.name
state = "enabled"
visible = true
name = "main"
type = "flake"
description = "main branch"
flake_uri = "git+https://git.sr.ht/~vikanezrimaya/kittybox?ref=main"
check_interval = 1800
scheduling_shares = 3000
keep_evaluations = 3
email_notifications = false
}
resource "hydra_project" "emacs_overlay" {
name = "emacs-overlay"
display_name = "Emacs Overlay"
description = "Bleeding edge emacs overlay"
homepage = "https://github.com/nix-community/emacs-overlay"
owner = "admin"
enabled = true
visible = true
declarative {
file = "hydra/spec.json"
type = "git"
value = "https://github.com/nix-community/emacs-overlay"
}
}
resource "hydra_project" "simple_nixos_mailserver" {
name = "simple-nixos-mailserver"
display_name = "Simple NixOS MailServer"
description = "A complete and Simple Nixos Mailserver"
homepage = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver"
owner = "admin"
enabled = true
visible = true
declarative {
file = ".hydra/spec.json"
type = "git"
value = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver"
}
}