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

chore: update examples to use registry #140

Merged
merged 1 commit into from
Dec 19, 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
3 changes: 3 additions & 0 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

timeout: 3600s
steps:
- id: swap-module-refs
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['module-swapper']
- id: prepare
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && prepare_environment && chmod 600 /builder/home/.netrc']
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-org-runner-mig-native-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner_mig" {
source = "../../modules/gh-runner-mig-vm"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-mig-vm"
version = "~> 3.0"

create_network = true
project_id = var.project_id
repo_owner = var.repo_owner
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-gke-dind/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-gke" {
source = "../../modules/gh-runner-gke"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-gke"
version = "~> 3.0"

create_network = true
project_id = var.project_id
repo_name = var.repo_name
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-gke-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-gke" {
source = "../../modules/gh-runner-gke"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-gke"
version = "~> 3.0"

create_network = true
project_id = var.project_id
repo_name = var.repo_name
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-mig-container-vm-dind/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-mig-dind" {
source = "../../modules/gh-runner-mig-container-vm"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-mig-container-vm"
version = "~> 3.0"

create_network = true
project_id = var.project_id
image = var.image
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-mig-container-vm-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-mig" {
source = "../../modules/gh-runner-mig-container-vm"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-mig-container-vm"
version = "~> 3.0"

create_network = true
project_id = var.project_id
image = var.image
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-mig-native-packer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-mig" {
source = "../../modules/gh-runner-mig-vm"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-mig-vm"
version = "~> 3.0"

create_network = true
project_id = var.project_id
repo_name = var.repo_name
Expand Down
4 changes: 3 additions & 1 deletion examples/gh-runner-mig-native-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "runner-mig" {
source = "../../modules/gh-runner-mig-vm"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-runner-mig-vm"
version = "~> 3.0"

create_network = true
project_id = var.project_id
repo_name = var.repo_name
Expand Down
4 changes: 3 additions & 1 deletion examples/oidc-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ resource "google_project_iam_member" "project" {
}

module "oidc" {
source = "../../modules/gh-oidc"
source = "terraform-google-modules/github-actions-runners/google//modules/gh-oidc"
version = "~> 3.0"

project_id = var.project_id
pool_id = "example-pool"
provider_id = "example-gh-provider"
Expand Down
Loading