-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/bruno playwright containerized #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
494d871
45f55f2
6c6d25c
3023b95
b08074d
42a59c0
3e86e3e
51ceb16
110e318
25f377b
dc12d01
b988e15
c464f64
54736ac
ba91143
7139665
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| FROM node:18 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. А почему не node:18-alpine? |
||
|
|
||
| WORKDIR /tests | ||
|
|
||
| # For temp files e.g. test-reports | ||
| RUN mkdir -p /tests/tmp | ||
|
|
||
| COPY package*.json ./ | ||
|
|
||
| RUN echo "ls -la" | ||
| RUN ls -la /tests | ||
| RUN echo "COPY . ." | ||
| COPY . . | ||
|
|
||
| # Add a step to remove node_modules if it was accidentally copied | ||
| RUN echo "rm -rf node_*****modules" | ||
| RUN rm -rf node_modules | ||
|
|
||
| RUN echo "ls -la" | ||
| RUN ls -la /tests | ||
| RUN npm ci | ||
|
|
||
| RUN npm install -g @usebruno/cli@1.38.3 | ||
| # install only chrome for now to reduce image size | ||
| RUN npx npx playwright install --only-shell --with-deps chromium | ||
|
|
||
| RUN echo "ls -la" | ||
| RUN ls -la /tests | ||
|
|
||
| RUN bash -c "chmod +x run-tests.sh;" | ||
| CMD bash -c "./run-tests.sh docker" | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl больше не нужен?