| :py:mod:`airflow.providers.google.cloud.example_dags.example_cloud_build` |
| ========================================================================= |
| |
| .. py:module:: airflow.providers.google.cloud.example_dags.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: |
| |
| * GCP_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:: START_DATE |
| |
| |
| |
| |
| .. py:data:: GCP_PROJECT_ID |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_ARCHIVE_URL |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_REPOSITORY_NAME |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_ARCHIVE_URL_PARTS |
| |
| |
| |
| |
| .. py:data:: GCP_SOURCE_BUCKET_NAME |
| |
| |
| |
| |
| .. py:data:: CURRENT_FOLDER |
| |
| |
| |
| |
| .. py:data:: create_build_trigger_body |
| |
| |
| |
| |
| .. py:data:: update_build_trigger_body |
| |
| |
| |
| |
| .. py:data:: create_build_from_storage_body |
| |
| |
| |
| |
| .. py:data:: create_build_from_repo_body |
| :annotation: :Dict[str, Any] |
| |
| |
| |
| .. py:data:: create_build_from_storage |
| |
| |
| |
| |
| .. py:data:: create_build_trigger |
| |
| |
| |
| |