Skip to content

Commit

Permalink
Introduce quarkus-smallrye-opentracing
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 20, 2023
1 parent 8021172 commit 1cfd1cb
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ terraform-scripts/quarkus-rsocket.tf @quarkiverse/quark
terraform-scripts/quarkus-sa-token.tf @quarkiverse/quarkiverse-sa-token
terraform-scripts/quarkus-scala3.tf @quarkiverse/quarkiverse-scala
terraform-scripts/quarkus-shardingsphere-jdbc.tf @quarkiverse/quarkiverse-shardingsphere-jdbc
terraform-scripts/quarkus-smallrye-opentracing.tf @quarkiverse/quarkiverse-smallrye-opentracing
terraform-scripts/quarkus-sshd.tf @quarkiverse/quarkiverse-sshd
terraform-scripts/quarkus-systemd-notify.tf @quarkiverse/quarkiverse-systemd-notify
terraform-scripts/quarkus-tekton-client.tf @quarkiverse/quarkiverse-tekton-client
Expand Down
36 changes: 36 additions & 0 deletions terraform-scripts/quarkus-smallrye-opentracing.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Create repository
resource "github_repository" "quarkus_smallrye_opentracing" {
name = "quarkus-smallrye-opentracing"
description = "A MicroProfile-OpenTracing implementation"
homepage_url = "https://smallrye.io/"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension", "smallrye", "opentracing"]
}

# Create team
resource "github_team" "quarkus_smallrye_opentracing" {
name = "quarkiverse-smallrye-opentracing"
description = "smallrye-opentracing 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_smallrye_opentracing" {
team_id = github_team.quarkus_smallrye_opentracing.id
repository = github_repository.quarkus_smallrye_opentracing.name
permission = "maintain"
}

# Add users to the team
resource "github_team_membership" "quarkus_smallrye_opentracing" {
for_each = { for tm in ["gsmet", "brunobat"] : tm => tm }
team_id = github_team.quarkus_smallrye_opentracing.id
username = each.value
role = "maintainer"
}

0 comments on commit 1cfd1cb

Please sign in to comment.