Skip to content

Commit 3782c8c

Browse files
committed
Drop CircleCI
This CI will be replaced with GitHub Actions
1 parent 7c21e87 commit 3782c8c

File tree

2 files changed

+0
-328
lines changed

2 files changed

+0
-328
lines changed

.circleci/config.yml

Lines changed: 0 additions & 320 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,3 @@ scan-vulnerability:
110110
mkdir -p ./tmp/clair/usabillabv
111111
cat ./tmp/build-*.tags | xargs -I % sh -c 'clair-scanner --ip 172.17.0.1 -r "./tmp/clair/%.json" -l ./tmp/clair/clair.log % || echo "% is vulnerable"'
112112
docker-compose -f test/security/docker-compose.yml -p clair-ci down
113-
114-
ci-scan-vulnerability:
115-
docker-compose -f test/security/docker-compose.yml -p clair-ci up -d
116-
RETRIES=0 && while ! wget -T 10 -q -O /dev/null http://localhost:6060/v1/namespaces ; do sleep 1 ; echo -n "." ; if [ $${RETRIES} -eq 10 ] ; then echo " Timeout, aborting." ; exit 1 ; fi ; RETRIES=$$(($${RETRIES}+1)) ; done
117-
mkdir -p ./tmp/clair/usabillabv
118-
cat ./tmp/build-*.tags | xargs -I % sh -c 'clair-scanner --ip 172.17.0.1 -r "./tmp/clair/%.json" -l ./tmp/clair/clair.log %'; \
119-
XARGS_EXIT=$$?; \
120-
if [ $${XARGS_EXIT} -eq 123 ]; then find ./tmp/clair/usabillabv -type f | sed 's/^/-Fjson=@/' | xargs -d'\n' curl -X POST ${WALLE_REPORT_URL} -F channel=team_oz -F buildUrl=https://circleci.com/gh/usabilla/php-docker-template/${CIRCLE_BUILD_NUM}#artifacts/containers/0; else exit $${XARGS_EXIT}; fi

0 commit comments

Comments
 (0)