Skip to content

Commit

Permalink
Introduce quarkus-jmx (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored Jun 26, 2024
1 parent 0f654e1 commit e48f037
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ terraform-scripts/quarkus-jef.tf @quarkiverse/qua
terraform-scripts/quarkus-jgit.tf @quarkiverse/quarkiverse-jgit
terraform-scripts/quarkus-jgrapht.tf @quarkiverse/quarkiverse-jgrapht
terraform-scripts/quarkus-jjwt-jackson.tf @quarkiverse/quarkiverse-jjwt-jackson
terraform-scripts/quarkus-jmx.tf @quarkiverse/quarkiverse-jmx
terraform-scripts/quarkus-jnosql.tf @quarkiverse/quarkiverse-jnosql
terraform-scripts/quarkus-jooq.tf @quarkiverse/quarkiverse-jooq
terraform-scripts/quarkus-jpastreamer.tf @quarkiverse/quarkiverse-jpastreamer
Expand Down Expand Up @@ -108,6 +109,7 @@ terraform-scripts/quarkus-reactive-mysql-pool-client @quarkiverse/qua
terraform-scripts/quarkus-reactive-messaging-http.tf @quarkiverse/quarkiverse-reactive-messaging-http
terraform-scripts/quarkus-reactive-messaging-nats-jetstream.tf @quarkiverse/quarkiverse-reactive-messaging-nats-jetstream
terraform-scripts/quarkus-renarde.tf @quarkiverse/quarkiverse-renarde
terraform-scripts/quarkus-roq.tf @quarkiverse/quarkiverse-roq
terraform-scripts/quarkus-rsocket.tf @quarkiverse/quarkiverse-rsocket
terraform-scripts/quarkus-sa-token.tf @quarkiverse/quarkiverse-sa-token
terraform-scripts/quarkus-scala3.tf @quarkiverse/quarkiverse-scala
Expand All @@ -117,7 +119,6 @@ terraform-scripts/quarkus-shedlock.tf @quarkiverse/qua
terraform-scripts/quarkus-smallrye-opentracing.tf @quarkiverse/quarkiverse-smallrye-opentracing
terraform-scripts/quarkus-snappy.tf @quarkiverse/quarkiverse-snappy
terraform-scripts/quarkus-sshd.tf @quarkiverse/quarkiverse-sshd
terraform-scripts/quarkus-roq.tf @quarkiverse/quarkiverse-roq
terraform-scripts/quarkus-systemd-notify.tf @quarkiverse/quarkiverse-systemd-notify
terraform-scripts/quarkus-tekton-client.tf @quarkiverse/quarkiverse-tekton-client
terraform-scripts/quarkus-tika.tf @quarkiverse/quarkiverse-tika
Expand Down
36 changes: 36 additions & 0 deletions terraform-scripts/quarkus-jmx.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Create repository
resource "github_repository" "quarkus_jmx" {
name = "quarkus-jmx"
description = "Provide JMX Management Beans"
homepage_url = "https://docs.quarkiverse.io/quarkus-jmx/dev"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension", "jmx"]
}

# Create team
resource "github_team" "quarkus_jmx" {
name = "quarkiverse-jmx"
description = "jmx 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_jmx" {
team_id = github_team.quarkus_jmx.id
repository = github_repository.quarkus_jmx.name
permission = "maintain"
}

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

0 comments on commit e48f037

Please sign in to comment.