Skip to content

Commit

Permalink
chore: enable ci tests for live-status-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Nov 1, 2023
1 parent c6fb01c commit 12bc1b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ jobs:
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
uses: aquasecurity/[email protected]
with:
image-ref: '${{ steps.trivy-image.outputs.image }}'
format: 'table'
image-ref: "${{ steps.trivy-image.outputs.image }}"
format: "table"
output: trivy-scan-result.txt
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
severity: "CRITICAL,HIGH"
- name: Post all Trivy scan results to Github Summary as a table
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
env:
Expand All @@ -247,7 +247,6 @@ jobs:
cat trivy-scan-result.txt >> $GITHUB_STEP_SUMMARY
echo $CODE_BLOCK >> $GITHUB_STEP_SUMMARY
build-gateways:
# TODO - should this be dependant on tests or something passing if we are on a tag?
name: Build gateways
Expand Down Expand Up @@ -381,11 +380,11 @@ jobs:
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
uses: aquasecurity/[email protected]
with:
image-ref: '${{ steps.trivy-image.outputs.image }}'
format: 'table'
image-ref: "${{ steps.trivy-image.outputs.image }}"
format: "table"
output: ${{ matrix.gateway-name }}-trivy-scan-result.txt
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
severity: "CRITICAL,HIGH"
- name: Post all Trivy scan results to Github Summary as a table
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
env:
Expand Down Expand Up @@ -473,12 +472,12 @@ jobs:
- node-version: 18.x
package-name: openapi
# No tests for the gateways yet
# - node-version: 16.x
# - node-version: 18.x
# package-name: playout-gateway
# - node-version: 16.x
# - node-version: 18.x
# package-name: mos-gateway
# - node-version: 16.x
# package-name: live-status-gateway
- node-version: 18.x
package-name: live-status-gateway

steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('SegmentsTopic', () => {
const testPlaylist2 = makeTestPlaylist()
testPlaylist2.currentPartInfo = {
partInstanceId: protectString('PI_1'),
consumesNextSegmentId: true,
consumesQueuedSegmentId: true,
manuallySelected: false,
rundownId: protectString(RUNDOWN_1_ID),
}
Expand Down

0 comments on commit 12bc1b8

Please sign in to comment.