As a Developer
I need to automate continuous deployment to IBM cloud dev and prod instances
So that I don't have to deploy code manually
Details and Assumptions
We will use the IBM Continuous Delivery Services in IBM Cloud to setup a DevOps pipeline
We will connect the DevOps pipeline to our GitHub repository via a webhook
DevOps Pipeline will have 4 stages (Build, Deploy, Test, Production)
Build: add a Unit Test Job to run the units tests with nosetests
Dev: build the Docker container and deploy to your dev namespace if the unit tests pass
Test: run the integration tests with behave against the Dev deployment
Production : deploy to the prod namespace if all of the integration tests pass.
A push to master branch triggers the pipeline above
Acceptance Criteria
Given some changes (commits) in master branch
When I push commits to master branch
Then the wishlist service should be automatically deployed to IBM K8S
As a Developer I need to automate continuous deployment to IBM cloud dev and prod instances So that I don't have to deploy code manually
Details and Assumptions
dev
namespace if the unit tests passbehave
against the Dev deploymentprod
namespace if all of the integration tests pass.A push to
master
branch triggers the pipeline aboveAcceptance Criteria