Commit d038c9e
committed
chore: align test_docker container launch with playwright-browsers
Mirrors the docker run flags used by microsoft/playwright-browsers'
tests-docker.yml so the Java and Node test environments stay in sync.
- run as pwuser (--user=pwuser --workdir /home/pwuser) instead of root
- explicit --platform linux/<arch>
- drop --ipc=host; set --shm-size=2g instead
- deliver the repo via docker cp + chown rather than a bind mount,
and move the image-baked /root/.m2 into pwuser's home so the
locally-installed SNAPSHOT artifacts resolve
- paths /root/playwright -> /home/pwuser/playwright
- add workflow_dispatch trigger so the workflow can be re-run manually1 parent d84a2db commit d038c9e
1 file changed
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | | - | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
42 | 68 | | |
43 | 69 | | |
44 | | - | |
| 70 | + | |
45 | 71 | | |
46 | 72 | | |
47 | 73 | | |
48 | | - | |
| 74 | + | |
49 | 75 | | |
50 | 76 | | |
51 | 77 | | |
| |||
0 commit comments