--- # Entry point for the CI Framework tool. # Running by this playbook, and providing the needed information, you will # be able to update various deployed scenarios based on EDPM. # Note that this playbook *must* be called from within # openstack-k8s-operators/install_yaml repository in order to leverage its # own methods. - name: Remove status flag hosts: "{{ cifmw_target_host | default('localhost') }}" tasks: - name: Delete success flag if exists ansible.builtin.file: path: "{{ ansible_user_dir }}/cifmw-success" state: absent - name: Import update related playbook ansible.builtin.import_playbook: playbooks/update.yml when: cifmw_run_update | default(false) | bool tags: - update - name: Run cifmw_setup run_tests.yml hosts: "{{ cifmw_target_host | default('localhost') }}" gather_facts: false tasks: - name: Run Test vars: cifmw_test_operator_artifacts_basedir: "{{ cifmw_basedir }}/tests/test_operator_update" cifmw_test_operator_tempest_name: "post-update-tempest-tests" cifmw_test_operator_tobiko_name: "post-update-tobiko-tests" ansible.builtin.import_role: name: cifmw_setup tasks_from: run_tests.yml tags: - run-tests - name: Inject success flag ansible.builtin.file: path: "{{ ansible_user_dir }}/cifmw-success" state: touch mode: "0644" - name: Run logging hosts: "{{ cifmw_target_host | default('localhost') }}" gather_facts: false tasks: - name: Run logs when: not zuul_log_collection | default(false) | bool ansible.builtin.import_role: name: cifmw_setup tasks_from: run_logs.yml tags: - logs