-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* revamped logging to cut out playwright noise * moved storyshots to runtime
- Loading branch information
1 parent
0b6ce64
commit 34d6b0b
Showing
35 changed files
with
941 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
**/node_modules/ | ||
**/storybook-static/ | ||
**/test-results/ | ||
test-results-local/ | ||
test-results-local/ | ||
runtime/out/ | ||
runtime-logs-server/out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
FROM mcr.microsoft.com/playwright:v1.29.1-focal as final | ||
FROM mcr.microsoft.com/playwright:v1.37.1-focal as final | ||
|
||
RUN useradd -ms /bin/bash playwright-user | ||
RUN mkdir -p /storyshots | ||
RUN chown playwright-user /storyshots | ||
RUN npm install -g pnpm@8 | ||
RUN npm config --global set update-notifier false | ||
|
||
COPY playwright.config.storyshots.ts /storyshots | ||
COPY playwright.config.findStories.ts /storyshots | ||
COPY storyshots.findStories.ts /storyshots | ||
COPY storyshots.spec.ts /storyshots | ||
COPY storyshots.testStories.ts /storyshots | ||
COPY storyshots.testStory.ts /storyshots | ||
COPY storyshots.env.ts /storyshots | ||
COPY storyshots.executionContext.ts /storyshots | ||
COPY storyshots.types.ts /storyshots | ||
COPY storyshots.run.sh /storyshots | ||
COPY storyshots.update.sh /storyshots | ||
WORKDIR /storyshots | ||
COPY package.json /storyshots | ||
COPY pnpm-lock.yaml /storyshots | ||
|
||
WORKDIR /storyshots | ||
RUN pnpm install --frozen-lockfile | ||
|
||
COPY runtime /storyshots/runtime | ||
COPY runtime-logs-server /storyshots/runtime-logs-server | ||
|
||
RUN pnpm compile | ||
|
||
USER playwright-user | ||
|
||
CMD /storyshots/storyshots.run.sh | ||
CMD /storyshots/runtime/scripts/storyshots.run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.