summaryrefslogtreecommitdiffstats
path: root/scripts/build-sonar.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-08-12ci(sonarqube): force job to fail if any command failsMauro Sardara1-0/+2
Ref: HICN-741 Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-12ci(sonarscan): fixes for sonar buildMauro Sardara1-0/+5
- Add submodule init before running the docker compose up command - Mount workspace with the :z flag to modify the selinux label of the directory - Build docker image with amd64 architecture, as sonar build wrapper only exists for x64 Ref: HICN-741 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3cc3e285ce216eec9795011f67758df590dc6fec Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-11ci(sonarscan): fix typoMauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ibadcc7b1a79ef92149b032becc800f1ed8ba00c5
2022-08-11ci: install docker-compose as part of sonarcloud scanMauro Sardara1-0/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I2216084a415abbb874dfa49051ca3ca0fcb7c41d
2022-08-11ci: call docker-compose in sonarcloud triggerMauro Sardara1-25/+14
Ref: HICN-739 Change-Id: I33c4948f6f7a1a27a30051da4a1bdbfc6de90951 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-10feat: SonarcloudLuca Muscariello1-0/+27
Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: I2da6c9dfa1d05968555e8f43176de6a0ab37892e