Skip to content

Commit

Permalink
Introduce quarkus-systemd-notify
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Nov 30, 2022
1 parent d784163 commit b68bf5b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ quarkus-rsocket.tf @quarkiverse/quarkiverse-rsocket
quarkus-sa-token.tf @quarkiverse/quarkiverse-sa-token
quarkus-scala3.tf @quarkiverse/quarkiverse-scala
quarkus-shardingsphere-jdbc.tf @quarkiverse/quarkiverse-shardingsphere-jdbc
quarkus-systemd-notify.tf @quarkiverse/quarkiverse-systemd-notify
quarkus-tekton-client.tf @quarkiverse/quarkiverse-tekton-client
quarkus-tika.tf @quarkiverse/quarkiverse-tika
quarkus-togglz.tf @quarkiverse/quarkiverse-togglz
Expand Down
35 changes: 35 additions & 0 deletions quarkus-systemd-notify.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Create repository
resource "github_repository" "quarkus_systemd_notify" {
name = "quarkus-systemd-notify"
description = "This project demonstrates integrating systemd-notify with Quarkus"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension", "systemd-notify", "quarkus", "linux", "systemd"]
}

# Create team
resource "github_team" "quarkus_systemd_notify" {
name = "quarkiverse-systemd-notify"
description = "systemd-notify 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_systemd_notify" {
team_id = github_team.quarkus_systemd_notify.id
repository = github_repository.quarkus_systemd_notify.name
permission = "maintain"
}

# Add users to the team
resource "github_team_membership" "quarkus_systemd_notify" {
for_each = { for tm in ["Eng-Fouad"] : tm => tm }
team_id = github_team.quarkus_systemd_notify.id
username = each.value
role = "maintainer"
}

0 comments on commit b68bf5b

Please sign in to comment.