From be41721888913320bd448b8aaa4539f3ac6d4e7c Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Fri, 27 Sep 2019 16:18:00 -0700 Subject: [PATCH] Add experimental job to test upgrades from stein Also, correct the version that we check out when upgrading from stable branches. Change-Id: Ie733bc50466c66d6e6eb5c6bd42e42a05ef88798 --- .zuul.yaml | 7 +++++++ tools/playbooks/multinode_setup/make_rings.yaml | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 1e1debfba9..12fdfbbe25 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -362,6 +362,12 @@ vars: previous_swift_version: origin/stable/rocky +- job: + name: swift-multinode-rolling-upgrade-stein + parent: swift-multinode-rolling-upgrade + vars: + previous_swift_version: origin/stable/stein + - job: name: swift-tox-lower-constraints parent: openstack-tox-lower-constraints @@ -634,6 +640,7 @@ - swift-tox-func-ec-centos-7 - swift-multinode-rolling-upgrade-queens - swift-multinode-rolling-upgrade-rocky + - swift-multinode-rolling-upgrade-stein post: jobs: diff --git a/tools/playbooks/multinode_setup/make_rings.yaml b/tools/playbooks/multinode_setup/make_rings.yaml index 302ef3bab8..9063500605 100644 --- a/tools/playbooks/multinode_setup/make_rings.yaml +++ b/tools/playbooks/multinode_setup/make_rings.yaml @@ -21,7 +21,13 @@ - name: "checkout a previous version: {{ previous_swift_version | default(latest_swift_release.stdout) }}" shell: - cmd: git checkout {{ previous_swift_verion | default(latest_swift_release.stdout) }} -b previous_swift_version + cmd: git checkout {{ previous_swift_version | default(latest_swift_release.stdout) }} -b previous_swift_version + executable: /bin/bash + chdir: '{{ zuul.project.src_dir }}' + + - name: confirm checked out version + shell: + cmd: git describe executable: /bin/bash chdir: '{{ zuul.project.src_dir }}'