| :py:mod:`tests.system.providers.google.cloud.cloud_build.example_cloud_build` |
| ============================================================================= |
| |
| .. py:module:: tests.system.providers.google.cloud.cloud_build.example_cloud_build |
| |
| .. autoapi-nested-parse:: |
| |
| 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 |
| --------------- |
| |
| .. py:data:: ENV_ID |
| |
| |
| |
| |
| .. py:data:: PROJECT_ID |
| |
| |
| |
| |
| .. py:data:: DAG_ID |
| :annotation: = example_gcp_cloud_build |
| |
| |
| |
| .. py:data:: BUCKET_NAME_SRC |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_ARCHIVE_URL |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_REPOSITORY_NAME |
| :annotation: = test-cloud-build-repo |
| |
| |
| |
| .. py:data:: GCP_SOURCE_ARCHIVE_URL_PARTS |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_BUCKET_NAME |
| |
| |
| |
| |
| .. py:data:: CURRENT_FOLDER |
| |
| |
| |
| |
| .. py:data:: FILE_LOCAL_PATH |
| |
| |
| |
| |
| .. py:data:: create_build_from_storage_body |
| |
| |
| |
| |
| .. py:data:: create_build_from_repo_body |
| :annotation: :dict[str, Any] |
| |
| |
| |
| .. py:data:: create_bucket_src |
| |
| |
| |
| |
| .. py:data:: test_run |
| |
| |
| |
| |