From b1e98d266e763d9d7a7488607d2565611c4ae885 Mon Sep 17 00:00:00 2001 From: Mathieu Hofman Date: Thu, 31 Aug 2023 03:04:29 +0000 Subject: [PATCH] chore(deployment): shortcut to run upgrade test non-interactive --- packages/deployment/upgrade-test/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/deployment/upgrade-test/Makefile b/packages/deployment/upgrade-test/Makefile index 50baf2d77d2..3b85db88389 100644 --- a/packages/deployment/upgrade-test/Makefile +++ b/packages/deployment/upgrade-test/Makefile @@ -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)