Skip to content

Commit 0b5fd2e

Browse files
committed
feat: add existing repositories
1 parent e1f8828 commit 0b5fd2e

1 file changed

Lines changed: 208 additions & 0 deletions

File tree

‎src/tf/repositories.tf‎

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
locals {
2+
github_actions_integration_id = 15368
3+
4+
organizers_team = {
5+
id = module.organizers_team.id
6+
permission = "admin"
7+
bypass = true
8+
}
9+
}
10+
11+
module "portal_to_work_app_old_repository" {
12+
source = "./modules/repository"
13+
14+
name = "Portal-To-Work-App-Old"
15+
teams = [local.organizers_team]
16+
}
17+
18+
module "opensgf_org_repository" {
19+
source = "./modules/repository"
20+
21+
name = "opensgf.org"
22+
description = "Organization website"
23+
homepage_url = "https://www.opensgf.com/"
24+
topics = ["hacktoberfest"]
25+
teams = [local.organizers_team]
26+
}
27+
28+
module "brigade_information_repository" {
29+
source = "./modules/repository"
30+
31+
name = "brigade-information"
32+
description = "Data about Code for America brigades and other civic tech organizations for the CfA API"
33+
teams = [local.organizers_team]
34+
}
35+
36+
module "portal_to_work_api_old_repository" {
37+
source = "./modules/repository"
38+
39+
name = "portal-to-work-api-old"
40+
description = "API for portal to work https://github.com/Open-SGF/Portal-To-Work-App"
41+
teams = [local.organizers_team]
42+
}
43+
44+
module "motherhood_reclaimed_website_repository" {
45+
source = "./modules/repository"
46+
47+
name = "motherhood-reclaimed-website"
48+
topics = ["hacktoberfest"]
49+
teams = [local.organizers_team]
50+
}
51+
52+
module "portal_to_work_client_repository" {
53+
source = "./modules/repository"
54+
55+
name = "portal-to-work-client"
56+
topics = ["hacktoberfest"]
57+
teams = [local.organizers_team]
58+
}
59+
60+
module "portal_to_work_api_repository" {
61+
source = "./modules/repository"
62+
63+
name = "portal-to-work-api"
64+
teams = [local.organizers_team]
65+
}
66+
67+
module "discord_bot_repository" {
68+
source = "./modules/repository"
69+
70+
name = "discord-bot"
71+
description = "Our little discord bot"
72+
topics = ["hacktoberfest"]
73+
teams = [local.organizers_team]
74+
}
75+
76+
module "invisible_man_leadership_repository" {
77+
source = "./modules/repository"
78+
79+
name = "invisiblemanleadership.org"
80+
teams = [local.organizers_team]
81+
}
82+
83+
module "sgf_meetup_api_repository" {
84+
source = "./modules/repository"
85+
86+
name = "sgf-meetup-api"
87+
teams = [local.organizers_team]
88+
required_checks = [
89+
{
90+
context = "build"
91+
integration_id = local.github_actions_integration_id
92+
},
93+
{
94+
context = "lint-test / lint-test"
95+
integration_id = local.github_actions_integration_id
96+
},
97+
]
98+
}
99+
100+
module "gooddads_repository" {
101+
source = "./modules/repository"
102+
103+
name = "gooddads"
104+
teams = concat(
105+
[{
106+
id = module.good_dads_volunteers_team.id
107+
permission = "triage"
108+
}],
109+
[local.organizers_team],
110+
)
111+
}
112+
113+
module "good_dads_admin_app_repository" {
114+
source = "./modules/repository"
115+
116+
name = "good-dads-admin-app"
117+
teams = [local.organizers_team]
118+
}
119+
120+
module "good_dads_companion_app_repository" {
121+
source = "./modules/repository"
122+
123+
name = "good-dads-companion-app"
124+
teams = [local.organizers_team]
125+
}
126+
127+
module "healthiermo_repository" {
128+
source = "./modules/repository"
129+
130+
name = "healthiermo"
131+
ruleset_enforcement = "disabled"
132+
teams = [local.organizers_team]
133+
required_checks = [
134+
{
135+
context = "Test"
136+
integration_id = local.github_actions_integration_id
137+
},
138+
{
139+
context = "Build"
140+
integration_id = local.github_actions_integration_id
141+
},
142+
{
143+
context = "Validate PR title"
144+
integration_id = local.github_actions_integration_id
145+
},
146+
]
147+
}
148+
149+
module "take_shelter_now_repository" {
150+
source = "./modules/repository"
151+
152+
name = "take-shelter-now"
153+
homepage_url = "https://www.takeshelternow.org"
154+
teams = concat(
155+
[{
156+
id = module.take_shelter_now_volunteers_team.id
157+
permission = "triage"
158+
}],
159+
[local.organizers_team],
160+
)
161+
required_checks = [
162+
{
163+
context = "ci"
164+
integration_id = local.github_actions_integration_id
165+
},
166+
{
167+
context = "ci-e2e"
168+
integration_id = local.github_actions_integration_id
169+
},
170+
]
171+
}
172+
173+
module "gooddads_enrollment_bot_repository" {
174+
source = "./modules/repository"
175+
176+
name = "gooddads-enrollment-bot"
177+
teams = concat(
178+
[{
179+
id = module.good_dads_volunteers_team.id
180+
permission = "pull"
181+
}],
182+
[local.organizers_team],
183+
)
184+
}
185+
186+
module "infra_aws_core_repository" {
187+
source = "./modules/repository"
188+
189+
name = "infra-aws-core"
190+
description = "Open SGF shared AWS foundation infrastructure"
191+
teams = [local.organizers_team]
192+
}
193+
194+
module "infra_dns_repository" {
195+
source = "./modules/repository"
196+
197+
name = "infra-dns"
198+
description = "Open SGF DNS infrastructure as code"
199+
teams = [local.organizers_team]
200+
}
201+
202+
module "infra_gh_repository" {
203+
source = "./modules/repository"
204+
205+
name = "infra-gh"
206+
description = "Manages OpenSGF GitHub organization configuration with OpenTofu"
207+
teams = [local.organizers_team]
208+
}

0 commit comments

Comments
 (0)