summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-12-20 15:41:26 +0000
committerJoshua Lambert <joshua@gitlab.com>2017-12-20 15:41:22 -0500
commitab8138a7cc5eab87aab808f0af8a461d5c079116 (patch)
tree5acc67a4c88d2c997345d0cdc704b684ab7a4dc9
parent032658e0b53f6a25e7266a687655dff628abfe1a (diff)
downloadgitlab-ce-ab8138a7cc5eab87aab808f0af8a461d5c079116.tar.gz
Remove SAST:Image for now.
-rw-r--r--vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml25
1 files changed, 0 insertions, 25 deletions
diff --git a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
index c169d4eff2e..18910a46d11 100644
--- a/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
+++ b/vendor/gitlab-ci-yml/Auto-DevOps.gitlab-ci.yml
@@ -108,19 +108,6 @@ sast:
- sast .
artifacts:
paths: [gl-sast-report.json]
-
-sast:image:
- image: docker:latest
- variables:
- DOCKER_DRIVER: overlay2
- allow_failure: true
- services:
- - docker:dind
- script:
- - setup_docker
- - sast_image
- artifacts:
- paths: [gl-sast-image-report.json]
review:
stage: review
@@ -256,18 +243,6 @@ production:
export CI_APPLICATION_TAG=$CI_COMMIT_SHA
export CI_CONTAINER_NAME=ci_job_build_${CI_JOB_ID}
export TILLER_NAMESPACE=$KUBE_NAMESPACE
-
- function sast_image() {
- docker run -d --name db arminc/clair-db:latest
- docker run -p 6060:6060 --link db:postgres -d --name clair arminc/clair-local-scan:v2.0.1
- apk add -U wget ca-certificates
- docker pull ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG}
- wget https://github.com/arminc/clair-scanner/releases/download/v6/clair-scanner_linux_386
- mv clair-scanner_linux_386 clair-scanner
- chmod +x clair-scanner
- touch clair-whitelist.yml
- ./clair-scanner -c http://docker:6060 --ip $(hostname -i) -r gl-sast-image-report.json -l clair.log -w clair-whitelist.yml ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} || true
- }
function codeclimate() {
cc_opts="--env CODECLIMATE_CODE="$PWD" \