Skip to content

Commit

Permalink
Enable sync2jira for quarkus-hibernate-search-extras and quarkus-lucene
Browse files Browse the repository at this point in the history
This enables a webhook to send events from these repositories
to Fedora Messaging,
which is used by a separately configured Sync2Jira instance
to replicate GitHub issues to issues.redhat.com.

The point is to allow Red Hat engineers to use this internally
to prioritize their work.

Only public information is shared.

See:

https://github.com/release-engineering/Sync2Jira/
https://github.com/fedora-infra/webhook-to-fedora-messaging/
https://issues.redhat.com/projects/GHQKIVERSE
  • Loading branch information
yrodiere committed Feb 7, 2025
1 parent 18aa07a commit 672a547
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions terraform-scripts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,17 @@ locals {
lgtm = "24341616"
# Renovate - https://github.com/marketplace/renovate
renovate = "34650047"
# This enables a webhook to send events from these repositories
# to Fedora Messaging,
# which is used by a separately configured Sync2Jira instance
# to replicate GitHub issues to issues.redhat.com.
# The point is to allow Red Hat engineers to use this internally
# to prioritize their work.
# Only public information is shared.
# See:
# https://github.com/release-engineering/Sync2Jira/
# https://github.com/fedora-infra/webhook-to-fedora-messaging/
# https://issues.redhat.com/projects/GHQKIVERSE
sync2jira_redhat = "1137195"
}
}
2 changes: 1 addition & 1 deletion terraform-scripts/quarkus-hibernate-search-extras.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "github_repository_collaborator" "quarkus_hibernate_search_extras" {

# Enable apps in repository
resource "github_app_installation_repository" "quarkus_hibernate_search_extras" {
for_each = { for app in [local.applications.lgtm] : app => app }
for_each = { for app in [local.applications.lgtm, local.applications.sync2jira_redhat] : app => app }
# The installation id of the app (in the organization).
installation_id = each.value
repository = github_repository.quarkus_hibernate_search_extras.name
Expand Down
8 changes: 8 additions & 0 deletions terraform-scripts/quarkus-lucene.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,11 @@ resource "github_team_membership" "quarkus_lucene" {
username = each.value
role = "maintainer"
}

# Enable apps in repository
resource "github_app_installation_repository" "quarkus_lucene" {
for_each = { for app in [local.applications.sync2jira_redhat] : app => app }
# The installation id of the app (in the organization).
installation_id = each.value
repository = github_repository.quarkus_lucene.name
}

0 comments on commit 672a547

Please sign in to comment.