File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,25 @@ public_scan_task:
153
153
- .cirrus/pull.sh ${PUBLIC_IMAGE_NAME} ${tag} ${platform}
154
154
- java -jar /usr/local/bin/wss-unified-agent.jar -c .cirrus/wss-unified-agent.config -apiKey $MEND_API_KEY -product ${WS_PRODUCTNAME} -project ${PUBLIC_IMAGE_NAME}:${tag} -wss.url ${WS_WSS_URL} -docker.scanImages true
155
155
156
+ public_fossa_scan_task :
157
+ env :
158
+ platform : amd64
159
+ FOSSA_API_KEY : VAULT[development/team/sonarqube/kv/data/fossa data.api-key]
160
+ matrix :
161
+ - tag : $CURRENT_LTA_VERSION-datacenter-app
162
+ - tag : $CURRENT_VERSION-datacenter-app
163
+ timeout_in : 30m
164
+ ec2_instance :
165
+ << : *VM_TEMPLATE
166
+ type : t2.medium
167
+ setup_script :
168
+ - curl -H 'Cache-Control : no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
169
+ scan_script :
170
+ - echo "Scan the ${PUBLIC_IMAGE_NAME}:${tag} image"
171
+ - docker pull "${PUBLIC_IMAGE_NAME}:${tag}"
172
+ - .cirrus/pull.sh ${PUBLIC_IMAGE_NAME} ${tag} ${platform}
173
+ - fossa container analyze -p "docker-sonarqube" -b "${tag}" ${PUBLIC_IMAGE_NAME}:${tag}
174
+
156
175
multi_arch_test_task :
157
176
matrix :
158
177
- env :
You can’t perform that action at this time.
0 commit comments