IBM-Cloud / insurance-toolchain

Toolchain configuration files for the insurance-store microservices demo
6 stars 16 forks source link

Allow to deploy only master or only dev #12

Closed l2fprod closed 7 years ago

l2fprod commented 7 years ago

The current toolchain deploys both dev and prod versions of the app. What if I'm only interested in the master stream?

What if I want to deploy master for all modules but dev for the dashboard as I want to do fixes there?

Instead of deploying master+dev in one toolchain, we could have the option to select which branch to deploy for each module, defaulting to master.

l2fprod commented 7 years ago

Goal Less apps to deploy

Changes

Allow to specify the branch name to build image

Default to master. A user can click the "create toolchain" button in the github page and then the "create" button in the DevOps page to get a working system.

Less apps in toolchain image

and the branch name is shown in pipeline name.

l2fprod commented 7 years ago

@uwefassnacht @rvennam

what do you think of this change?

Still allow us to setup a "dev" and a "prod" pipelines for our own use while making the default configuration simpler for most users who just want to deploy their own demo.

You can try it: https://console.ng.bluemix.net/devops/setup/deploy/?repository=https%3A//github.com//IBM-Bluemix/insurance-toolchain.git&branch=deploy-one-branch

uwefassnacht commented 7 years ago

I think this looks good. Let me try it this week and change the script.