tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger
¶
Example Airflow DAG that displays interactions with Google Cloud Build.
Module Contents¶
Functions¶
Helper function to retrieve the number of the project based on PROJECT_ID |
Attributes¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.DAG_ID = 'gcp_cloud_build_trigger'[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.GCP_SOURCE_REPOSITORY_NAME = 'test-cloud-build-repository'[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.PROJECT_NUMBER = "{{ task_instance.xcom_pull('get_project_number') }}"[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.create_build_trigger_body[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.update_build_trigger_body[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.create_build_from_repo_body: dict[str, Any][source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build_trigger.get_project_number()[source]¶
Helper function to retrieve the number of the project based on PROJECT_ID