diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9e45273..2f54d31 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -49,9 +49,10 @@ terraform-scripts/quarkus-jackson-jq.tf @quarkiverse/qua 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 -terraform-scripts/quarkus-jdbc-sqlite.tf @quarkiverse/quarkiverse-jdbc-sqlite terraform-scripts/quarkus-jdbc-clickhouse.tf @quarkiverse/quarkiverse-jdbc-clickhouse +terraform-scripts/quarkus-jdbc-singlestore.tf @quarkiverse/quarkiverse-jdbc-singlestore +terraform-scripts/quarkus-jdbc-sqlite.tf @quarkiverse/quarkiverse-jdbc-sqlite +terraform-scripts/quarkus-jdbi.tf @quarkiverse/quarkiverse-jdbi terraform-scripts/quarkus-jdiameter.tf @quarkiverse/quarkiverse-jdiameter terraform-scripts/quarkus-jef.tf @quarkiverse/quarkiverse-jef terraform-scripts/quarkus-jgit.tf @quarkiverse/quarkiverse-jgit diff --git a/terraform-scripts/quarkus-jdbc-singlestore.tf b/terraform-scripts/quarkus-jdbc-singlestore.tf new file mode 100644 index 0000000..0d39e64 --- /dev/null +++ b/terraform-scripts/quarkus-jdbc-singlestore.tf @@ -0,0 +1,36 @@ +# Create repository +resource "github_repository" "quarkus_jdbc_singlestore" { + name = "quarkus-jdbc-singlestore" + description = "SingleStore is a distributed SQL database built from the ground up for maximum performance for transactions and analytics" + homepage_url = "https://www.singlestore.com/" + archive_on_destroy = true + allow_update_branch = true + delete_branch_on_merge = true + has_issues = true + vulnerability_alerts = true + topics = ["jdbc", "singlestore", "quarkus-extension"] +} + +# Create team +resource "github_team" "quarkus_jdbc_singlestore" { + name = "quarkiverse-jdbc-singlestore" + description = "jdbc-singlestore 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_jdbc_singlestore" { + team_id = github_team.quarkus_jdbc_singlestore.id + repository = github_repository.quarkus_jdbc_singlestore.name + permission = "maintain" +} + +# Add users to the team +resource "github_team_membership" "quarkus_jdbc_singlestore" { + for_each = { for tm in ["Hemantkumar-Chigadani"] : tm => tm } + team_id = github_team.quarkus_jdbc_singlestore.id + username = each.value + role = "maintainer" +}