From 64a6ff98f52a70e54e8cb8505d411e10adcb06c5 Mon Sep 17 00:00:00 2001 From: cruizba Date: Fri, 23 Sep 2022 15:12:35 +0200 Subject: [PATCH] Remove run.sh script --- openvidu-call/docker/run.sh | 45 ------------------------------------- 1 file changed, 45 deletions(-) delete mode 100755 openvidu-call/docker/run.sh diff --git a/openvidu-call/docker/run.sh b/openvidu-call/docker/run.sh deleted file mode 100755 index 97012172f..000000000 --- a/openvidu-call/docker/run.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash - -if [[ -z "$1" ]]; then - echo "RELEASE_VERSION argument is required" 1>&2 - echo "Example of use: ./run.sh 2.22.0" 1>&2 - exit 1 -fi - -RELEASE_VERSION=$1 -CALL_BASE_HREF=/ -DEMOS_BASE_HREF=/openvidu-call/ - -printf '\n -------------------------------------------------------------' -printf '\n Upgrading dependencies' -printf '\n -------------------------------------------------------------' -printf '\n' - -cd ../openvidu-call-front || exit 1 -sed -i "/\"version\":/ s/\"version\":[^,]*/\"version\": \"${RELEASE_VERSION}\"/" package.json -sed -i "/\"openvidu-angular\":/ s/\"openvidu-angular\":[^,]*/\"openvidu-angular\": \"${RELEASE_VERSION}\"/" package.json -cat package.json -cd ../openvidu-call-back || exit 1 -sed -i "/\"version\":/ s/\"version\":[^,]*/\"version\": \"${RELEASE_VERSION}\"/" package.json -sed -i "/\"openvidu-node-client\":/ s/\"openvidu-node-client\":[^,]*/\"openvidu-node-client\": \"${RELEASE_VERSION}\"/" package.json -cat package.json -cd .. - -printf '\n' -printf '\n -------------------------------------------------------------' -printf '\n Installing OpenVidu Call with the following arguments:' -printf '\n' -printf '\n Call container tag: openvidu/openvidu-call:%s' "${RELEASE_VERSION}" -printf '\n Demos container tag: openvidu/openvidu-call-demos:%s' "${RELEASE_VERSION}" -printf '\n -------------------------------------------------------------' -printf '\n' - -docker build -f docker/Dockerfile.node -t openvidu/openvidu-call:${RELEASE_VERSION} --build-arg BASE_HREF=${CALL_BASE_HREF} . -docker build -f docker/Dockerfile.node -t openvidu/openvidu-call:${RELEASE_VERSION}-demos --build-arg BASE_HREF=${DEMOS_BASE_HREF} . - -printf '\n' -printf '\n Pushing containers to OpenVidu DockerHub' -printf '\n' - -docker push openvidu/openvidu-call:${RELEASE_VERSION} -docker push openvidu/openvidu-call:${RELEASE_VERSION}-demos