Merge "jjb/releng: fix compass-container $DOCKERFILE"
[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 for project in releases/$RELEASE/*; do
16     python releases/scripts/repos.py -n -f $project >> repos.txt
17 done
18
19 while read -r repo
20 do
21     tag="$(git ls-remote "https://gerrit.opnfv.org/gerrit/$repo.git" "refs/tags/$TAG")"
22     echo "$repo $tag"
23 done < repos.txt
24
25 # rm repos.txt