mirror of https://github.com/OpenVidu/openvidu.git
ci-scripts: fix --prepate-test-environment parameter
parent
3f659457d6
commit
ea35420526
|
@ -76,8 +76,8 @@ jobs:
|
|||
run: /opt/commons.sh --clean-environment
|
||||
- name: Prepare test environment
|
||||
run: |
|
||||
DOCKER_IMAGE=$(sed -r "s|^(.+):.+$|\1|g" <<<${TEST_IMAGE})
|
||||
/opt/commons.sh --prepare-test-environment ${DOCKER_IMAGE}
|
||||
TEST_IMAGE_WITHOUT_TAG=$(sed -r "s|^(.+):.+$|\1|g" <<<${TEST_IMAGE})
|
||||
/opt/commons.sh --prepare-test-environment "${TEST_IMAGE_WITHOUT_TAG}"
|
||||
- name: Setting up Kurento Snapshots
|
||||
run: /opt/commons.sh --prepare-kurento-snapshot
|
||||
- name: Build openvidu-browser
|
||||
|
|
|
@ -54,10 +54,12 @@ if [[ -n ${1:-} ]]; then
|
|||
;;
|
||||
|
||||
--prepare-test-environment)
|
||||
PREPARE_TEST_ENVIRONMENT=true
|
||||
if [[ -n "${2:-}" ]]; then
|
||||
if [[ -z "${2:-}" ]]; then
|
||||
echo "No test docker container provided when running --prepare-test-environment"
|
||||
else
|
||||
TEST_IMAGE="${2}"
|
||||
fi
|
||||
PREPARE_TEST_ENVIRONMENT=true
|
||||
;;
|
||||
|
||||
--prepare-kurento-snapshot)
|
||||
|
|
Loading…
Reference in New Issue