GithubHelp home page GithubHelp logo

isabella232 / spinnaker-deploymentmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/spinnaker-deploymentmanager

0.0 0.0 0.0 193 KB

License: Apache License 2.0

HTML 51.77% Shell 48.23%

spinnaker-deploymentmanager's Introduction

Deployment Manager Templates for Spinnaker

This repository contains Deployment Manager template for deploying Spinnaker. By default, this will deploy the following topology:

Spinnaker will store its state in Google Cloud Storage and Redis. Jenkins is used to run scripts required during the build process or in order to trigger a pipeline.

Deploying

  1. Download the repository.

  2. Create the deployment:

     export GOOGLE_PROJECT=$(gcloud config get-value project)
     export DEPLOYMENT_NAME="${USER}-test1"
     export JENKINS_PASSWORD=$(openssl rand -base64 15)
     gcloud deployment-manager deployments create --template config.jinja ${DEPLOYMENT_NAME} --properties jenkinsPassword:${JENKINS_PASSWORD}
    
  3. Once instance provisioning is complete get the name of your Spinnaker and Jenkins instances by running:

     export SPINNAKER_VM=$(gcloud compute instances list --filter="name~'${DEPLOYMENT_NAME}-spinnaker.+'" --uri)
     export JENKINS_VM=$(gcloud compute instances list --filter="name~'${DEPLOYMENT_NAME}-jenkins.+'" --uri)
    
  4. Creating an SSH tunnel to your Spinnaker instance as follows:

     gcloud compute ssh ${SPINNAKER_VM} -- -L 8081:localhost:8081 -L8080:$(basename $JENKINS_VM):8080
    
  5. After a few minutes, you can access the Spinnaker and Jenkins UIs respectively by visiting the following web address:

     http://localhost:8081
     http://localhost:8080
    

Teardown

  1. Stop the front50 service then delete the GCS objects and bucket:

    gcloud compute ssh ${SPINNAKER_VM} -- sudo service front50 stop
    gsutil rm -r gs://spinnaker-${GOOGLE_PROJECT}-${DEPLOYMENT_NAME}/front50
    gsutil rb gs://spinnaker-${GOOGLE_PROJECT}-${DEPLOYMENT_NAME}
    
  2. Delete the deployment by running:

    gcloud deployment-manager deployments delete ${DEPLOYMENT_NAME}
    

spinnaker-deploymentmanager's People

Contributors

danisla avatar pawelz avatar cilindrox avatar taylorludwig avatar ytakky2014 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.