Files
devstack/tests/test_refs.sh
Ghanshyam Mann 8a22f7380c Pin Tempest to 26.1.0 tag for stable/train testing
Stable train is in Extended maintenance state[1] and
we need to cap stable/train with older Tempest.

But because of oslo.utils version bump in Tempest 27.0.0
and 28.0.0 which is not compatible with stable/train
upper constraints so these versions do not work in stable/train

- https://zuul.opendev.org/t/openstack/build/1146c9ce9f474d0d82b99b48b61c531e

Let's use the Tempest 26.1.0 which is also compatible with stable/train
testing.

Related-Bug: #1955418
Change-Id: I376be5f5a4d693aeaaf74ca5285269f796103c15
2022-01-18 21:29:03 -06: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