Skip to content

Commit

Permalink
Introduce quarkus-jdbc-singlestore (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored Oct 19, 2024
1 parent 5d4862e commit 8cf56d3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
36 changes: 36 additions & 0 deletions terraform-scripts/quarkus-jdbc-singlestore.tf
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 8cf56d3

Please sign in to comment.