Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

orkestro17/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.yaml.

Manually run the build

Cloud Build can be triggered manually by running 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>

gcloud builds submit . \
  --config cloudbuild.yaml \
  --substitutions _CLUSTER_NAME=$GKE_CLUSTER_NAME,_CLUSTER_LOCATION=$GKE_CLUSTER_LOCATION \
  --project $GCP_PROJECT_TO_RUN_CLOUD_BUILD \
  --verbosity info

Cloud Build configuration generator

To make the cloudbuild.yaml configuration easier to maintain, a generator for its contents was created.

  1. The generator uses Jinja2 templates, install it using pip install jinja2 command.

  2. To regenerate the file, run the following command:

    ./cloudbuild-k8s-generator.py
  3. As a result, new content will be saved in the cloudbuild.yaml file.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 58.1%
  • Makefile 27.6%
  • Dockerfile 10.9%
  • Python 3.3%
  • HTML 0.1%