Giter Site home page Giter Site logo

cloud-foundry / cf-mysql-ci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orange-cloudfoundry/cf-mysql-ci

0.0 1.0 0.0 967 KB

Contains Concourse CI scripts and configuration we use to test cf-mysql-release

Shell 90.19% Dockerfile 5.94% SQLPL 0.72% Ruby 3.15%

cf-mysql-ci's Introduction

cf-mysql-ci

Contains Concourse CI scripts and configuration we use to test cf-mysql-release

Configure a pipeline

 $ ./ci/configure-pipeline

Select the number of the pipeline you wish to set.

This script uses the reconfigure-pipeline tool from https://github.com/pivotal-cf/reconfigure-pipeline which automatically pulls creds from lastpass by name (but not folder).

Credentials

The pipeline config files are parametrized to allow private credentials to be stored outside this repo. The configure-pipeline script will pull creds from lastpass, based on the access of whoever is logged into lpass.

Environment Config Files

The cf-mysql and cf-mysql-acceptance pipelines are also parametrized to allow CI to deploy to different environments. The cf-mysql pipeline deploys to initial_env at the start of the pipeline, and integration_env at the end. The cf-mysql-acceptance pipeline performs a single deploy to acceptance_env. There are a collection of variables in the pipeline configs (e.g. {{initial_env_bosh_url}}) to allow these environments to be specified by the user. These config variables can be defined in the above credentials file, or by adding --vars-from YOUR_ENVS.yml to the above command.

In addition to the Concourse parameters, our scripts expect the following files to exist for each environment:

${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-aws-stub.yml
${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-networks-stub.yml
${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-shared-secrets.yml
${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-mysql-plans-stub.yml
${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-properties.yml
${DEPLOYMENTS_CONFIG_DIR}/${ENV_NAME}/cf-mysql-secrets.yml

cf-mysql-ci's People

Contributors

jpalermo avatar robdimsdale avatar ndhanushkodi avatar utricularian avatar zankich avatar ljfranklin avatar aaronshurley avatar mfine30 avatar acrmp avatar njbennett avatar apshirley avatar fkotsian avatar pcf-core-services-writer avatar abg avatar bencalegari avatar christarazi avatar swatisoni avatar staylor14 avatar andrewgilbert12 avatar johannasmith avatar kaixiang avatar

Watchers

James Cloos 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.