commit | 1fc751429621810c78122c418dd8e2fc7db295d7 | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Fri Dec 08 09:56:33 2023 +0100 |
committer | osmith <osmith@sysmocom.de> | Fri Dec 08 13:40:08 2023 +0000 |
tree | d6ed985fd8222401fe43e4be5803f37c43925f7a | |
parent | 39dd96b39074d42153616522015958b8dcccd188 [diff] |
ansible: fix updating /opt/coverity/current Remove the previous /opt/coverity/current symlink, before creating the new one. Otherwise the new symlink would be created inside "current" pointing at the old version, instead of replacing "current" with the new symlink. # ln -svf /opt/coverity/2023.6.2/* /opt/coverity/current '/opt/coverity/current/cov-analysis-linux64-2023.6.2' -> '/opt/coverity/2023.6.2/cov-analysis-linux64-2023.6.2' # readlink /opt/covervity/current /opt/coverity/2022.06/cov-analysis-linux64-2022.6.0 Add the verbosity flag to the command while at it. (The glob is unrelated, why it is needed is described in I2b96d1e47f2697706a042937b2852f0fc5032a7b) Related: SYS#6685 Change-Id: I4ecb4997829b3cc61c839d089bda44f821ca8b85
Ansible rules for setting up machines of the Osmocom infrastructure. See ansible/README.md
.
Scripts and files that did not fit into other directories.
Scripts used to submit the osmocom sources for coverity scan. This depends on a tokens.txt
, see coverity/get_token.sh
.
cov-analysis-linux64-$VERSION.tar.gz
in ansible/files
coverity_version
in ansible/roles/install-coverity/defaults/main.yml
$ cd ansible $ ansible-playbook -v -i hosts setup-jenkins-slave.yml -l coverity_slaves -t coverity
PLAY RECAP ******************************************************************************************************************** build2-deb11build-ansible : ok=8 changed=4 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 build3-deb11build-ansible : ok=9 changed=4 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 build4-deb12build-ansible : ok=9 changed=4 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Jenkins Job Builder YAML files defining jenkins jobs. Read jobs/README.adoc
for more information about deployment.
The linter running on patches submitted via gerrit. See the wiki page Linting for more information.
A script to create a virtual machine with kernel gtp ggsn for qemu-kvm.
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
.
A clone of docker-playground, 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