Osmocom Continuous Integration
Go to file
Vadim Yanitskiy aaeab8c976 coverity: compile tests, but not execute them
Compiling unit tests would allow Coverity to analyze them too and thus
find more bugs.  The problem is that binaries listed in check_PROGRAMS
are not compiled during 'make all', but only during 'make check'.

One approach [1] is to run 'make check' in do_build(), however it breaks
'Coverity-Upload' job because some unit tests are failing.  This is why
I had to revert bf84ba9f69 together with
ae41942214 that was supposed to fix it.

Even if all unit tests were passing, we still don't want to execute them
because running tests is beyond the scope of 'Coverity-Upload' job.

Another approach is to patch Makefile.am files replacing check_PROGRAMS
with noinst_PROGRAMS, so that the test binaries are compiled during
'make all' but not executed.

Change-Id: Idf0714a59356633021be21acc47f9471d059b7fe
Related: [1] I3f3149a61df96646798c72d0ad31c41b97e6b81f
2022-07-04 14:39:30 +07: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 coverity: compile tests, but not execute them 2022-07-04 14:39:30 +07:00
jobs jobs/osmocom-release-tarballs: move to dp 2022-07-01 15:50:37 +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 jobs/osmocom-release-tarballs: move to dp 2022-07-01 15:50:37 +00: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