-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enable ci tests for live-status-gateway
- Loading branch information
Showing
2 changed files
with
11 additions
and
12 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
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