-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename quarkus-statiq.tf to quarkus-roq.tf
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
24 changes: 12 additions & 12 deletions
24
terraform-scripts/quarkus-statiq.tf → terraform-scripts/quarkus-roq.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
# Create repository | ||
resource "github_repository" "quarkus_statiq" { | ||
name = "quarkus-statiq" | ||
resource "github_repository" "quarkus_roq" { | ||
name = "quarkus-roq" | ||
description = "An extension to generate/publish static pages from your Quarkus web-app" | ||
allow_update_branch = true | ||
archive_on_destroy = true | ||
delete_branch_on_merge = true | ||
has_issues = true | ||
has_projects = true | ||
vulnerability_alerts = true | ||
topics = ["quarkus-extension", "web", "static", "generate", "blog"] | ||
topics = ["quarkus-extension", "web", "static", "ssg", "site", "generator", "generate", "blog"] | ||
} | ||
|
||
# Create team | ||
resource "github_team" "quarkus_statiq" { | ||
name = "quarkiverse-statiq" | ||
description = "statiq team" | ||
resource "github_team" "quarkus_roq" { | ||
name = "quarkiverse-roq" | ||
description = "roq team" | ||
create_default_maintainer = false | ||
privacy = "closed" | ||
parent_team_id = data.github_team.quarkiverse_members.id | ||
} | ||
|
||
# Add team to repository | ||
resource "github_team_repository" "quarkus_statiq" { | ||
team_id = github_team.quarkus_statiq.id | ||
repository = github_repository.quarkus_statiq.name | ||
resource "github_team_repository" "quarkus_roq" { | ||
team_id = github_team.quarkus_roq.id | ||
repository = github_repository.quarkus_roq.name | ||
permission = "maintain" | ||
} | ||
|
||
# Add users to the team | ||
resource "github_team_membership" "quarkus_statiq" { | ||
for_each = { for tm in ["ia3andy"] : tm => tm } | ||
team_id = github_team.quarkus_statiq.id | ||
resource "github_team_membership" "quarkus_roq" { | ||
for_each = { for tm in ["ia3andy", "melloware", "mcruzdev"] : tm => tm } | ||
team_id = github_team.quarkus_roq.id | ||
username = each.value | ||
role = "maintainer" | ||
} |