osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc-nat/+/29492 )
Change subject: [do not merge] test rpm/deb CI
......................................................................
[do not merge] test rpm/deb CI
Change-Id: I6842b5c641e6b6a0cfb428c7538e0a041751143e
---
A test
1 file changed, 0 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc-nat refs/changes/92/29492/1
diff --git a/test b/test
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc-nat/+/29492
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc-nat
Gerrit-Branch: master
Gerrit-Change-Id: I6842b5c641e6b6a0cfb428c7538e0a041751143e
Gerrit-Change-Number: 29492
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29488 )
Change subject: scripts/common: remove osmo_git_clone_date
......................................................................
scripts/common: remove osmo_git_clone_date
This had been added for debugging purposes and isn't used anymore. Also
one less hit for git grep git.osmocom.org.
Change-Id: I10cbb598f0d5d675034ca87568a8b6f1920f2ad3
---
M scripts/common.sh
1 file changed, 0 insertions(+), 10 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/scripts/common.sh b/scripts/common.sh
index 6d93cc8..227f965 100644
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -110,16 +110,6 @@
echo "$ret" | cut -d/ -f 3
}
-# Pass all arguments to "git clone", but write the current date and time before the clone and on failure.
-# This helps analyzing errors with git.osmocom.org (OS#4083).
-osmo_git_clone_date() {
- date "+%Y-%m-%d %H:%M:%S"
- if ! git clone "$@"; then
- date "+%Y-%m-%d %H:%M:%S"
- exit 1
- fi
-}
-
# Echo git clone URL for an Osmocom git repository. For projects developed on
# gerrit, use the gerrit URL to avoid the mirror sync delay, for other
# repositories use the gitea URL.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29488
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I10cbb598f0d5d675034ca87568a8b6f1920f2ad3
Gerrit-Change-Number: 29488
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29485 )
Change subject: osmo_git_clone_url: git.osmocom.org -> gitea
......................................................................
osmo_git_clone_url: git.osmocom.org -> gitea
Update the function to not use legacy URLs anymore and allow adding
future gitea URLs more easily. Update the description of the function to
reflect the new motivation for using this.
Change-Id: Ibf53ca2c444fae82af73e417410faa5b16f5de59
---
M scripts/common.sh
1 file changed, 10 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/scripts/common.sh b/scripts/common.sh
index 23a3380..6d93cc8 100644
--- a/scripts/common.sh
+++ b/scripts/common.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Various functions and variables used in multiple osmo-ci shell scripts
OSMO_CI_DIR="$(realpath "$(dirname "$0")/..")"
-OSMO_GIT_URL="https://git.osmocom.org"
+OSMO_GIT_URL_GITEA="https://gitea.osmocom.org"
OSMO_GIT_URL_GERRIT="https://gerrit.osmocom.org"
# Osmocom repositories of which we want to build release tarballs automatically, and list the current versions at
@@ -120,13 +120,18 @@
fi
}
-# Print git clone URL for an Osmocom git repository. Prefer the gerrit clone URL, because cloning from the regular URL
-# sometimes results in the "garbage at end of loose object" error (OS#4083).
+# Echo git clone URL for an Osmocom git repository. For projects developed on
+# gerrit, use the gerrit URL to avoid the mirror sync delay, for other
+# repositories use the gitea URL.
+# https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure
# $1: Osmocom project (e.g. "osmo-hlr")
osmo_git_clone_url() {
case "$1" in
- rtl-sdr|osmo-fl2k|libosmo-dsp|libgtpnl|libasn1c|libusrp|libsmpp34)
- echo "$OSMO_GIT_URL"/"$1"
+ libgtpnl|libasn1c|libsmpp34)
+ echo "$OSMO_GIT_URL_GITEA"/cellular-infrastructure/"$1"
+ ;;
+ rtl-sdr|osmo-fl2k|libosmo-dsp|libusrp)
+ echo "$OSMO_GIT_URL_GITEA"/sdr/"$1"
;;
*)
echo "$OSMO_GIT_URL_GERRIT"/"$1"
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29485
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ibf53ca2c444fae82af73e417410faa5b16f5de59
Gerrit-Change-Number: 29485
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged