From babe7be5546c2e1ab704be4fcc3478246dcd3b2a Mon Sep 17 00:00:00 2001 From: cruizba Date: Tue, 16 Jul 2024 13:04:26 +0200 Subject: [PATCH] ci-scripts & deployments: Update OpenVidu URLs to v2 in CI scripts --- .github/workflows/openvidu-ce-test.yml | 4 ++-- ci-scripts/commons/build.sh | 2 +- ci-scripts/commons/test-utils.sh | 2 +- .../enterprise/aws/dev/cfn-crete-ov-aws-asg-ami.yaml.template | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/openvidu-ce-test.yml b/.github/workflows/openvidu-ce-test.yml index c9f52963b4..6e92b6026d 100644 --- a/.github/workflows/openvidu-ce-test.yml +++ b/.github/workflows/openvidu-ce-test.yml @@ -62,8 +62,8 @@ jobs: - uses: actions/checkout@v3 - name: Setup scripts 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/master/ci-scripts/commons/test-utils.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/v2/ci-scripts/commons/test-utils.sh cp ci-scripts/openvidu-e2e-tests.sh /opt/openvidu-e2e-tests.sh find /opt/*.sh -type f -print0 | xargs -0 chmod u+x - name: Clean environment diff --git a/ci-scripts/commons/build.sh b/ci-scripts/commons/build.sh index 85ba66608a..9ba0ee789f 100644 --- a/ci-scripts/commons/build.sh +++ b/ci-scripts/commons/build.sh @@ -239,7 +239,7 @@ if [[ "${CHECK_AND_PREPARE_KURENTO_SNAPSHOT}" == true ]]; then chmod -R 777 /etc/maven pushd /etc/maven 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 popd else diff --git a/ci-scripts/commons/test-utils.sh b/ci-scripts/commons/test-utils.sh index bd12207744..7fd8dd4584 100644 --- a/ci-scripts/commons/test-utils.sh +++ b/ci-scripts/commons/test-utils.sh @@ -93,7 +93,7 @@ if [[ "${PREPARE_TEST_ENVIRONMENT}" == true ]]; then fi # 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 sudo chmod -R 777 /opt/openvidu diff --git a/openvidu-server/deployments/enterprise/aws/dev/cfn-crete-ov-aws-asg-ami.yaml.template b/openvidu-server/deployments/enterprise/aws/dev/cfn-crete-ov-aws-asg-ami.yaml.template index b3ae43362d..c038ef8982 100644 --- a/openvidu-server/deployments/enterprise/aws/dev/cfn-crete-ov-aws-asg-ami.yaml.template +++ b/openvidu-server/deployments/enterprise/aws/dev/cfn-crete-ov-aws-asg-ami.yaml.template @@ -81,7 +81,7 @@ Resources: # Install openvidu-pro cd /opt 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 curl https://raw.githubusercontent.com/OpenVidu/openvidu/vOPENVIDU_VERSION/openvidu-server/deployments/enterprise/docker-compose/install_openvidu_enterprise_master_node.sh | bash fi