Skip to content

Commit

Permalink
build: compress the test builds
Browse files Browse the repository at this point in the history
This is to use less space and to fix the caddy/rclone interaction
using too much bandwidth.

See: https://caddy.community/t/how-to-stop-caddy-sniffing-mime-types-and-return-a-default-mime-type/6819
  • Loading branch information
ncw committed Jan 17, 2020
1 parent 3a1b41a commit 1bd9f52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ endif
@echo Beta release ready at $(BETA_URL)

circleci_upload:
sudo chown -R $$USER build
find build -type l -delete
gzip -r9v build
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD)/testbuilds
ifndef BRANCH_PATH
./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD_ROOT)/test/testbuilds-latest
Expand Down

0 comments on commit 1bd9f52

Please sign in to comment.