Source for Google Click to Deploy solutions listed on Google Cloud Marketplace.
This is not an officially supported Google product.
This repository uses Cloud Build for continuous integration. The Cloud Build
configuration file is located at cloudbuild-k8s.yaml
for Kubernetes applications and cloudbuild-vm.yaml for
VM applications.
Cloud Build can be triggered manually. Run the following command from the root directory of this repository:
export GCP_PROJECT_TO_RUN_CLOUD_BUILD=<>
export GKE_CLUSTER_NAME=<>
export GKE_CLUSTER_LOCATION=<e.g. us-central1>
export SOLUTION_NAME=<e.g. wordpress>
gcloud builds submit . \
  --config cloudbuild-k8s.yaml \
  --substitutions _CLUSTER_NAME=$GKE_CLUSTER_NAME,_CLUSTER_LOCATION=$GKE_CLUSTER_LOCATION,_SOLUTION_NAME=$SOLUTION_NAME \
  --project $GCP_PROJECT_TO_RUN_CLOUD_BUILD \
  --verbosity info- Build click-to-deployDocker image. The image contains the necessary tools required by the CI pipeline.
- Generate Cloud Build configuration for an application defined in
$_SOLUTION_NAMEvariable. The configuration contains all required steps to test the application.
- Run additional Cloud Build instance using the generated configuration.