infra/tests/support/puppeteer-socket/puppeteer-run.nix
b12f b30dc0f7bd
Some checks failed
Flake checks / Check (pull_request) Failing after 1m43s
test: puppeteering puppeteer from host python testScript
2024-08-26 19:00:57 +02:00

9 lines
183 B
Nix

{
writeShellScriptBin,
curl
}: writeShellScriptBin "puppeteer-run" ''
set -e
exec ${curl}/bin/curl -X POST -d "$@" --unix-socket "/tmp/puppeteer.sock" http://puppeteer-socket
''