-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathhydra-projects.tf
98 lines (81 loc) · 2.49 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# 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
}
resource "hydra_jobset" "emacs_overlay" {
project = hydra_project.emacs_overlay.name
state = "enabled"
visible = true
name = "master"
type = "flake"
description = "master branch"
flake_uri = "github:nix-community/emacs-overlay"
check_interval = 1800
scheduling_shares = 3000
keep_evaluations = 1
email_notifications = false
}
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"
}
}
resource "hydra_project" "microvm_nix" {
name = "microvm-nix"
display_name = "MicroVM.nix"
description = "NixOS MicroVMs"
homepage = "https://github.com/astro/microvm.nix"
owner = "admin"
enabled = true
visible = true
}
resource "hydra_jobset" "microvm_nix" {
project = hydra_project.microvm_nix.name
state = "disabled"
visible = true
name = "main"
type = "flake"
description = "main branch"
flake_uri = "github:astro/microvm.nix"
check_interval = 1800
scheduling_shares = 3000
keep_evaluations = 1
email_notifications = false
}