mirror of https://gerrit.osmocom.org/osmo-ci
update git URLs (git -> https; gitea/gerrit)
Unencrypted git:// protocol offers no integrity or authentication, making it subject to tampering. Use https:// instead. https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git https://blog.readthedocs.com/github-git-protocol-deprecation/ Change-Id: Ia44e4127ff87a3d4d747225d3258188a0a891f1bchanges/49/28349/5
parent
942f5ef96c
commit
5455b42405
|
@ -24,7 +24,7 @@ and automatically fetched and reset to "origin/master" (override with
|
|||
$OSMO_BRANCH_DOCKER_PLAYGROUND). The fetch and reset gets skipped if
|
||||
_docker_playground is a symlink. For development, set it up as follows:
|
||||
|
||||
$ git clone https://git.osmocom.org/docker-playground
|
||||
$ git clone https://git.osmocom.org/osmo-ci
|
||||
$ git clone https://gitea.osmocom.org/osmocom/docker-playground
|
||||
$ git clone https://gitea.osmocom.org/osmocom/osmo-ci
|
||||
$ cd osmo-ci
|
||||
$ ln -s ../docker-playground _docker_playground
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
|
||||
- name: setup ofono repository
|
||||
git:
|
||||
repo: 'https://git.sysmocom.de/sysmocom/ofono'
|
||||
repo: 'https://gitea.sysmocom.de/sysmocom/ofono'
|
||||
dest: /root/ofono
|
||||
version: osmo-gsm-tester
|
||||
clone: yes
|
||||
|
@ -354,7 +354,7 @@
|
|||
|
||||
- name: setup osmo-gsm-tester repository
|
||||
git:
|
||||
repo: 'git://git.osmocom.org/osmo-gsm-tester'
|
||||
repo: 'https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-tester'
|
||||
dest: /root/osmo-gsm-tester
|
||||
version: master
|
||||
clone: yes
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
become: yes
|
||||
become_user: "{{ osmocom_user }}"
|
||||
git:
|
||||
repo: git://git.osmocom.org/{{ item }}.git
|
||||
repo: https://git.osmocom.org/{{ item }}
|
||||
dest: "{{ git_destination }}/{{ item }}"
|
||||
accept_hostkey: yes
|
||||
force: no
|
||||
|
@ -106,7 +106,7 @@
|
|||
chdir: "{{ git_destination }}/osmo-ttcn3-hacks"
|
||||
|
||||
- name: install sysmocom git repos
|
||||
git: repo=https://git.sysmocom.de/{{ item }}.git
|
||||
git: repo=https://gitea.sysmocom.de/{{ item }}.git
|
||||
dest={{ git_destination }}/{{ item }}
|
||||
accept_hostkey=yes
|
||||
force=yes
|
||||
|
@ -119,7 +119,7 @@
|
|||
|
||||
|
||||
- name: install github git repos
|
||||
git: repo=git://github.com/{{ item }}.git
|
||||
git: repo=https://github.com/{{ item }}.git
|
||||
dest={{ git_destination }}/{{ item }}
|
||||
accept_hostkey=yes
|
||||
force=yes
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e -x
|
|||
# Clone repository to ~/, or update existing
|
||||
# $1: name of osmocom project
|
||||
clone_repo() {
|
||||
cd ~/"$1" || (cd ~/ && git clone git://git.osmocom.org/"$1" && cd ~/"$1")
|
||||
cd ~/"$1" || (cd ~/ && git clone https://git.osmocom.org/"$1" && cd ~/"$1")
|
||||
git rev-parse HEAD
|
||||
git status
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ for proj in $PROJECTS $PROJECTS_DONT_BUILD_TEST; do
|
|||
git -C "$proj" clean -ffxd
|
||||
fi
|
||||
else
|
||||
git clone git://git.osmocom.org/$proj
|
||||
git clone https://git.osmocom.org/$proj
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -71,5 +71,5 @@ for proj in $PROJECTS; do
|
|||
done
|
||||
|
||||
if ! [ -d layer1-api ]; then
|
||||
git clone https://git.sysmocom.de/sysmo-bts/layer1-api
|
||||
git clone https://gitea.sysmocom.de/sysmo-bts/layer1-api
|
||||
fi
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
default: 'origin/master'
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://gerrit.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
branches:
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
wrappers: []
|
||||
trigger:
|
||||
email: jenkins-notifications@lists.osmocom.org laforge@gnumonks.org
|
||||
git_base_url: git://git.osmocom.org
|
||||
git_base_url: https://git.osmocom.org
|
||||
|
||||
# in alphabetical order
|
||||
repos:
|
||||
|
@ -404,7 +404,7 @@
|
|||
concurrent: false
|
||||
cmd: cd ./tests; ./run-tests
|
||||
slave_axis: !!python/tuple [simtester]
|
||||
git_base_url: https://git.sysmocom.de/sysmocom
|
||||
git_base_url: https://gitea.sysmocom.de/sysmocom
|
||||
|
||||
- dahdi-tools
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
project-type: matrix
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-ccid-firmware
|
||||
url: https://gerrit.osmocom.org/osmo-ccid-firmware
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
skip-tag: true
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
node: osmocom-master-debian9
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-gsm-manuals
|
||||
url: https://gerrit.osmocom.org/osmo-gsm-manuals
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
skip-tag: true
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
name: osmo-gsm-tester-repo
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-gsm-tester
|
||||
url: https://gerrit.osmocom.org/osmo-gsm-tester
|
||||
branches:
|
||||
- ${OSMO_GSM_TESTER_BRANCH}
|
||||
wipe-workspace: false
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
name: osmo-gsm-tester-repo
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-gsm-tester
|
||||
url: https://gitea.osmocom.org/cellular-infrastructure/osmo-gsm-tester
|
||||
branches:
|
||||
- ${OSMO_GSM_TESTER_BRANCH}
|
||||
wipe-workspace: false
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://git.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
triggers:
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
name: GIT_URL_PREFIX
|
||||
description: |
|
||||
Where to clone the sources from
|
||||
default: 'git://git.osmocom.org/'
|
||||
default: 'https://git.osmocom.org/'
|
||||
- bool:
|
||||
name: BUILD
|
||||
description: |
|
||||
|
@ -65,7 +65,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://git.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://git.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
triggers:
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://git.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
triggers:
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH_DOCKER_PLAYGROUND'
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gitea.osmocom.org/osmocom/docker-playground
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
# Don't wipe workspace to keep generated release tarballs
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
node: osmocom-master-debian9
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gerrit.osmocom.org/docker-playground
|
||||
skip-tag: true
|
||||
branches:
|
||||
- 'origin/master'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
name: osmocom-docker-playground
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gerrit.osmocom.org/docker-playground
|
||||
skip-tag: true
|
||||
branches:
|
||||
- 'origin/master'
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
node: osmocom-master-debian9
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/{repos}
|
||||
url: https://gerrit.osmocom.org/{repos}
|
||||
branches:
|
||||
- 'origin/master'
|
||||
trigger:
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH_CI'
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://gerrit.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
triggers:
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gerrit.osmocom.org/docker-playground
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
wipe-workspace: "{obj:wipe_workspace}"
|
||||
|
|
|
@ -470,7 +470,7 @@
|
|||
- git:
|
||||
branches:
|
||||
- '$BRANCH'
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gerrit.osmocom.org/docker-playground
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
wipe-workspace: "{obj:wipe_workspace}"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
num-to-keep: 120
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/osmo-ci
|
||||
url: https://gerrit.osmocom.org/osmo-ci
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
skip-tag: true
|
||||
|
@ -54,7 +54,7 @@
|
|||
node: osmocom-master-debian9
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/docker-playground
|
||||
url: https://gerrit.osmocom.org/docker-playground
|
||||
git-config-name: 'Jenkins Builder'
|
||||
git-config-email: 'jenkins@osmocom.org'
|
||||
skip-tag: true
|
||||
|
|
|
@ -65,10 +65,10 @@ DEBIAN_FRONTEND=noninteractive apt-get purge -y nano laptop-detect tasksel dicti
|
|||
|
||||
# check out sources we need from their respective repositories
|
||||
cd /usr/local/src
|
||||
git clone git://git.netfilter.org/libmnl
|
||||
git clone https://git.netfilter.org/libmnl
|
||||
(cd libmnl && autoreconf -fi && ./configure && make && make install)
|
||||
git clone git://git.osmocom.org/libgtpnl
|
||||
git clone https://gerrit.osmocom.org/libgtpnl
|
||||
(cd libgtpnl && autoreconf -fi && ./configure && make && make install)
|
||||
git clone git://git.osmocom.org/osmo-ggsn
|
||||
git clone https://gerrit.osmocom.org/osmo-ggsn
|
||||
(cd osmo-ggsn && autoreconf -fi && ./configure --enable-gtp-linux && make && make install)
|
||||
ldconfig
|
||||
|
|
|
@ -172,7 +172,7 @@ branch_and_rev_of_local_repo() {
|
|||
branch_and_rev_of_remote_repo() {
|
||||
if [ -z "${2+x}" ]; then branch="master"; else branch="$2"; fi
|
||||
branch="$( echo "$branch" | tr '/' '_')"
|
||||
rev="$(git ls-remote "git://git.osmocom.org/$1" "refs/heads/$branch")"
|
||||
rev="$(git ls-remote "https://git.osmocom.org/$1" "refs/heads/$branch")"
|
||||
|
||||
# check whether branch is a tag
|
||||
if [ "$rev" = "" ]; then
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Copyright 2018 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
|
||||
|
||||
# Where to clone sources from (with trailing slash)
|
||||
git_url_prefix = "git://git.osmocom.org/"
|
||||
git_url_prefix = "https://git.osmocom.org/"
|
||||
|
||||
# Default projects to build when none are specified on the command line
|
||||
projects = ("osmo-bts",
|
||||
|
|
|
@ -14,7 +14,7 @@ def git_clone(workdir, prefix, cache_git_fetch, repository, version):
|
|||
""" Clone a missing git repository and checkout a specific version tag.
|
||||
|
||||
:param workdir: path to where all data (git, build, install) is stored
|
||||
:param prefix: git url prefix (e.g. "git://git.osmocom.org/")
|
||||
:param prefix: git url prefix (e.g. "https://git.osmocom.org/")
|
||||
:param cache_git_fetch: list of repositories that have already been
|
||||
fetched in this run of osmo-depcheck
|
||||
:param repository: Osmocom git repository name (e.g. "libosmo-abis")
|
||||
|
@ -56,7 +56,7 @@ def generate(workdir, prefix, cache_git_fetch, initial, rev):
|
|||
repository, parsing the "configure.ac" file, and recursing.
|
||||
|
||||
:param workdir: path to where all data (git, build, install) is stored
|
||||
:param prefix: git url prefix (e.g. "git://git.osmocom.org/")
|
||||
:param prefix: git url prefix (e.g. "https://git.osmocom.org/")
|
||||
:param cache_git_fetch: list of repositories that have already been
|
||||
fetched in this run of osmo-depcheck
|
||||
:param initial: the first program to look at (e.g. "osmo-bts")
|
||||
|
|
|
@ -10,7 +10,7 @@ fi
|
|||
|
||||
if ! test -d "$project";
|
||||
then
|
||||
git clone "git://git.osmocom.org/$project" "$project"
|
||||
git clone "https://git.osmocom.org/$project" "$project"
|
||||
fi
|
||||
|
||||
cd "$project"
|
||||
|
|
|
@ -11,12 +11,12 @@ set -e -x
|
|||
|
||||
case "$1" in
|
||||
sysmo)
|
||||
uri="https://git.sysmocom.de/sysmo-bts/layer1-api"
|
||||
uri="https://gitea.sysmocom.de/sysmo-bts/layer1-api"
|
||||
version_prefix=""
|
||||
version="origin/master"
|
||||
;;
|
||||
oct)
|
||||
uri="git://git.osmocom.org/octphy-2g-headers"
|
||||
uri="https://git.osmocom.org/octphy-2g-headers"
|
||||
version_prefix=""
|
||||
version="origin/master"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue