tests.system.providers.google.cloud.cloud_build.example_cloud_build
¶
Example Airflow DAG that displays interactions with Google Cloud Build.
This DAG relies on the following OS environment variables:
PROJECT_ID - Google Cloud Project to use for the Cloud Function.
- GCP_CLOUD_BUILD_ARCHIVE_URL - Path to the zipped source in Google Cloud Storage.
This object must be a gzipped archive file (.tar.gz) containing source to build.
GCP_CLOUD_BUILD_REPOSITORY_NAME - Name of the Cloud Source Repository.
Module Contents¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build.DAG_ID = example_gcp_cloud_build[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build.GCP_SOURCE_REPOSITORY_NAME = test-cloud-build-repo[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build.GCP_SOURCE_ARCHIVE_URL_PARTS[source]¶
- tests.system.providers.google.cloud.cloud_build.example_cloud_build.create_build_from_storage_body[source]¶