Skip to content

Commit

Permalink
chore: add a compression step [skip app] [skip tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Apr 2, 2024
1 parent a262fbe commit d05fdb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e-tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ENV SLACK_WEBHOOK_APPS=$SLACK_WEBHOOK_APPS
# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-in-docker
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y wget gnupg curl unzip \
&& apt-get install -y wget gnupg curl zip unzip \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
Expand Down
7 changes: 5 additions & 2 deletions scripts/run_e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ yarn test:client > "$ROOT_DIR/test/run/chrome/e2e_test_log.txt" 2>&1
## Upload logs & screenshots to S3
##

rclone copy "$ROOT_DIR/test/run" "ovh:/dev/$APP/e2e_tests/$CURRENT_DATE"
LINK=$(rclone link "ovh:/dev/$APP/e2e_tests/$CURRENT_DATE")
cd "$ROOT_DIR/test"
zip -r "$ROOT_DIR/test/$CURRENT_DATE.zip" run

rclone copy "$ROOT_DIR/test/$CURRENT_DATE.zip" "ovh:/dev/$APP/e2e_tests"
LINK=$(rclone link "ovh:/dev/$APP/e2e_tests/$CURRENT_DATE.zip")

0 comments on commit d05fdb0

Please sign in to comment.