Skip to content

Commit

Permalink
PLANET-5484 Try if slim image with fetch is faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Inwerpsel committed Sep 22, 2020
1 parent 7984b8a commit d7cb601
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,12 @@ jobs:
errors=$(jq '.["results"] | .[] | unique_by(.["type"]) | map(select(.["type"] == "error")) | .[]' planet4-docker-compose/artifacts/pa11y/pa11y-ci-results.json)
if [ ! -z "${errors}" ]; then echo "Errors found, see report in artifacts." && exit 1; else echo "No errors, report available in artifacts."; fi
rips-test:
docker:
- image: rips/rips-cli:3
environment:
RIPS_APPLICATION_ID: 21
steps:
- checkout
- run: rips-cli -vvv rips:scan:start -a $RIPS_APPLICATION_ID -p ~/project/ -t 1
create-release-zip:
docker:
- image: greenpeaceinternational/p4-builder:latest
- image: mhart/alpine-node
steps:
- checkout
- run: apk add curl zip git jq
- run: git submodule init && git submodule update
- run: npm ci
- run: npm run build
Expand All @@ -210,6 +203,6 @@ jobs:
- run: |
curl \
-H "Authorization: token ${GITHUB_RELEASES_TOKEN}" \
-H "Content-Type: $(file -b --mime-type /tmp/workspace/planet4-master-theme.zip)" \
-H "Content-Type: application/zip" \
--data-binary @/tmp/workspace/planet4-master-theme.zip \
"$(cat /tmp/workspace/upload_url)" | jq

0 comments on commit d7cb601

Please sign in to comment.