mirror of https://github.com/OpenVidu/openvidu.git
ci-scripts & deployments: Update OpenVidu URLs to v2 in CI scripts
parent
dc759dffd4
commit
babe7be554
|
@ -62,8 +62,8 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup scripts
|
- name: Setup scripts
|
||||||
run: |
|
run: |
|
||||||
curl -sOJ --output-dir /opt https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/commons/build.sh
|
curl -sOJ --output-dir /opt https://raw.githubusercontent.com/OpenVidu/openvidu/v2/ci-scripts/commons/build.sh
|
||||||
curl -sOJ --output-dir /opt https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/commons/test-utils.sh
|
curl -sOJ --output-dir /opt https://raw.githubusercontent.com/OpenVidu/openvidu/v2/ci-scripts/commons/test-utils.sh
|
||||||
cp ci-scripts/openvidu-e2e-tests.sh /opt/openvidu-e2e-tests.sh
|
cp ci-scripts/openvidu-e2e-tests.sh /opt/openvidu-e2e-tests.sh
|
||||||
find /opt/*.sh -type f -print0 | xargs -0 chmod u+x
|
find /opt/*.sh -type f -print0 | xargs -0 chmod u+x
|
||||||
- name: Clean environment
|
- name: Clean environment
|
||||||
|
|
|
@ -239,7 +239,7 @@ if [[ "${CHECK_AND_PREPARE_KURENTO_SNAPSHOT}" == true ]]; then
|
||||||
chmod -R 777 /etc/maven
|
chmod -R 777 /etc/maven
|
||||||
pushd /etc/maven
|
pushd /etc/maven
|
||||||
rm -f settings.xml
|
rm -f settings.xml
|
||||||
curl https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/kurento-snapshots.xml -o settings.xml
|
curl https://raw.githubusercontent.com/OpenVidu/openvidu/v2/ci-scripts/kurento-snapshots.xml -o settings.xml
|
||||||
sed -i "s|KURENTO_SNAPSHOTS_URL|${KURENTO_SNAPSHOTS_URL}|g" settings.xml
|
sed -i "s|KURENTO_SNAPSHOTS_URL|${KURENTO_SNAPSHOTS_URL}|g" settings.xml
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
|
|
|
@ -93,7 +93,7 @@ if [[ "${PREPARE_TEST_ENVIRONMENT}" == true ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download recording custom layout
|
# Download recording custom layout
|
||||||
sudo curl --location https://raw.githubusercontent.com/OpenVidu/openvidu/master/openvidu-test-e2e/docker/my-custom-layout/index.html --create-dirs --output /opt/openvidu/test-layouts/layout1/index.html
|
sudo curl --location https://raw.githubusercontent.com/OpenVidu/openvidu/v2/openvidu-test-e2e/docker/my-custom-layout/index.html --create-dirs --output /opt/openvidu/test-layouts/layout1/index.html
|
||||||
|
|
||||||
# Open permissions for /opt/openvidu folder
|
# Open permissions for /opt/openvidu folder
|
||||||
sudo chmod -R 777 /opt/openvidu
|
sudo chmod -R 777 /opt/openvidu
|
||||||
|
|
|
@ -81,7 +81,7 @@ Resources:
|
||||||
# Install openvidu-pro
|
# Install openvidu-pro
|
||||||
cd /opt
|
cd /opt
|
||||||
if [[ "OPENVIDU_VERSION" == "master" ]]; then
|
if [[ "OPENVIDU_VERSION" == "master" ]]; then
|
||||||
curl https://raw.githubusercontent.com/OpenVidu/openvidu/master/openvidu-server/deployments/enterprise/docker-compose/install_openvidu_enterprise_master_node.sh | bash
|
curl https://raw.githubusercontent.com/OpenVidu/openvidu/v2/openvidu-server/deployments/enterprise/docker-compose/install_openvidu_enterprise_master_node.sh | bash
|
||||||
else
|
else
|
||||||
curl https://raw.githubusercontent.com/OpenVidu/openvidu/vOPENVIDU_VERSION/openvidu-server/deployments/enterprise/docker-compose/install_openvidu_enterprise_master_node.sh | bash
|
curl https://raw.githubusercontent.com/OpenVidu/openvidu/vOPENVIDU_VERSION/openvidu-server/deployments/enterprise/docker-compose/install_openvidu_enterprise_master_node.sh | bash
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue