Skip to content

Commit 28a7e9e

Browse files
authored
chore: update examples to use registry (#141)
1 parent 914a03b commit 28a7e9e

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Then perform the following commands on the root folder:
6868
| root\_password\_instructions | Instructions for getting the root user's password for initial setup |
6969
| token | Token for the GKE cluster that GitLab is deployed in. |
7070

71-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
71+
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7272

7373
## Requirements
7474

build/int.cloudbuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
timeout: 7200s
1616
steps:
17+
- id: swap-module-refs
18+
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
19+
args: ['module-swapper']
1720
- id: prepare
1821
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
1922
args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && prepare_environment && chmod 600 /builder/home/.netrc']

examples/simple_example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This example illustrates how to use the `gke-gitlab` module.
1616
| gitlab\_url | n/a |
1717
| root\_password\_instructions | n/a |
1818

19-
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
19+
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
2020

2121
To provision this example, run the following from within this directory:
2222
- `terraform init` to get the plugins

examples/simple_example/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
*/
1616

1717
module "gke-gitlab" {
18-
source = "../../"
18+
source = "terraform-google-modules/gke-gitlab/google"
19+
version = "~> 3.0"
20+
1921
project_id = var.project_id
2022
certmanager_email = "no-reply@${var.project_id}.example.com"
2123
gitlab_deletion_protection = false

0 commit comments

Comments
 (0)