summaryrefslogtreecommitdiffstats
path: root/scripts/build-sonar.sh
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-08-11 18:44:10 +0200
committerMauro Sardara <msardara@cisco.com>2022-08-11 18:44:10 +0200
commit25f6cb3100ae397125cf071579036b9f3d4487b6 (patch)
tree2a7dab80a91d02f727d231f4b0d91fd3b5c5dc49 /scripts/build-sonar.sh
parent55343701359194493fbd9ff4950ac4f941bbdae3 (diff)
ci: install docker-compose as part of sonarcloud scan
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I2216084a415abbb874dfa49051ca3ca0fcb7c41d
Diffstat (limited to 'scripts/build-sonar.sh')
-rw-r--r--scripts/build-sonar.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build-sonar.sh b/scripts/build-sonar.sh
index f5f72629f..e0f73a4a5 100644
--- a/scripts/build-sonar.sh
+++ b/scripts/build-sonar.sh
@@ -13,4 +13,7 @@
#!/bin/bash
+sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
+sudo chmod +x /usr/local/bin/docker-compose
+
docker-compose -f docker-compose-sonar.yaml up