From 5ce4c9326928ad33fcf6b9bef1296746aa4c15f6 Mon Sep 17 00:00:00 2001 From: Chris Jordan Date: Sun, 25 Aug 2024 23:20:36 -0400 Subject: [PATCH] fix --- Jenkinsfile | 2 +- ui/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 80289a5..017e516 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -122,7 +122,7 @@ pipeline { image: ${GAR_REPO}/chalk-ui-base:${SANITIZED_BUILD_TAG} command: ["/bin/sh", "-c"] args: - - npx http-server -p 9009 /js/storybook-static + - npx http-server -p 9009 /workspace/js/storybook-static tty: true ports: - containerPort: 9009 diff --git a/ui/Makefile b/ui/Makefile index 53ad84b..40d9e79 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -60,7 +60,7 @@ test-storybook: # NOTE stderr is suppressed here to avoid confusing messages from SIGKILL when finished. Remove if debugging timeout 180 make run-test-container TEST_CMD="npx http-server --silent -p 9009 /workspace/js/storybook-static" TEST_ARGS="" \ - DOCKER_ARGS="-p 9009 --network storybook-network --name storybook-test-instance" 2> /dev/null & + DOCKER_ARGS="-w /workspace/js -p 9009 --network storybook-network --name storybook-test-instance" 2> /dev/null & sleep 10 # Capture output, but stop the storybook container before exiting with the result