14 lines
444 B
Bash
Executable file
14 lines
444 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
# /mnt/envroot required by SymlinkConfig
|
|
|
|
podman pull "${JP_VALIDATOR_IMAGE}" || sleep 60
|
|
|
|
exec podman run --rm --security-opt='label=disable'\
|
|
--mount type=bind,source="${TEST_ARTIFACTS}",target='/mnt/test_artifacts/',readonly\
|
|
--mount type=bind,source='src/',target='/mnt/config/',readonly\
|
|
--mount type=bind,source="${ENVROOT}",target='/mnt/envroot',readonly\
|
|
"${JP_VALIDATOR_IMAGE}" ${@} '/mnt/test_artifacts/'\
|
|
;
|