GithubHelp home page GithubHelp logo

smeeklai / click-to-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/click-to-deploy

0.0 2.0 0.0 1.7 MB

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

License: Apache License 2.0

Makefile 29.50% Python 4.31% Dockerfile 6.15% Shell 59.88% HTML 0.16%

click-to-deploy's Introduction

About

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

Disclaimer

This is not an officially supported Google product.

Git submodules

This repository uses git submodule. Please run following commands to receive newest version of used modules.

Updating git submodules

You can use make to make sure submodules are populated with proper code.

make submodule/init # or make submodule/init-force

Alternatively, you can invoke these commands directly in shell, without make.

git submodule init
git submodule sync --recursive
git submodule update --recursive --init

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>
export GIT_COMMIT_SHA=<>

gcloud builds submit . \
  --config cloudbuild.yaml \
  --substitutions _CLUSTER_NAME=$GKE_CLUSTER_NAME,_CLUSTER_LOCATION=$GKE_CLUSTER_LOCATION,COMMIT_SHA=$GIT_COMMIT_SHA \
  --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. To re-generate the file, run the following command:

./cloudbuild-k8s-generator.py

As a result, new content will be saved in the cloudbuild.yaml file.

click-to-deploy's People

Contributors

barney-s avatar deustis avatar elharo avatar huyhg avatar jprzychodzen avatar jvolkman avatar kawych avatar khajduczenia avatar liyinan926 avatar nimishc avatar rafalbiegacz avatar serathius avatar tomasz-safuryn avatar trironkk avatar vcanaa avatar wgrzelak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.