-
Notifications
You must be signed in to change notification settings - Fork 268
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
Conversation
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applicaiton/application
compmare/compare
There was a problem hiding this 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
blue-green-spring/README.md
Outdated
|
||
### 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 |
There was a problem hiding this comment.
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
blue-green-spring/README.md
Outdated
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) |
There was a problem hiding this comment.
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?
@sabre1041 Added a requirements.yml pointing to the new repo for openshift-applier and updated the README |
LGTM. Thanks for the updates and the contribution |
Fix typos, formatting, and links to openshift-applier