Osmocom Continuous Integration
Go to file
Oliver Smith 6135bf1bc4 scripts/OBS latest: fix checkout with dir in path
osmo-python-tests was added to latest just like it was in nightly, by
adding the following two lines to build_osmocom():

  checkout python/osmo-python-tests
  ...
  build osmo-python-tests

But the build fails, because the "checkout" function clones into a
"python/osmo-python-tests" directory in latest, and not into a
"osmo-python-tests" directory like in nightly. Make it behave the same
by adjusting the "checkout" function in nightly.

(This code has historically grown and should be refactored imho, but
let's fix this bug first.)

Fix for:
  ====> Building osmo-python-tests
  + cd /home/osmocom-build/jenkins/workspace/Osmocom_OBS_latest_obs.osmocom.org/osmo-python-tests
  ./scripts/osmocom-latest-packages.sh: 99: cd: can't cd to .../osmo-python-tests

Change-Id: I97074ee953cadac476fe2e4b686689c26bac1ea1
2022-07-08 14:44:43 +02:00
ansible ansible/gsm-tester: use debian's soapysdr-module-lms7 2022-06-29 09:33:30 +00:00
contrib obs-mirror: Keep more 'latest' distributions 2021-12-30 16:32:04 +01:00
coverity fixup: coverity: compile tests, but not execute them 2022-07-04 16:57:33 +07:00
jobs jobs/registry-update-base-images: drop old images 2022-07-06 15:20:22 +00:00
lint lint: simplify find command in exclude_paths_common_asn1c() 2022-07-03 04:55:54 +07:00
qemu-kvm/ggsn-kernel-gtp update OBS Release.key; the old one expired today. 2020-03-30 18:22:59 +02:00
scripts scripts/OBS latest: fix checkout with dir in path 2022-07-08 14:44:43 +02:00
.editorconfig editorconfig: new file 2022-02-11 15:44:16 +01:00
.gitignore repo-install-test: add KEEP_CACHE env var 2020-05-28 09:53:22 +00:00
.gitreview Add .gitreview 2017-06-12 18:33:33 +02:00
README.adoc OBS: add debian10 specific patch for limesuite 2020-05-25 11:47:11 +02: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://git.osmocom.org/docker-playground
 $ git clone https://git.osmocom.org/osmo-ci
 $ cd osmo-ci
 $ ln -s ../docker-playground _docker_playground