tripleo-quickstart-extras/playbooks/multinode-undercloud-upgrade.yml
Takashi Kajinami 149ae7e63f undercloud: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only undercloud-* roles and
playbooks.

Note that this change also removes the containerized_* variables
because current active releases(>=Train) no longer supports
non-containerized deployment. The containerized_undercloud_upgrade
variable is still left because the variable is still required by
the tripleo-ci-base-multinode-standard job template.

In addition, TripleO UI support is removed because the component was
retired before Train.

Change-Id: I5132e5bac4ddaa6f76564cab67e486cb5a4e2bbb
2022-10-25 17:15:36 +09:00

57 lines
1.9 KiB
YAML

---
# the yum repos ALWAYS need to change
- name: Configure next release repository in the undercloud
hosts: undercloud
tags:
- undercloud-upgrade
vars:
repo_setup_script: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.sh"
repo_setup_log: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.log"
repo_setup_run_update: false
dlrn_hash_path: ''
dlrn_hash_path_newest: ''
# This should not be enabled because the updating of the packages occurs
# durring the upgrade process. For general installation it's ok to have
# this enabled, but this needs to be disabled for upgrades
ib_gating_repo_update: false
roles:
- role: repo-setup
# note: in upstream CI the gerrit change is built on the content-provider
# this task will be skipped upstream
- name: Build the gerrit changes on the relevant release for the upgrade
hosts: undercloud
tags:
- build
vars:
repo_setup_script: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.sh"
repo_setup_log: "repo-setup-{{ lookup('env', 'UPGRADE_RELEASE') }}.log"
repo_setup_run_update: false
dlrn_hash_path: ''
dlrn_hash_path_newest: ''
artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz"
# This should not be enabled because the updating of the packages occurs
# durring the upgrade process. For general installation it's ok to have
# this enabled, but this needs to be disabled for upgrades
ib_gating_repo_update: false
roles:
- role: build-test-packages
- {role: install-built-repo, when: compressed_gating_repo is defined}
- name: Prepare containers for Upgrade
hosts: undercloud
gather_facts: false
tags:
- undercloud-upgrade
roles:
- role: container-update
when:
- containerized_undercloud_upgrade|default(false)|bool
- name: Run tripleo-upgrade role to upgrade undercloud
hosts: undercloud
tags:
- undercloud-upgrade
roles:
- role: tripleo-upgrade