Skip to content

Commit

Permalink
chore(deployment): shortcut to run upgrade test non-interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Sep 1, 2023
1 parent e8665cb commit b1e98d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/deployment/upgrade-test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,16 @@ DEBUG ?= SwingSet:ls,SwingSet:vat
RUN = docker run --rm -it \
-p 26656:26656 -p 26657:26657 -p 1317:1317 \
-v "$${PWD}:/workspace" \
-e "DEST=1" -e "DEBUG=$(DEBUG)"
-e "DEBUG=$(DEBUG)"

run:
$(RUN) -e "TMUX_USE_CC=$(tmuxCC)" \
$(RUN) -e "DEST=1" -e "TMUX_USE_CC=$(tmuxCC)" \
--entrypoint /usr/src/agoric-sdk/upgrade-test-scripts/start_to_to.sh \
$(REPOSITORY):$(dockerLabel)

run_test:
$(RUN) -e "DEST=0" $(REPOSITORY):$(dockerLabel)

run_bash:
$(RUN) --entrypoint /bin/bash $(REPOSITORY):$(dockerLabel)

Expand Down

0 comments on commit b1e98d2

Please sign in to comment.