-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
307 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Check health of SFU docker image | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "SFU/**" | ||
pull_request: | ||
paths: | ||
- "SFU/**" | ||
|
||
jobs: | ||
build-docker-image: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build the SFU container image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
push: false | ||
file: SFU/Dockerfile | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Check health of wilbur docker image | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "SignallingWebServer/**" | ||
pull_request: | ||
paths: | ||
- "SignallingWebServer/**" | ||
|
||
jobs: | ||
build-docker-image: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build the wilbur container image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
push: false | ||
file: SignallingWebServer/Dockerfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Library Health | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "Common/**" | ||
- "Signalling/**" | ||
- "SignallingWebServer/**" | ||
- "Frontend/library/**" | ||
- "Frontend/ui-library/**" | ||
- "Frontend/implementations/typescript/**" | ||
pull_request: | ||
paths: | ||
- "Common/**" | ||
- "Signalling/**" | ||
- "SignallingWebServer/**" | ||
- "Frontend/library/**" | ||
- "Frontend/ui-library/**" | ||
- "Frontend/implementations/typescript/**" | ||
|
||
env: | ||
NODE_VERSION: 18.17.x | ||
|
||
jobs: | ||
build: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ env.NODE_VERSION }}" | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Clean build and lint checks on common library | ||
working-directory: Common | ||
run: npm ci && npm run build && npm run lint | ||
|
||
- name: Clean build and lint checks on signalling library | ||
working-directory: Signalling | ||
run: npm ci && npm link ../Common && npm run build && npm run lint | ||
|
||
- name: Clean build and lint checks on wilbur | ||
working-directory: SignallingWebServer | ||
run: npm ci && npm link ../Signalling && npm run build && npm run lint | ||
|
||
- name: Clean build, lint and unit tests on frontend library | ||
working-directory: Frontend/library | ||
run: npm ci && npm link ../../Common && npm run build && npm run lint && npm run test | ||
|
||
- name: Clean build and lint checks on frontend ui library | ||
working-directory: Frontend/ui-library | ||
run: npm ci && npm link ../library && npm run build && npm run lint | ||
|
||
- name: Clean build of frontend implementation | ||
working-directory: Frontend/implementations/typescript | ||
run: npm ci && npm link ../../library ../../ui-library && npm run build | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/check-markdown-links.yml → .../workflows/healthcheck-markdown-links.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Check Markdown links | ||
name: Check health of document links | ||
|
||
on: push | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check health of platform scripts | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "SignallingWebServer/**" | ||
pull_request: | ||
paths: | ||
- "SignallingWebServer/**" | ||
|
||
jobs: | ||
run-script-linux: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Launch and query signalling server using the REST API | ||
working-directory: SignallingWebServer | ||
run: | | ||
./platform_scripts/bash/start.sh --rest_api & | ||
curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost/api/status | ||
run-script-windows: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Launch and query signalling server using the REST API | ||
working-directory: SignallingWebServer | ||
run: | | ||
Start-Process -NoNewWindow .\platform_scripts\cmd\start.bat --rest_api | ||
curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost/api/status | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Check health of signalling protocol | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "Common/**" | ||
- "Signalling/**" | ||
- "SignallingWebServer/**" | ||
- "SS_Test/**" | ||
pull_request: | ||
paths: | ||
- "Common/**" | ||
- "Signalling/**" | ||
- "SignallingWebServer/**" | ||
- "SS_Test/**" | ||
|
||
jobs: | ||
signalling-protocol-test: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Launch signalling tests in docker containers | ||
uses: isbang/[email protected] | ||
with: | ||
compose-file: "SS_Test/docker-compose.yml" | ||
up-flags: "--build --abort-on-container-exit --exit-code-from tester" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Publish container images | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['UE5.5'] | ||
paths: ['SignallingWebServer/**'] | ||
|
||
jobs: | ||
signalling-server-image: | ||
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v3 | ||
- | ||
name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
username: pixelstreamingunofficial | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- | ||
name: Build and push the Signalling Server container image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
tags: 'pixelstreamingunofficial/pixel-streaming-signalling-server:5.4' | ||
push: true | ||
file: SignallingWebServer/Dockerfile | ||
- | ||
name: Build and push the SFU container image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
tags: 'pixelstreamingunofficial/pixel-streaming-sfu:5.4' | ||
push: true | ||
file: SFU/Dockerfile | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build/ | ||
node_modules/ | ||
|
Oops, something went wrong.