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

Multi cluster promotion #19

Merged
merged 45 commits into from
Feb 28, 2018
Merged

Conversation

etsauer
Copy link
Contributor

@etsauer etsauer commented Feb 19, 2018

Creates an example pipeline that includes cross-cluster promotion.

Completes https://trello.com/c/b5NaGDBV/48-build-a-multi-cluster-pipeline

@redhat-cop/developer-workflow

@etsauer
Copy link
Contributor Author

etsauer commented Feb 22, 2018

@pabrahamsson this is ready to be re-tested and reviewed. @sabre1041 since there are a lot of new Jenkinsfile elements in this one, it would be worth another code review.

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.

Really really good. Only a couple of comments

```
The Ansible automation for your _Dev_ cluster will expect a parameters file to be created at `./applier/params/prod-credentials`. It should look something like this:
```
$ echo "TOKEN=${TOKEN}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to add more context on how to retrieve these values? Such as the registry?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sabre1041 until we have a consistent way to grab the registry URL, i think there's not point.


This quickstart can be deployed quickly using Ansible. Here are the steps.

1. Clone [this repo](https://github.com/redhat-cop/container-pipelines.git) and the [casl-ansible](https://github.com/redhat-cop/casl-ansible.git) repo.
Copy link
Contributor

Choose a reason for hiding this comment

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

To align with the examples in containers-quickstarts, let's throw a requirements.yml that will bring in any required dependencies

@etsauer
Copy link
Contributor Author

etsauer commented Feb 28, 2018

@sabre1041 addressed changes

@sabre1041
Copy link
Contributor

LGTM!

@sabre1041 sabre1041 merged commit 820eb1d into redhat-cop:master Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants