Skip to content

Commit

Permalink
chore: update examples to use registry (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb authored Dec 21, 2023
1 parent 914a03b commit 28a7e9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Then perform the following commands on the root folder:
| root\_password\_instructions | Instructions for getting the root user's password for initial setup |
| token | Token for the GKE cluster that GitLab is deployed in. |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

## Requirements

Expand Down
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: 7200s
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
2 changes: 1 addition & 1 deletion examples/simple_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This example illustrates how to use the `gke-gitlab` module.
| gitlab\_url | n/a |
| root\_password\_instructions | n/a |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

To provision this example, run the following from within this directory:
- `terraform init` to get the plugins
Expand Down
4 changes: 3 additions & 1 deletion examples/simple_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

module "gke-gitlab" {
source = "../../"
source = "terraform-google-modules/gke-gitlab/google"
version = "~> 3.0"

project_id = var.project_id
certmanager_email = "no-reply@${var.project_id}.example.com"
gitlab_deletion_protection = false
Expand Down

0 comments on commit 28a7e9e

Please sign in to comment.