Coder Social home page Coder Social logo

jnavarro86 / click-to-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/click-to-deploy

0.0 0.0 0.0 3.21 MB

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

License: Apache License 2.0

Makefile 7.55% Dockerfile 3.96% Shell 31.41% HTML 3.36% Python 1.95% Ruby 51.77%

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.

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.

click-to-deploy's People

Contributors

wgrzelak avatar khajduczenia avatar rafalbiegacz avatar huyhg avatar harnas-google avatar jprzychodzen avatar serathius avatar trironkk avatar deustis avatar axtnsx avatar kadharniminen avatar tomasz-safuryn avatar vcanaa avatar nimishc avatar ovk6 avatar deci-ftw avatar liyinan926 avatar whereisaaron avatar avloss avatar bbf avatar devlware avatar elharo avatar jvolkman avatar kawych avatar barney-s 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.