Skip to content

Commit

Permalink
Add upload-sample-transfer helper
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Mar 28, 2024
1 parent 2c6b81f commit f8d5bb3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,13 @@ gosec: $(GOSEC)
-exclude-dir=internal/storage/persistence/ent/db \
./...

upload-sample-transfer: # @HELP Upload sample transfer (small.zip).
upload-sample-transfer: ADDRESS ?= localhost:9000
upload-sample-transfer:
curl \
-F "file=@$(CURDIR)/internal/testdata/zipped_transfer/small.zip" \
http://$(ADDRESS)/upload/upload

tilt-trigger-internal: # @HELP Restart enduro-internal and wait until ready.
tilt-trigger-internal:
tilt trigger enduro-internal
Expand Down

0 comments on commit f8d5bb3

Please sign in to comment.