Skip to content

Commit

Permalink
Revert "Introduce Quay integration (#290)"
Browse files Browse the repository at this point in the history
This reverts commit a832353.
  • Loading branch information
gastaldi authored Oct 15, 2024
1 parent a832353 commit 3dc8ea4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 73 deletions.
55 changes: 16 additions & 39 deletions terraform-scripts/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions terraform-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,3 @@ resource "github_app_installation_repository" "quarkus_UNIQUE_NAME" {
repository = github_repository.quarkus_UNIQUE_NAME.name
}
```

## Provisioning Quay.io repositories

To provision Quay.io repositories, add the following snippet to the .tf file:

```terraform
# Create Quay.io repository
resource "quay_repository" "quarkus_UNIQUE_NAME" {
name = "quarkus-DASHED-NAME"
description = "Quarkus UNIQUE_NAME extension"
namespace = data.quay_organization.quarkiverse.name
visibility = "public"
}
```
12 changes: 0 additions & 12 deletions terraform-scripts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ terraform {
source = "integrations/github"
version = "~> 6.0"
}
quay = {
source = "enthought/quay"
version = "~> 0.5.1"
}
}

backend "remote" {
Expand All @@ -23,10 +19,6 @@ terraform {

provider "github" {}

provider "quay" {
url = "https://quay.io"
}

# Retrieve information about the currently (PAT) authenticated user
data "github_user" "self" {
username = ""
Expand All @@ -37,10 +29,6 @@ data "github_team" "quarkiverse_members" {
slug = "quarkiverse-members"
}

data "quay_organization" "quarkiverse" {
name = "quarkiverse"
}

locals {
# Application IDs installed in the Quarkiverse organization
# These applications are enabled on a per-repository basis
Expand Down
8 changes: 0 additions & 8 deletions terraform-scripts/quarkus-playpen.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,3 @@ resource "github_team_membership" "quarkus_playpen" {
username = each.value
role = "maintainer"
}

# Create quay.io repository
resource "quay_repository" "quarkus_playpen" {
name = "quarkus-playpen"
description = "Live local development on a deployed k8s service"
visibility = "public"
namespace = data.quay_organization.quarkiverse.name
}

0 comments on commit 3dc8ea4

Please sign in to comment.