Oliver Smith
1fc7514296
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 |
||
---|---|---|
.. | ||
files | ||
host_vars | ||
roles | ||
util | ||
vars | ||
.gitignore | ||
README.md | ||
ansible.cfg | ||
hosts | ||
setup-desktop.yml | ||
setup-gsm-tester.md | ||
setup-gsm-tester.yml | ||
setup-jenkins-slave.yml | ||
setup-obs-worker.yml | ||
setup-simtest.yml |
README.md
ansible repository
Ansible is an automisation, provisioning and configuration management utility.
How to use it?
- you need ansible installed (version 2.4, other might work as well)
How to setup the gsm-tester?
ansible-playbook -i hosts setup-gsm-tester.yml
Your ssh key need to be deployed on the host. Further information on this job can be found in setup-gsm-tester.md.
How to setup a jenkin slave?
ansible-playbook -i hosts setup-jenkins-slave.yml
Further information on this job and around the setup can be found on the redmine wiki.
If you don't have access to an IPv6 network from your local host, then you can
use an ssh proxy to updates hosts in the hosts
files being accessed only
through an IPv6 addr. Your ssh proxy must of course have an IPv6 address able to
reach the destination host.
example .ssh/config
:
Host 2a01:4f8:13b:828::1:*
ProxyJump proxyuser@myhostproxy.com:22
User root
how to make slaves log-in to registry.osmocom.org:
ansible jenkins_slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins_slave -p PASSWD https://registry.osmocom.org/'"