sbp commented on issue #279: URL: https://github.com/apache/tooling-trusted-releases/issues/279#issuecomment-3755516771
@Smitaambiger To run the Playwright tests in Alpine is a little more complicated. I haven't tried the e2e tests yet. I continue to recommend Debian instead. ``` apk add biome@testing docker git make mkcert@testing nix rsync uv nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs nix-channel --update export PATH="/usr/local/nix/bin:$PATH" nix-env -p /usr/local/nix -iA nixpkgs.gcc nix-env -p /usr/local/nix -iA nixpkgs.linuxHeaders nix-env -p /usr/local/nix -iA nixpkgs.pre-commit nix-env -p /usr/local/nix -iA nixpkgs.python313 nix-env -p /usr/local/nix -iA nixpkgs.python313Packages.playwright nix-env -p /usr/local/nix -iA nixpkgs.stdenv.cc.cc.lib export LD_LIBRARY_PATH=$(find /nix/store/*-bootstrap-tools -name libstdc++.so.6 | head -n 1 | sed 's_/[^/]*$__') cd ~ && git clone https://github.com/apache/tooling-trusted-releases cd tooling-trusted-releases && pre-commit install uv sync --frozen --all-groups mkdir -p state && make certs-local make serve-local make build-playwright docker run --net=container:$(hostname) \ -e ATR_BASE_URL=https://localhost.apache.org:8080 \ -it atr-playwright python3 test.py --skip-slow ``` You'll need to have Docker running on the host with the socket mounted in the container for this to work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
