Giter VIP home page Giter VIP logo

concourse-project's Introduction

Concoure Project for Bootcamp Training

In this project you will learn how to setup a pipeline in order to deploy an app to Cloud Foundry in Phase I. In Phase II you will learn how to scale the app you deployed, again using Concourse.

Since we are in the process of changing the way we do our intermal pipelines and the VPN is just recently set up successfully, we did not design a concourse project which uses bosh deployments. That said, I believe this exercise will help you master concourse pipelines faster when you go to work on more complicated pipelines.

Before we start

  1. Go to https://github.com/starkandwayne/deployments#vpn-installation-mac and update the VPN client configuration on your laptop. Delete your old credentials which you used for the cf training portion, if you saved them in your keychain. When you try to connect to the VPN the next time, it will ask you for the user name and password, use the new one we just created. You should be able to access to the VPN now.

  2. Go to https://github.com/xiujiao/cf-env and fork the repository to your own github account.

  3. Run the fly command to target the concourse at https://185.99.186.164 or https://ci.vsphere.starkandwayne.com.

You can see useful info about how to use the fly command at https://concourse.ci/fly-cli.html.

Tips: (1) Use an alias "{{your_target_alias}}" for your concourse target;

(2) Remember to use sync so that you are always using the correct version of the Fly CLI;

(3) If fly fails to get the URL due to certificates, use the -k flag so that it ignores the certificate checking.

(4) Run fly -t {{your_target_alias}} pipelines, you should see some existing pipelines in the output.

At the time that XJ ran this command, the output was as follows, you should be able to see similar output:

name                                     paused
aws-s3-cf-service-broker-pivotaltile     no
logstash-docker-images                   no
slack-notification-resource-boshrelease  no

After you finish the project

Please clean up the pipeline you set up by running:

fly -t {{your_target_alias}} destroy-pipeline -p {{your_pipeline_name}} and cf delete {{your_app_name}}.

Hooray!

concourse-project's People

Contributors

mkb avatar wayneeseguin avatar xiujiao 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.