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

Ansible playbook #356

Merged
merged 4 commits into from
May 29, 2018
Merged

Ansible playbook #356

merged 4 commits into from
May 29, 2018

Conversation

ecordell
Copy link
Member

@ecordell ecordell commented May 22, 2018

  • Ansible playbook generated from existing deploy artifacts
  • Vendored (submodule) openshift-ansible libs so that the playbook can be run on its own (for testing). If this doesn't seem valuable we can remove the libs.
  • There is a corresponding PR in openshift-ansible, we can sync releases from this repo to that one

@ecordell ecordell added the internal/tracked This issue is tracked in the internal JIRA label May 22, 2018
@ecordell ecordell force-pushed the ansible branch 2 times, most recently from 158b2ea to 2b3147f Compare May 23, 2018 18:06
@ecordell ecordell closed this May 23, 2018
@ecordell ecordell reopened this May 23, 2018
@ecordell ecordell requested a review from alecmerdler May 24, 2018 19:48
@ecordell ecordell changed the title WIP Ansible playbook Ansible playbook May 24, 2018
Copy link
Member

@alecmerdler alecmerdler left a comment

Choose a reason for hiding this comment

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

make ver=0.5.0 release fails.

Makefile Outdated
# copy manifest files into release
./scripts/package-release.sh $(ver) deploy/aos-olm/$(ver)/files deploy/aos-olm/values.yaml
# generate install/remove tasks based on manifest files
./scripts/k8s_yaml_to_ansible_install.sh deploy/aos-olm/$(ver)/files deploy/aos-olm/$(ver)/tasks/install.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Missing /role/ in the path, I think

# generate install/remove tasks based on manifest files
./scripts/k8s_yaml_to_ansible_install.sh deploy/aos-olm/0.5.0/files deploy/aos-olm/0.5.0/tasks/install.yaml
./scripts/k8s_yaml_to_ansible_install.sh: line 18: deploy/aos-olm/0.5.0/tasks/install.yaml: No such file or directory
make: *** [Makefile:178: ansible-release] Error 1

ecordell added 3 commits May 29, 2018 15:17
for eventual inclusion into openshift. didn't add to our CI now since
we know we won't need this just yet
@ecordell ecordell force-pushed the ansible branch 2 times, most recently from 19c5418 to 142a612 Compare May 29, 2018 19:24
Copy link
Member

@alecmerdler alecmerdler left a comment

Choose a reason for hiding this comment

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

Success!

@ecordell ecordell merged commit 28acc48 into operator-framework:master May 29, 2018
@ecordell ecordell deleted the ansible branch May 29, 2018 19:43
njhale pushed a commit to njhale/operator-lifecycle-manager that referenced this pull request Sep 10, 2018
ecordell added a commit to ecordell/operator-lifecycle-manager that referenced this pull request Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal/tracked This issue is tracked in the internal JIRA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants