Remove tag argument usage from helper scripts
The TC tags framework is discontinued [1], so all references to TC tags will be invalidated once TC passes the change. This patch removes the use of '--tag stable:follows-policy' from helper scripts. [1] http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027214.html Change-Id: I30645f45c270f436605ef5024557e341a6851dce
This commit is contained in:
parent
8256ddf1a0
commit
0356a73c74
@ -965,7 +965,7 @@ list_stable_unreleased_changes.sh
|
|||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
Runs list_unreleased_changes.sh with the given branch for all
|
Runs list_unreleased_changes.sh with the given branch for all
|
||||||
repositories tagged with ``stable:follows-policy``.
|
repositories.
|
||||||
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Convenience wrapper to show the unreleased changes in all projects
|
# Convenience wrapper to show the unreleased changes for a stable
|
||||||
# claiming to have stable branches, so we don't have to remember the
|
# $series in all projects, so we don't have to remember the
|
||||||
# incantation.
|
# incantation.
|
||||||
|
|
||||||
if [[ $# -ne 1 ]]; then
|
if [[ $# -ne 1 ]]; then
|
||||||
@ -27,7 +27,6 @@ if [[ -z "$VIRTUAL_ENV" ]]; then
|
|||||||
source $BASEDIR/.tox/venv/bin/activate
|
source $BASEDIR/.tox/venv/bin/activate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
repos="$(list-deliverables --repos --tag stable:follows-policy \
|
repos="$(list-deliverables --repos --series $SERIES)"
|
||||||
--series $SERIES)"
|
|
||||||
|
|
||||||
$TOOLSDIR/list_unreleased_changes.sh stable/$SERIES $repos
|
$TOOLSDIR/list_unreleased_changes.sh stable/$SERIES $repos
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
# Produce files for every team that has repositories with follow-policy
|
# Produce files for every team that has repositories with the content of
|
||||||
# with the content of open and unreleased changes.
|
# open and unreleased changes.
|
||||||
|
|
||||||
if [[ $# -lt 1 ]]; then
|
if [[ $# -lt 1 ]]; then
|
||||||
echo "Usage: $(basename $0) <branch>"
|
echo "Usage: $(basename $0) <branch>"
|
||||||
@ -49,7 +49,7 @@ function get_open_patches {
|
|||||||
for team in ${OPENSTACK_TEAMS}; do
|
for team in ${OPENSTACK_TEAMS}; do
|
||||||
echo "Checking repositories of team: ${team}"
|
echo "Checking repositories of team: ${team}"
|
||||||
|
|
||||||
REPOS=$(tox -e venv -- list-deliverables --tag stable:follows-policy -r \
|
REPOS=$(tox -e venv -- list-deliverables --repos \
|
||||||
--series ${BRANCH} --team ${team} | grep "^openstack/")
|
--series ${BRANCH} --team ${team} | grep "^openstack/")
|
||||||
|
|
||||||
if [ -n "${REPOS}" ]; then
|
if [ -n "${REPOS}" ]; then
|
||||||
@ -61,7 +61,6 @@ for team in ${OPENSTACK_TEAMS}; do
|
|||||||
${RESULT_DIR}/${team}.txt
|
${RESULT_DIR}/${team}.txt
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo " Tag stable:follows-policy not found for repositories of team " \
|
echo " No repositories found for team '${team}'"
|
||||||
"'${team}'"
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user