Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce quarkus-snappy #195

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ terraform-scripts/quarkus-scala3.tf @quarkiverse/quark
terraform-scripts/quarkus-semantic-kernel.tf @quarkiverse/quarkiverse-semantic-kernel
terraform-scripts/quarkus-shardingsphere-jdbc.tf @quarkiverse/quarkiverse-shardingsphere-jdbc
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-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-snappy.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Create repository
resource "github_repository" "quarkus_snappy" {
name = "quarkus-snappy"
description = "Snappy compressor in native environment"
homepage_url = "https://github.com/google/snappy"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension", "snappy-native", "compression"]
}

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

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