mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 05:43:11 +00:00
Fixes #24 and prepares for 0.2.4 release.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user