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

Add tags to sub cloudbuild tasks #466

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion launcher/image/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ steps:
'-project=${PROJECT_ID}']

timeout: '3000s'

tags: ['${_SHORT_SHA}']
options:
dynamic_substitutions: true
2 changes: 1 addition & 1 deletion launcher/image/test/test_debug_cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-debug-test'
'_ZONE': 'us-central1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest,tee-cmd=["newCmd"],tee-env-ALLOWED_OVERRIDE=overridden'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_debug_unstable_cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-debug-test'
'_ZONE': 'us-central1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_discover_signatures.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'discover-signatures'
'_ZONE': 'us-west1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_experiments_client.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-experiments-test'
'_ZONE': 'asia-east1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_hardened_cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ substitutions:
'_IMAGE_PROJECT': ''
# Add user-data in the metadata to test if it is disabled.
'_METADATA_FILE': 'startup-script=data/echo_startupscript.sh,user-data=data/cloud-init-config.yaml'
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-hardened-test'
'_ZONE': 'us-west1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_hardened_unstable_cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-hardened-test'
'_ZONE': 'asia-south2-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic-test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_http_server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-http-server-test'
'_ZONE': 'asia-east1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/ipc/happypath:latest'
Expand Down
4 changes: 2 additions & 2 deletions launcher/image/test/test_ingress_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_ZONE': 'asia-east1-a'
'_WORKLOAD_IMAGE': 'docker.io/library/nginx:latest'

Expand All @@ -19,7 +19,7 @@ steps:
'-n', 'ingress-network-test-${BUILD_ID}',
'-z', '${_ZONE}',
]

- name: 'gcr.io/cloud-builders/gcloud'
id: CheckReachability
waitFor: ['CreateServerWorkload']
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_launchpolicy_cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ substitutions:
'_IMAGE_PROJECT': ''
# Add user-data in the metadata to test if it is disabled.
'_METADATA_FILE': 'startup-script=data/echo_startupscript.sh,user-data=data/cloud-init-config.yaml'
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-launchpolicy-test'
'_ZONE': 'us-east4-a'
'_WORKLOAD_IMAGE_LOG_NEVER': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/launchpolicylognever:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_log_redirection.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_HARDENED_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'cs-logredirect-test'
'_ZONE': 'us-central1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/basic_test:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_memory_monitoring.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'memory-monitoring'
'_ZONE': 'us-west1-a'
'_WORKLOAD_IMAGE': 'us-west1-docker.pkg.dev/confidential-space-images-dev/cs-integ-test-images/memorymonitoring:latest'
Expand Down
2 changes: 1 addition & 1 deletion launcher/image/test/test_oda_with_signed_container.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
substitutions:
'_IMAGE_NAME': ''
'_IMAGE_PROJECT': ''
'_CLEANUP': 'true'
'_CLEANUP': 'false'
'_VM_NAME_PREFIX': 'oda-signedcontainer'
'_ZONE': 'us-east1-b'
# If the workload image changes, the commit author should change the cosign signature as well to not break tests.
Expand Down
Loading