Skip to content

Commit ce8e96e

Browse files
committed
Merge branch 'origin/master' into alexy_logging
2 parents e6b0e9e + f4b4a79 commit ce8e96e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ci/run_playbooks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- name: Patch the openstackversions to use the master containers for aodh and heat
4040
ansible.builtin.shell:
4141
cmd: |
42-
oc patch openstackversions openstack-galera-network-isolation --type merge --patch-file ci/patch-openstack-versions.yaml
42+
oc patch openstackversions controlplane --type merge --patch-file ci/patch-openstack-versions.yaml
4343
chdir: "{{ fvt_dir }}"
4444
when: "{{ patch_openstackversions | bool }}"
4545
tags:
@@ -81,6 +81,13 @@
8181
content: "{{ output.stdout }}"
8282
dest: "{{ logs_dir }}/ansible_run.log"
8383

84+
85+
- name: Revert the version update
86+
ansible.builtin.shell:
87+
cmd: |
88+
oc patch openstackversions controlplane --type json -p='[{"op": "replace", "path": "/spec/customContainerImages", "value": {} }]'
89+
when: "{{ patch_openstackversions | bool }}"
90+
8491
- name: Include report result
8592
ansible.builtin.include_tasks:
8693
file: report_result.yml

roles/telemetry_autoscaling/tasks/post_teardown.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,4 @@
2020
ignore_errors: true
2121
retries: 50
2222
timeout: 5
23-
24-
# TODO: Get the name of the openstackversions object.
25-
# TODO: Work on getting the patches into kustomize format, so that we can use them by passing into the job vars, and can skip setup.
26-
# This is so we can test it locally.
27-
- name: Revert the version update
28-
ansible.builtin.shell:
29-
cmd: |
30-
oc patch openstackversions openstack-galera-network-isolation --type json -p='[{"op": "replace", "path": "/spec/customContainerImages", "value": {} }]'
23+

0 commit comments

Comments
 (0)