mirror of https://gerrit.osmocom.org/osmo-ci
osmocom-list-commits: move repo list to common.sh
Prepare for new script, which will use the same list of repositories. Related: OS#3870 Change-Id: I954b1d5229c44ebcec7e7228f2565a5c6755d16c
This commit is contained in:
parent
a5d5bedd55
commit
0aa0ba0c55
|
@ -2,6 +2,31 @@
|
|||
# Various functions and variables used in multiple osmo-ci shell scripts
|
||||
OSMO_GIT_URL="https://git.osmocom.org"
|
||||
|
||||
# Osmocom repositories of which we want to build release tarballs automatically, and list the current versions at
|
||||
# https://jenkins.osmocom.org/jenkins/job/Osmocom-list-commits/lastSuccessfulBuild/artifact/commits.txt
|
||||
OSMO_RELEASE_REPOS="
|
||||
libasn1c
|
||||
libosmo-abis
|
||||
libosmocore
|
||||
libosmo-netif
|
||||
libosmo-sccp
|
||||
libsmpp34
|
||||
libusrp
|
||||
osmo-bsc
|
||||
osmo-bts
|
||||
osmo-ggsn
|
||||
osmo-hlr
|
||||
osmo-iuh
|
||||
osmo-mgw
|
||||
osmo-msc
|
||||
osmo-pcu
|
||||
osmo-sgsn
|
||||
osmo-sip-connector
|
||||
osmo-sysmon
|
||||
osmo-trx
|
||||
osmocom-bb
|
||||
"
|
||||
|
||||
# Print commit of HEAD for an Osmocom git repository, e.g.:
|
||||
# "f90496f577e78944ce8db1aa5b900477c1e479b0"
|
||||
# $1: repository
|
||||
|
|
|
@ -4,28 +4,6 @@
|
|||
|
||||
. "$(dirname "$0")/common.sh"
|
||||
FORMAT_STR="%-22s %-42s %9s %-40s %s\n"
|
||||
REPOS="
|
||||
libasn1c
|
||||
libosmo-abis
|
||||
libosmocore
|
||||
libosmo-netif
|
||||
libosmo-sccp
|
||||
libsmpp34
|
||||
libusrp
|
||||
osmo-bsc
|
||||
osmo-bts
|
||||
osmo-ggsn
|
||||
osmo-hlr
|
||||
osmo-iuh
|
||||
osmo-mgw
|
||||
osmo-msc
|
||||
osmo-pcu
|
||||
osmo-sgsn
|
||||
osmo-sip-connector
|
||||
osmo-sysmon
|
||||
osmo-trx
|
||||
osmocom-bb
|
||||
"
|
||||
|
||||
# Header
|
||||
if [ -z "$NO_HEADER" ]; then
|
||||
|
@ -33,7 +11,7 @@ if [ -z "$NO_HEADER" ]; then
|
|||
fi
|
||||
|
||||
# Table
|
||||
for repo in $REPOS; do
|
||||
for repo in $OSMO_RELEASE_REPOS; do
|
||||
last_tag="$(osmo_git_last_tags "$repo" 1 "-")"
|
||||
last_commit="$(osmo_git_last_commits "$repo" 1 "-")"
|
||||
head_commit="$(osmo_git_head_commit "$repo")"
|
||||
|
|
Loading…
Reference in New Issue