Fixes #24 and prepares for 0.2.4 release.

This commit is contained in:
Jeff Geerling
2020-02-20 13:05:16 -06:00
parent 27b8ba968e
commit d636e2b69f
4 changed files with 14 additions and 6 deletions

View File

@@ -121,11 +121,11 @@ Each of these must be appropriately built in preparation for a new tag:
Run the following command inside this directory:
operator-sdk build geerlingguy/tower-operator:0.2.3
operator-sdk build geerlingguy/tower-operator:0.2.4
Then push the generated image to Docker Hub:
docker push geerlingguy/tower-operator:0.2.3
docker push geerlingguy/tower-operator:0.2.4
#### Build a new version of the `tower-operator.yaml` file

View File

@@ -33,6 +33,10 @@
- "../deploy/service_account.yaml"
- "../deploy/operator.yaml"
- name: Remove space at beginning of tower-operator.yml
shell: >
echo "$(tail -n +2 {{ operator_file_path }})" > {{ operator_file_path }}
- name: Template the tower-operator.yaml file into tower-operator.yml
template:
src: "{{ operator_file_path }}"

View File

@@ -122,9 +122,11 @@
definition: "{{ lookup('template', '/'.join([deploy_dir, 'operator.yaml'])) | from_yaml }}"
register: log
- debug: var=log.stdout_lines
- name: print debug output
debug: var=log.stdout_lines
- fail:
- name: fail if converge didn't succeed
fail:
msg: "Failed on action: converge"
- import_playbook: '{{ playbook_dir }}/../default/asserts.yml'

View File

@@ -128,9 +128,11 @@
definition: "{{ lookup('template', '/'.join([deploy_dir, 'operator.yaml'])) | from_yaml }}"
register: log
- debug: var=log.stdout_lines
- name: print debug output
debug: var=log.stdout_lines
- fail:
- name: fail if converge didn't succeed
fail:
msg: "Failed on action: converge"
- import_playbook: '{{ playbook_dir }}/../default/asserts.yml'