Skip to content

Commit

Permalink
Preset cifmw_devscripts_config var before running cleanup
Browse files Browse the repository at this point in the history
The cleanup task fails with cifmw_devscripts_config undefined var.
It needs to be set before running the actual cleanup tasks.

Signed-off-by: Chandan Kumar <raukadah@gmail.com>
  • Loading branch information
raukadah committed Oct 19, 2023
1 parent 542d4e3 commit 2e04e13
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci_framework/roles/devscripts/tasks/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
# License for the specific language governing permissions and limitations
# under the License.

- name: Gather the configurations to be passed to dev-scripts.
ansible.builtin.set_fact:
cifmw_devscripts_config: >-
{{
cifmw_devscripts_config_defaults |
combine(cifmw_devscripts_config_overrides, recursive=true)
}}
cacheable: true

- name: Remove the deployed OpenShift platform.
when: not cifmw_devscripts_dry_run | bool
ci_make:
Expand Down

0 comments on commit 2e04e13

Please sign in to comment.