Files
devstack/tests/test_refs.sh
yatinkarel d5e95cb608 [Stable/Unmaintained Only] Pin to last compatible tag for py3.8
Stable/2023.1 and Unmaintained xena/yoga/zed runs ubuntu-focal
jobs and since with [1] py3.8 pins are dropped from master
upper-constraints, so these branches can no longer use master
constraints with envs running with python3.8.
With this patch pinning tempest to the last compatible tag
for py3.8 i.e 41.0.0[2]

Additionally marked ironic-tempest-bios-ipmi-direct-tinyipa
non-voting and removed from gate until this fixed in
ironic.

[1] https://review.opendev.org/c/openstack/requirements/+/925201
[2] https://lists.openstack.org/archives/list/openstack-discuss@\
    lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

Needed-By: https://review.opendev.org/c/openstack/ironic/+/934140
Depends-On: https://review.opendev.org/c/openstack/tempest/+/933716
Closes-Bug: #2085886
Change-Id: I5e714655ed329ea2c714f918e3dd843ca764c2c4
2024-11-06 15:05:42 +00:00

25 lines
842 B
Bash
Executable File

#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
echo "Ensuring we don't have crazy refs"
REFS=`grep BRANCH stackrc | grep -v 'TARGET_BRANCH' | grep -v 'NOVNC_BRANCH' | grep -v 'TEMPEST_BRANCH'`
rc=$?
if [[ $rc -eq 0 ]]; then
echo "Branch defaults must be one of the *TARGET_BRANCH values. Found:"
echo $REFS
exit 1
fi