Skip to content

Commit

Permalink
Run openstack minor update using instal_yaml openstack_update_run target
Browse files Browse the repository at this point in the history
  • Loading branch information
ciecierski authored and sathlan committed Jul 3, 2024
1 parent 70984af commit 20a7195
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 37 deletions.
3 changes: 2 additions & 1 deletion playbooks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
ansible.builtin.include_role:
name: repo_setup

- name: Update all openstack services containers env vars in meta operator with tag from delorean
- name: Update all openstack services containers env vars in meta operator with tag from delorean and update OPENSTACK_RELEASE_VERSION
vars:
cifmw_set_openstack_containers_dlrn_md5_path: "{{ cifmw_basedir }}/artifacts/repositories/delorean.repo.md5"
cifmw_set_openstack_containers_tag_from_md5: true
cifmw_set_openstack_containers_extra_vars: "{{ cifmw_edpm_prepare_extra_vars }}"
cifmw_set_openstack_containers_openstack_version_change: true
ansible.builtin.include_role:
name: set_openstack_containers

Expand Down
1 change: 1 addition & 0 deletions roles/repo_setup/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
when:
- content_provider_dlrn_md5_hash is defined
- content_provider_dlrn_md5_hash | length > 0
- not cifmw_run_update|default(false)

- name: Run repo-setup
become: "{{ not cifmw_repo_setup_output.startswith(ansible_user_dir) }}"
Expand Down
11 changes: 9 additions & 2 deletions roles/update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,15 @@
- name: Start ping test
ansible.builtin.include_tasks: l3_agent_connectivity_check_start.yml

- name: Run update-csv tasks
ansible.builtin.include_tasks: update-csv.yml
- name: Run make openstack_update_run
ansible.builtin.include_role:
name: 'install_yamls_makes'
tasks_from: 'make_openstack_update_run'
vars:
make_openstack_update_run_params:
FAKE_UPDATE: false
VERSION: "0.0.2"
make_openstack_update_run_env: "{{ cifmw_install_yamls_environment | combine({'PATH': cifmw_path}) }}"

- name: Stop the ping test
ansible.builtin.include_tasks: l3_agent_connectivity_check_stop.yml
Expand Down
34 changes: 0 additions & 34 deletions roles/update/tasks/update-csv.yml

This file was deleted.

0 comments on commit 20a7195

Please sign in to comment.