Osmocom Continuous Integration
Go to file
Oliver Smith f560ce08ab jenkins-gerrit: fix ambiguous use of review api
Fix an error when the same Change-Id is used on multiple branches or in
theory projects. This is actually allowed by gerrit, and we use this
e.g. when backporting patches from master.

Use the project, change number (e.g. 30147) and patchset number (e.g. 2)
instead of the Change-Id.

Fix for:
  + ssh -p 29418 -l jenkins gerrit.osmocom.org gerrit review 4835a62cd88f0d69db76fb3bfd2df02176a91a6d --json
  fatal: "4835a62cd88f0d69db76fb3bfd2df02176a91a6d" matches multiple patch sets

Related: https://gerrit-review.googlesource.com/Documentation/cmd-review.html
Change-Id: I2d627f8f3b400fa57a50a228d47df2194f60fd08
2022-11-15 11:38:08 +00:00
ansible ansible/setup-simtest: pre-install pysim depends 2022-10-20 09:18:25 +00:00
contrib contrib/jenkins.sh: set-url for existing clones 2022-10-20 14:44:36 +00:00
coverity coverity: fix prepare_source_Osmocom.sh terminating early 2022-10-04 17:00:01 +07:00
jobs jenkins-gerrit: fix ambiguous use of review api 2022-11-15 11:38:08 +00:00
lint jenkins-gerrit: fix ambiguous use of review api 2022-11-15 11:38:08 +00:00
qemu-kvm/ggsn-kernel-gtp ggsn-kernel-gtp: Use my current SSH public key 2022-11-04 15:07:35 +00:00
scripts jenkins-gerrit: fix ambiguous use of review api 2022-11-15 11:38:08 +00:00
.editorconfig editorconfig: new file 2022-02-11 15:44:16 +01:00
.gitignore scripts/obs: rewrite pushing source pkgs to OBS 2022-08-01 16:29:20 +02:00
.gitreview Add .gitreview 2017-06-12 18:33:33 +02:00
README.adoc update git URLs (git -> https; gitea/gerrit) 2022-08-13 04:02:51 +07:00

README.adoc

Scripts used for the CI handling and coverity uploads

coverity: scripts used to submit the osmocom sources for coverity scan.
This depends on these, which are not included in osmo-ci:
- a tokens.txt file in coverity/ -- see coverity/get_token.sh
- a cov-analysis-linux64-8.5.0 in coverity/
  (or the like, may need to adjust some scripts to match)

jobs: Jenkins Job Builder YAML files defining jenkins jobs. Read jobs/README.adoc
for more information about deployment.

scripts: used by jenkins jobs. Various osmo*/contrib/jenkins.sh scripts assume
osmo-ci to be checked out in the build slave user's home, i.e. using a PATH of
$HOME/osmo-ci/scripts.

obs-patches: patches to build projects for various debian distributions, e.g.
a patch for limesuite that fixes the libwxgtk3.0-dev => libwxgtk3.0-gtk3-dev
rename in control/debian for debian10. Used by osmo_obs_distro_specific_patch()
in scripts/common-obs.sh.

_docker_playground: Clone of docker-playground.git, so the scripts can build
required docker images. This dir gets created on demand by scripts/common.sh,
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://gitea.osmocom.org/osmocom/docker-playground
 $ git clone https://gitea.osmocom.org/osmocom/osmo-ci
 $ cd osmo-ci
 $ ln -s ../docker-playground _docker_playground