This is an automated email from the ASF dual-hosted git repository.

uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 7adf8a53ec Fix Cloud Build trigger name and teardown method (#28060)
7adf8a53ec is described below

commit 7adf8a53ec8bd08a9c14418bf176574e149780c5
Author: BartÅ‚omiej Hirsz <[email protected]>
AuthorDate: Tue Dec 6 11:27:03 2022 +0100

    Fix Cloud Build trigger name and teardown method (#28060)
    
    Co-authored-by: Bartlomiej Hirsz <[email protected]>
---
 .../providers/google/cloud/cloud_build/example_cloud_build_trigger.py   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/tests/system/providers/google/cloud/cloud_build/example_cloud_build_trigger.py
 
b/tests/system/providers/google/cloud/cloud_build/example_cloud_build_trigger.py
index 5b909dd966..6ce77af43c 100644
--- 
a/tests/system/providers/google/cloud/cloud_build/example_cloud_build_trigger.py
+++ 
b/tests/system/providers/google/cloud/cloud_build/example_cloud_build_trigger.py
@@ -47,6 +47,8 @@ DAG_ID = "example_gcp_cloud_build_trigger"
 
 GCP_SOURCE_REPOSITORY_NAME = "test-cloud-build-repo"
 
+TRIGGER_NAME = f"cloud-build-trigger-{ENV_ID}"
+
 # [START howto_operator_gcp_create_build_trigger_body]
 create_build_trigger_body = {
     "name": TRIGGER_NAME,

Reply via email to