Skip to content

Commit b8d7008

Browse files
author
ia-tests
committed
deploydags image
1 parent 62df806 commit b8d7008

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ precommit: ## Test if all files are properly formatted
3232

3333
.PHONY: push_ci_image
3434
push_ci_image:
35-
@cd ci && gcloud builds submit --project=datapipelines-ci --tag gcr.io/datapipelines-ci/make .
35+
@cd ci && gcloud builds submit --project=datapipelines-ci-282719 --tag gcr.io/datapipelines-ci-282719/make .
3636

3737
.PHONY: push_deploydags_image
3838
push_deploydags_image:
39-
@cd composer/cloudbuild/go/dagsdeployer && gcloud builds submit --project=datapipelines-ci --tag gcr.io/datapipelines-ci/deploydags .
39+
@cd composer/cloudbuild/go/dagsdeployer && gcloud builds submit --project=datapipelines-ci-282719 --tag gcr.io/datapipelines-ci-282719/deploydags .
4040

ci/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FROM python:buster
55
# install core tools
66
RUN apt-get update && apt-get install -y build-essential
77

8+
RUN curl -sSL https://sdk.cloud.google.com | bash
9+
810
# install shellcheck
911
RUN apt-get install shellcheck
1012

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ steps:
187187
dir: './composer/cloudbuild/go/dagsdeployer'
188188
args: [
189189
'build',
190-
'-t', 'gcr.io/${_ARTIFACTS_PROJECT_ID}/deploydags:latest',
190+
'-t', 'gcr.io/${PROJECT_ID}/deploydags:latest',
191191
'--cache-from', 'gcr.io/${_ARTIFACTS_PROJECT_ID}/deploydags:latest',
192192
'.'
193193
]

terraform/artifacts/backend.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa
22
terraform {
33
backend "gcs" {
4-
prefix = "terraform_state/artifacts/terraform.tfstate"
54
bucket = "datapipelines-terraform-state"
5+
prefix = "terraform_state/artifacts/terraform.tfstate"
66
}
77
}

terraform/datapipelines-infra/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ output "composer-env-name" {
1616
}
1717

1818
output "composer-dags-bucket" {
19-
value = replace(google_composer_environment.orchestration.config[0].dag_gcs_prefix, "dags", "")
19+
value = trimsuffix(google_composer_environment.orchestration.config[0].dag_gcs_prefix, "dags")
2020
description = "The Cloud Composer Environment created by this module"
2121
}
2222

0 commit comments

Comments
 (0)