Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blue-green-spring updates #22

Merged
merged 4 commits into from
Mar 19, 2018
Merged

Conversation

bparry02
Copy link
Contributor

Fix typos, formatting, and links to openshift-applier

@@ -1,6 +1,6 @@
# A Sample OpenShift Pipeline for Blue Green deployments

This example demonstrates how to implement a full end-to-end Jenkins Pipeline for a Java application in a Blue/Green deployment in the OpenShift Container Platform. The pipleine will create two instances of the applicaiton in the Production namespace. There will be three routes in the namespace; a blue, green and blue-green route. The blue-green route will switch to the latest deployment when the pipeline completes. This allows for tesing of the new deployment prior to switching live traffic. Also, the previous deployment can be used to compmare the previous deployment.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applicaiton/application
compmare/compare

Copy link
Contributor

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bparry02 thanks for the contribution and corrections. I made one suggestion on leveraging Ansible Galaxy as is being used in other pipelines


### Installation
Run the following commands to instantiate this example.
```
ansible-playbook -i inventory/hosts ../casl-ansible/playbooks/openshift-cluster-seed.yml --connection=local
ansible-playbook -i inventory/hosts ../../openshift-applier/playbooks/openshift-cluster-seed.yml --connection=local
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a requirements.yml file is being used, this will need to be updated

1. [OpenShift Applier](https://github.com/redhat-cop/casl-ansible)
`git clone git@github.com:redhat-cop/casl-ansible.git`
`git checkout v3.6.1`
1. [OpenShift Applier](https://github.com/redhat-cop/openshift-applier)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to update this section to align with providing a requirements.yml file instead as seen here?

@bparry02
Copy link
Contributor Author

@sabre1041 Added a requirements.yml pointing to the new repo for openshift-applier and updated the README

@sabre1041
Copy link
Contributor

LGTM. Thanks for the updates and the contribution

@sabre1041 sabre1041 merged commit 5633d41 into redhat-cop:master Mar 19, 2018
@bparry02 bparry02 deleted the blue-green-updates branch March 19, 2018 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants