Skip to content

Source for Google Click to Deploy solutions listed on Google Cloud Marketplace.

License

Notifications You must be signed in to change notification settings

functicons/click-to-deploy

 
 

Repository files navigation

About

Source for Google Click to Deploy solutions listed on Google Cloud Marketplace.

Disclaimer

This is not an officially supported Google product.

Cloud Build CI

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.

Manually run the build for K8s 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 steps

  1. Build click-to-deploy Docker image. The image contains the necessary tools required by the CI pipeline.
  2. Generate Cloud Build configuration for an application defined in $_SOLUTION_NAME variable. The configuration contains all required steps to test the application.
  3. Run additional Cloud Build instance using the generated configuration.

About

Source for Google Click to Deploy solutions listed on Google Cloud Marketplace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 51.7%
  • Shell 31.4%
  • Makefile 7.5%
  • Dockerfile 4.0%
  • HTML 3.4%
  • Python 2.0%