tests.system.providers.google.cloud.cloud_build.example_cloud_build_async

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_async.ENV_ID[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.PROJECT_ID[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.DAG_ID = 'example_gcp_cloud_build_async'[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.BUCKET_NAME_SRC[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.GCP_SOURCE_ARCHIVE_URL[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.GCP_SOURCE_REPOSITORY_NAME = 'test-cloud-build-repo'[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.GCP_SOURCE_ARCHIVE_URL_PARTS[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.GCP_SOURCE_BUCKET_NAME[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.CURRENT_FOLDER[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.FILE_LOCAL_PATH[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.create_build_from_storage_body[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.create_build_from_repo_body: dict[str, Any][source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.create_bucket_src[source]
tests.system.providers.google.cloud.cloud_build.example_cloud_build_async.test_run[source]

Was this entry helpful?