From ebe5ebee6c01acd1cfb32bbea62513d3dc55726b Mon Sep 17 00:00:00 2001 From: ismail Date: Tue, 23 Apr 2024 15:55:47 +0200 Subject: [PATCH] =?UTF-8?q?Actualizaci=C3=B3n=20de=20los=20archivos=20de?= =?UTF-8?q?=20configuraci=C3=B3n=20del=20flujo=20de=20trabajo=20de=20OpenV?= =?UTF-8?q?idu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/openvidu-angular-tutorial.yml | 8 +++----- .github/workflows/openvidu-getaroom-tutorial.yml | 2 +- .github/workflows/openvidu-hello-world-tutorial.yml | 4 ++-- .github/workflows/openvidu-iframe-tutorial.yml | 2 +- .github/workflows/openvidu-js-screen-share-tutorial.yml | 9 +++------ .github/workflows/openvidu-js-tutorial.yml | 8 +++----- .github/workflows/openvidu-react-tutorial.yml | 8 +++----- .github/workflows/openvidu-recording-java-tutorial.yml | 4 ++-- .github/workflows/openvidu-recording-node-tutorial.yml | 6 ++---- .github/workflows/openvidu-vue-tutorial.yml | 6 +++--- 10 files changed, 23 insertions(+), 34 deletions(-) diff --git a/.github/workflows/openvidu-angular-tutorial.yml b/.github/workflows/openvidu-angular-tutorial.yml index eab2ba92..c6f48452 100644 --- a/.github/workflows/openvidu-angular-tutorial.yml +++ b/.github/workflows/openvidu-angular-tutorial.yml @@ -14,14 +14,14 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Setup Node.js uses: actions/setup-node@v4.0.0 @@ -35,13 +35,11 @@ jobs: working-directory: openvidu-angular run: | npm install - ng serve > ../results/logs/ng_server.log 2>&1 & + ng serve > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci - - - name: Install Playwright Browsers run: npx playwright install diff --git a/.github/workflows/openvidu-getaroom-tutorial.yml b/.github/workflows/openvidu-getaroom-tutorial.yml index 3ae86598..f3b342ea 100644 --- a/.github/workflows/openvidu-getaroom-tutorial.yml +++ b/.github/workflows/openvidu-getaroom-tutorial.yml @@ -14,7 +14,7 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker_log.txt 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample diff --git a/.github/workflows/openvidu-hello-world-tutorial.yml b/.github/workflows/openvidu-hello-world-tutorial.yml index 043ad552..4bbb8c75 100644 --- a/.github/workflows/openvidu-hello-world-tutorial.yml +++ b/.github/workflows/openvidu-hello-world-tutorial.yml @@ -16,14 +16,14 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Run the client application tutorial run: | diff --git a/.github/workflows/openvidu-iframe-tutorial.yml b/.github/workflows/openvidu-iframe-tutorial.yml index f049a583..8ef1ec3a 100644 --- a/.github/workflows/openvidu-iframe-tutorial.yml +++ b/.github/workflows/openvidu-iframe-tutorial.yml @@ -21,7 +21,7 @@ jobs: working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Run the client application tutorial run: | diff --git a/.github/workflows/openvidu-js-screen-share-tutorial.yml b/.github/workflows/openvidu-js-screen-share-tutorial.yml index 388c91d6..db827260 100644 --- a/.github/workflows/openvidu-js-screen-share-tutorial.yml +++ b/.github/workflows/openvidu-js-screen-share-tutorial.yml @@ -15,26 +15,24 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Run the client application tutorial run: | sudo npm install --location=global http-server - sudo http-server openvidu-js-screen-share/web > results/logs/http_server.log 2>&1 & + sudo http-server openvidu-js-screen-share/web > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci - - - name: Install Playwright Browsers run: npx playwright install @@ -46,7 +44,6 @@ jobs: cd tests npx playwright test tests/openvidu-js-screen-share-tutorial.spec.js - - uses: actions/upload-artifact@v4 if: always() with: diff --git a/.github/workflows/openvidu-js-tutorial.yml b/.github/workflows/openvidu-js-tutorial.yml index 14a9e137..5bf65c2e 100644 --- a/.github/workflows/openvidu-js-tutorial.yml +++ b/.github/workflows/openvidu-js-tutorial.yml @@ -15,25 +15,23 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Run the client application tutorial run: | sudo npm install --location=global http-server - sudo http-server openvidu-js/web > results/logs/http_server.log 2>&1 & + sudo http-server openvidu-js/web > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci - - - name: Install Playwright Browsers run: npx playwright install diff --git a/.github/workflows/openvidu-react-tutorial.yml b/.github/workflows/openvidu-react-tutorial.yml index 466c37e7..13840977 100644 --- a/.github/workflows/openvidu-react-tutorial.yml +++ b/.github/workflows/openvidu-react-tutorial.yml @@ -15,14 +15,14 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Configurar Node.js uses: actions/setup-node@v4.0.0 @@ -31,13 +31,11 @@ jobs: working-directory: openvidu-react run: | npm install - npm start > ../results/logs/npm.log 2>&1 & + npm start > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci - - - name: Install Playwright Browsers run: npx playwright install diff --git a/.github/workflows/openvidu-recording-java-tutorial.yml b/.github/workflows/openvidu-recording-java-tutorial.yml index 4d4190fb..8d4a4df0 100644 --- a/.github/workflows/openvidu-recording-java-tutorial.yml +++ b/.github/workflows/openvidu-recording-java-tutorial.yml @@ -26,7 +26,7 @@ jobs: -e OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /opt/openvidu/recordings:/opt/openvidu/recordings \ - openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Set up Java @@ -39,7 +39,7 @@ jobs: - name: Run server application sample working-directory: openvidu-recording-java run: | - mvn package exec:java > ../results/logs/mvnpackage_log.txt 2>&1 & + mvn package exec:java > ../results/logs/server_aplication.log 2>&1 & sleep 10 - name: Install dependencies diff --git a/.github/workflows/openvidu-recording-node-tutorial.yml b/.github/workflows/openvidu-recording-node-tutorial.yml index a3efcfbc..a9ee2670 100644 --- a/.github/workflows/openvidu-recording-node-tutorial.yml +++ b/.github/workflows/openvidu-recording-node-tutorial.yml @@ -25,7 +25,7 @@ jobs: -e OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /opt/openvidu/recordings:/opt/openvidu/recordings \ - openvidu/openvidu-dev:2.28.0 > results/logs/docker.log 2>&1 & + openvidu/openvidu-dev:2.28.0 > results/logs/openvidu.log 2>&1 & sleep 10 - uses: actions/setup-node@v4.0.0 @@ -34,14 +34,12 @@ jobs: run: | cd openvidu-recording-node sudo npm install - sudo node server.js http://localhost:4443 MY_SECRET > ../results/logs/node_server.log 2>&1 & + sudo node server.js http://localhost:4443 MY_SECRET > ../results/logs/server_aplication.log 2>&1 & sleep 10 - name: Install dependencies run: npm ci - - - name: Install Playwright Browsers run: npx playwright install diff --git a/.github/workflows/openvidu-vue-tutorial.yml b/.github/workflows/openvidu-vue-tutorial.yml index 88668762..9fa4798e 100644 --- a/.github/workflows/openvidu-vue-tutorial.yml +++ b/.github/workflows/openvidu-vue-tutorial.yml @@ -15,14 +15,14 @@ jobs: - name: Run OpenVidu deployment run: | - docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/docker.log 2>&1 & + docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.29.0 > results/logs/openvidu.log 2>&1 & sleep 10 - name: Run server application sample working-directory: openvidu-basic-node run: | npm install - node index.js > ../results/logs/node_index.log 2>&1 & + node index.js > ../results/logs/server_aplication.log 2>&1 & - name: Configurar Node.js uses: actions/setup-node@v2 @@ -33,7 +33,7 @@ jobs: working-directory: openvidu-vue run: | npm install - npm run serve > ../results/logs/npm.log 2>&1 & + npm run serve > ../results/logs/client_aplication.log 2>&1 & - name: Install dependencies run: npm ci