Skip to content

Commit

Permalink
Actualización de los archivos de configuración del flujo de trabajo d…
Browse files Browse the repository at this point in the history
…e OpenVidu
  • Loading branch information
IsmailJniah committed Apr 23, 2024
1 parent 00175c0 commit ebe5ebe
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 34 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/openvidu-angular-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openvidu-getaroom-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openvidu-hello-world-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openvidu-iframe-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/openvidu-js-screen-share-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/openvidu-js-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/openvidu-react-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openvidu-recording-java-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/openvidu-recording-node-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/openvidu-vue-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ebe5ebe

Please sign in to comment.