Osmocom Continuous Integration
Go to file
Oliver Smith 88521fbc14 scripts/docker-cleanup.sh: conditional img clean
Only run the simple image clean code if docuum is not running. It works
well enough in most cases, but has the drawbacks that it never deletes
"latest" images or images not matching "^osmocom-build", and may delete
images that are still being used (OS#5447). With the other tool, all
images are considered for removal, and the ones that have not been used
the longest time are removed first.

Related: OS#5477, OS#5066, SYS#5827
Change-Id: I1cef0833c096de0fa5acf77156bb5dd362e2ef9c
2022-02-11 15:44:44 +01:00
ansible ansible/roles/docker: install docuum 2022-02-11 15:44:16 +01:00
contrib obs-mirror: Keep more 'latest' distributions 2021-12-30 16:32:04 +01:00
coverity Add new repo osmo-hnbgw (nightly) to build jobs and scripts 2022-01-05 11:39:41 +01:00
jobs jobs/master-builds.yml: Add master-pysim to publish manual 2022-02-09 17:48:04 +01:00
lint lint: catch missing --rm flag for 'docker run' 2022-02-11 15:44:16 +01: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/docker-cleanup.sh: conditional img clean 2022-02-11 15:44:44 +01: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