Update GitLab Scanner 64/10664/2 branch-ng-ro-refactor-start branch-sol006v331-start v9.0.0-dev
authorbeierlm <mark.beierl@canonical.com>
Mon, 19 Apr 2021 19:17:53 +0000 (15:17 -0400)
committerbeierlm <mark.beierl@canonical.com>
Tue, 20 Apr 2021 13:09:48 +0000 (15:09 +0200)
Adds libcurl4-openssl-dev to the scanner dependencies so we can
properly analyse all upstream dependencies of osmclient

Change-Id: I05318f8a87d1f9aeb151a7a15e7a2a44602292b4
Signed-off-by: beierlm <mark.beierl@canonical.com>
.gitlab-ci.yml

index faec2f5..1dcb1d5 100644 (file)
@@ -16,3 +16,9 @@ include:
   - project: 'devops/cicd'
     file: '/templates/osm-base.yml'
 
+# Due to requirements.txt having pycurl, we need to have libcurl present
+# in the scanning container so it can properly analyse it.
+gemnasium-python-dependency_scanning:
+  before_script:
+    - apt-get update -y
+    - DEBIAN_FRONTEND=noninteractive apt-get -y install libcurl4-openssl-dev