osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/35265?usp=email )


Change subject: README: document how to upgrade coverity
......................................................................

README: document how to upgrade coverity

Change-Id: I551df9f36112f34cf76d0247f1ebc1e58ae0a896
---
M README.md
1 file changed, 29 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/65/35265/1

diff --git a/README.md b/README.md
index c8d4af4..7ab7514 100644
--- a/README.md
+++ b/README.md
@@ -8,11 +8,26 @@
 Scripts and files that did not fit into other directories.

 ## 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)
+Scripts used to submit the osmocom sources for coverity scan. This depends on a
+`tokens.txt`, see `coverity/get_token.sh`.
+
+### how to upgrade
+* Download the latest version from [here](https://scan.coverity.com/download)
+* Find the "upgrade considerations" 
[here](https://sig-product-docs.synopsys.com/bundle/coverity-docs/page/upgrade-guide/topics/important_upgrade_considerations.html)
+* Place the resulting `cov-analysis-linux64-$VERSION.tar.gz` in `ansible/files`
+* Adjust `coverity_version` in 
`ansible/roles/install-coverity/defaults/main.yml`
+* Deploy the ansible playbook:
+```
+$ cd ansible
+$ ansible-playbook -v -i hosts setup-jenkins-slave.yml -l coverity_slaves -t 
coverity
+```
+* On success, only one task should be skipped (the "Please download..." task):
+```
+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
+```

 ## jobs
 Jenkins Job Builder YAML files defining jenkins jobs. Read `jobs/README.adoc`

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/35265?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I551df9f36112f34cf76d0247f1ebc1e58ae0a896
Gerrit-Change-Number: 35265
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to