Artifacts In App Engine
Artifacts can be used for the following in the Google App Engine provider:
- They can be used to reference a GCS bucket that contains source code to be deployed on Google App Engine.
- They can be used to reference a docker image stored in Google Container Registry to be deployed on App Engine Flex.
- They can be used to reference config files (such as app.yaml) to be used during deployment to App Engine.
Artifacts referencing source code from GCS
To use an artifact to reference source code that is stored in a GCS bucket, use the “GCS” Source Type when configuring a Server Group.
In the image below, a GCS Artifact has been configured in the Create Server Group modal as the source code to deploy to App Engine:
Artifacts referencing Docker images from GCR
To use an artifact to reference docker images stored in Google Container Registry, set the Server Group’s Source Type to “Container Image” and set the “Resolve URL” field to “via pipeline artifact”.
In the below image, a Docker Artifact has been configured in the Create Server Group modal as the container image URL to use for deployment to App Engine Flex:
Artifacts referencing config files
To use an artifact to reference config files used during deployment to App Engine, click the “Add Config Artifact” button in the Create Server Group modal.
In the below image a GCS Artifact has been added to the Config Files section of the Create Server Group modal: