Disable blocking on buildable queue (Functest)
[releng.git] / releases / scripts / release-status.sh
1 #!/bin/bash
2 # SPDX-License-Identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2018 The Linux Foundation and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 set -o pipefail
11
12 TAG="${TAG:-opnfv-6.0.0}"
13 RELEASE="${RELEASE:-fraser}"
14
15 [ -a repos.txt ] && rm repos.txt
16
17 for project in releases/$RELEASE/*; do
18     python releases/scripts/repos.py -n -f $project >> repos.txt
19 done
20
21 while read -r repo
22 do
23     tag="$(git ls-remote "https://gerrit.opnfv.org/gerrit/$repo.git" "refs/tags/$TAG")"
24     echo "$repo $tag"
25 done < repos.txt