Skip to content

Commit

Permalink
Introduce quarkus-jaeger
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 20, 2023
1 parent fb89b72 commit 276d355
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 @@ -33,6 +33,7 @@ terraform-scripts/quarkus-hibernate-types.tf @quarkiverse/quark
terraform-scripts/quarkus-hivemq-client.tf @quarkiverse/quarkiverse-hivemq-client
terraform-scripts/quarkus-itext.tf @quarkiverse/quarkiverse-itext
terraform-scripts/quarkus-jackson-jq.tf @quarkiverse/quarkiverse-jackson-jq
terraform-scripts/quarkus-jaeger.tf @quarkiverse/quarkiverse-jaeger
terraform-scripts/quarkus-jasperreports.tf @quarkiverse/quarkiverse-jasperreports
terraform-scripts/quarkus-jberet.tf @quarkiverse/quarkiverse-jberet
terraform-scripts/quarkus-jdbi.tf @quarkiverse/quarkiverse-jdbi
Expand Down
36 changes: 36 additions & 0 deletions terraform-scripts/quarkus-jaeger.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Create repository
resource "github_repository" "quarkus_jaeger" {
name = "quarkus-jaeger"
description = "An open source software for tracing transactions between distributed services"
homepage_url = "https://www.jaegertracing.io/"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension", "tracing", "jaeger"]
}

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

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

0 comments on commit 276d355

Please sign in to comment.