-
Notifications
You must be signed in to change notification settings - Fork 267
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
Basic spring applier update #40
Changes from 2 commits
8781e55
17776fc
4be01d4
d5a57cc
c56d127
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
openshift_cluster_content: | ||
- object: projects | ||
content: | ||
- name: "create environments" | ||
file: "{{ inventory_dir }}/../.openshift/projects/projects.yml" | ||
action: create | ||
- object: deployments | ||
content: | ||
- name: "deploy dev environment" | ||
template: "{{ inventory_dir }}/../.openshift/templates/deployment.yml" | ||
params: "{{ inventory_dir }}/../.openshift/params/deployment-dev" | ||
- name: "deply stage environment" | ||
template: "{{ inventory_dir }}/../.openshift/templates/deployment.yml" | ||
params: "{{ inventory_dir }}/../.openshift/params/deployment-stage" | ||
- name: "deply prod environment" | ||
template: "{{ inventory_dir }}/../.openshift/templates/deployment.yml" | ||
params: "{{ inventory_dir }}/../.openshift/params/deployment-prod" | ||
- object: builds | ||
content: | ||
- name: "deploy build pipeline to dev" | ||
template: "{{ inventory_dir }}/../.openshift/templates/build.yml" | ||
params: "{{ inventory_dir }}/../.openshift/params/build-dev" |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This is the Ansible Galaxy requirements file to pull in the correct roles | ||
# to support the operation of CASL provisioning/runs. | ||
|
||
# From 'openshift-applier' | ||
- name: openshift-applier | ||
scm: git | ||
src: https://github.com/redhat-cop/openshift-applier | ||
version: v2.0.2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since v2.0.3 has been out for a couple of weeks, I'd recommend going to that version. Also, if you are targeting remote hosts, I'd recommend waiting on v2.0.4 (or submit a follow-up PR) as it will contain this PR: redhat-cop/openshift-applier#68 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @oybed not planning on targeting remote hosts. updated to 2.0.3 |
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.
@etsauer could be a follow-up PR, but this talks about 3 projects, while in reality it's really 4 projects if you include the
-build
one ... it will deploy to the 3 (dev, stage, prod).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.
@oybed addressed.