From acbfd1d74a237b3d48fe52a6961a7db43bf1ea51 Mon Sep 17 00:00:00 2001 From: ghanshyam mann Date: Sat, 10 Sep 2022 22:34:15 +0530 Subject: [PATCH] Make python version template unversioned From 2023.1 cycle, TC agree to make python version template to be unversioned - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/856903 This commit updates the release script to update the unversioned template from next cycle. Change-Id: Icf03e279bf574f5ff0c0f14b53c4ef76b6098c46 --- .../files/release-tools/add_master_python3_jobs.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh b/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh index fbf58bc009..a2c8038d9b 100755 --- a/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh +++ b/roles/copy-release-tools-scripts/files/release-tools/add_master_python3_jobs.sh @@ -17,6 +17,8 @@ # License for the specific language governing permissions and limitations # under the License. +# As in 2023.1 cycle, we switch to using the generic template name to update +# the unit testing, we do not need this script after Zed release. set -ex if [[ $# -lt 3 ]]; then @@ -37,10 +39,11 @@ OLDSERIES=${OLDSERIES/stable\//} cd $REPO -commit_msg="Add Python3 ${SERIES} unit tests +commit_msg="Switch to 2023.1 Python3 unit tests and generic template name This is an automatically generated patch to ensure unit testing -is in place for all the of the tested runtimes for ${SERIES}. +is in place for all the of the tested runtimes for ${SERIES}. Also, +updating the template name to generic one. See also the PTI in governance [1]. @@ -53,7 +56,7 @@ fnames=$(find . -type f -path '*zuul.d/*'; find . -type f -name '*zuul.yaml') for fname in $fnames; do echo "Checking ${fname}" sed -i -e \ - "s/openstack-python3-${OLDSERIES}-jobs/openstack-python3-${SERIES}-jobs/g" \ + "s/openstack-python3-${OLDSERIES}-jobs/openstack-python3-jobs/g" \ $fname done