osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/34976?usp=email )


Change subject: tarballs: add osmo_dia2gsup
......................................................................

tarballs: add osmo_dia2gsup

Change-Id: I9cbd3d3ce27a4b4c9c8e19b2876386d170d4f0a6
---
M scripts/common.sh
M scripts/tarballs/publish-tarballs-for-tags.sh
2 files changed, 23 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/76/34976/1

diff --git a/scripts/common.sh b/scripts/common.sh
index ea106e2..1081859 100644
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -142,6 +142,9 @@
                osmo-isdntap)
                        echo "$OSMO_GIT_URL_GITEA"/retronetworking/"$1"
                        ;;
+               osmo_dia2gsup)
+                       echo "$OSMO_GIT_URL_GERRIT"/erlang/"$1"
+                       ;;
                *)
                        echo "$OSMO_GIT_URL_GERRIT"/"$1"
                        ;;
diff --git a/scripts/tarballs/publish-tarballs-for-tags.sh 
b/scripts/tarballs/publish-tarballs-for-tags.sh
index c185c21..4ef3b5f 100755
--- a/scripts/tarballs/publish-tarballs-for-tags.sh
+++ b/scripts/tarballs/publish-tarballs-for-tags.sh
@@ -42,6 +42,7 @@
        osmo-sysmon
        osmo-trx
        osmo-uecups
+       osmo_dia2gsup
        osmocom-bb
        rtl-sdr
        simtrace2
@@ -240,6 +241,11 @@

                        cd /src/$project_path

+                       # Erlang projects: download build depends
+                       if [ -e contrib/generate_build_dep.sh ]; then
+                               su build -c \"HOME=/build 
contrib/generate_build_dep.sh\"
+                       fi
+
                        if /tarballs/prefer-configure.sh \"$repo\" \"$tag\"; 
then
                                su build -c \"autoreconf -fi\"
                                case \"$repo\" in
@@ -255,6 +261,11 @@
                        else
                                su build -c \"git archive -o $tarball_name 
$tag\"
                        fi
+
+                       # Erlang projects: add build depends to release tarball
+                       if [ -e build_dep.tar.gz ]; then
+                               su build -c \"tar -rf $tarball_name 
build_dep.tar.gz\"
+                       fi
        "; then
                echo "$LOG_PREFIX Building tarball failed!"
                exit 1

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/34976?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I9cbd3d3ce27a4b4c9c8e19b2876386d170d4f0a6
Gerrit-Change-Number: 34976
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to