Skip to content

Commit

Permalink
Add tags to sub cloudbuild
Browse files Browse the repository at this point in the history
Signed-off-by: Jiankun Lu <[email protected]>
  • Loading branch information
jkl73 committed Jul 2, 2024
1 parent 6a70865 commit f4641ad
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
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_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_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
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_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

0 comments on commit f4641ad

Please sign in to comment.