Skip to content

Commit 91e9431

Browse files
author
Mint de Wit
committed
chore: merge bbc-release52 into feat/ui-useredit-panel
2 parents e4cf90e + d12fdc3 commit 91e9431

File tree

570 files changed

+19605
-16933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

570 files changed

+19605
-16933
lines changed

.github/actions/setup-meteor/action.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ description: "Setup Meteor"
33
runs:
44
using: "composite"
55
steps:
6-
- run: curl "https://install.meteor.com/?release=2.13.3" | sh
7-
shell: bash
8-
- run: meteor npm install -g yarn
6+
- run: curl "https://install.meteor.com/?release=3.1" | sh
97
shell: bash

.github/workflows/audit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
yarn
3131
cd meteor
32-
meteor yarn validate:prod-dependencies
32+
yarn validate:prod-dependencies
3333
env:
3434
CI: true
3535

@@ -57,7 +57,7 @@ jobs:
5757
run: |
5858
yarn
5959
cd meteor
60-
meteor yarn run validate:all-dependencies
60+
yarn run validate:all-dependencies
6161
env:
6262
CI: true
6363

.github/workflows/node.yaml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# setup zodern:types. No linters are setup, so this simply installs the packages
4747
meteor lint
4848
49-
meteor yarn ci:lint
49+
yarn ci:lint
5050
env:
5151
CI: true
5252

@@ -85,7 +85,7 @@ jobs:
8585
# setup zodern:types. No linters are setup, so this simply installs the packages
8686
meteor lint
8787
88-
NODE_OPTIONS="--max-old-space-size=6144" meteor yarn unitci --force-exit
88+
NODE_OPTIONS="--max-old-space-size=6144" yarn unitci --force-exit
8989
env:
9090
CI: true
9191
- name: Send coverage
@@ -247,6 +247,8 @@ jobs:
247247
- name: Trivy scanning
248248
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
249249
uses: aquasecurity/[email protected]
250+
env:
251+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
250252
with:
251253
image-ref: "${{ steps.trivy-image.outputs.image }}"
252254
format: "table"
@@ -396,6 +398,8 @@ jobs:
396398
- name: Trivy scanning
397399
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
398400
uses: aquasecurity/[email protected]
401+
env:
402+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
399403
with:
400404
image-ref: "${{ steps.trivy-image.outputs.image }}"
401405
format: "table"
@@ -476,38 +480,30 @@ jobs:
476480
- blueprints-integration
477481
- server-core-integration
478482
- shared-lib
479-
node-version: [14.x, 18.x, 20.x, 22.x]
483+
- openapi
484+
node-version: [22.x]
480485
include:
481486
# include additional configs, to run certain packages only for a certain version of node
482-
- node-version: 14.x
487+
- node-version: 22.x
483488
package-name: corelib
484489
send-coverage: true
485-
- node-version: 14.x
490+
- node-version: 22.x
486491
package-name: job-worker
487492
send-coverage: true
488-
# manual openapi to avoid testing for 14.x
489-
- node-version: 18.x
490-
package-name: openapi
491-
- node-version: 20.x
492-
package-name: openapi
493-
- node-version: 22.x
494-
package-name: openapi
495493
# No tests for the gateways yet
496-
# - node-version: 18.x
494+
# - node-version: 22.x
497495
# package-name: playout-gateway
498-
# - node-version: 18.x
496+
# - node-version: 22.x
499497
# package-name: mos-gateway
500-
- node-version: 18.x
498+
- node-version: 22.x
501499
package-name: live-status-gateway
502500
send-coverage: true
503-
- node-version: 18.x
501+
- node-version: 22.x
504502
package-name: webui
505503
# manual meteor-lib as it only needs a couple of versions
506-
- node-version: 18.x
504+
- node-version: 22.x
507505
package-name: meteor-lib
508506
send-coverage: true
509-
- node-version: 14.x
510-
package-name: meteor-lib
511507

512508
steps:
513509
- uses: actions/checkout@v4
@@ -527,7 +523,7 @@ jobs:
527523
run: |
528524
cd packages
529525
yarn config set cacheFolder /home/runner/test-packages-cache
530-
node is_node_14.js && yarn lerna run --ignore openapi install || yarn install
526+
yarn install
531527
yarn lerna run --scope \*\*/${{ matrix.package-name }} --include-dependencies --stream build
532528
env:
533529
CI: true

.github/workflows/prerelease-libs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- blueprints-integration
5454
- server-core-integration
5555
- shared-lib
56-
node-version: [14.x, 18.x, 20.x, 22.x]
56+
node-version: [22.x]
5757

5858
steps:
5959
- uses: actions/checkout@v4

.github/workflows/prune-container-images.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
prune-container-images:
10+
if: ${{ github.repository_owner == 'nrkno' }}
11+
1012
uses: nrkno/sofie-github-workflows/.github/workflows/prune-container-images.yml@main
1113
strategy:
1214
max-parallel: 1

.github/workflows/prune-tags.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616

1717
jobs:
1818
prune-tags:
19+
if: ${{ github.repository_owner == 'nrkno' }}
20+
1921
name: Prune tags
2022
runs-on: ubuntu-latest
2123
timeout-minutes: 15

.github/workflows/trivy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
jobs:
88
trivy:
9+
if: ${{ github.repository_owner == 'nrkno' }}
10+
911
name: Trivy scan
1012
runs-on: ubuntu-latest
1113
strategy:
@@ -16,13 +18,17 @@ jobs:
1618
steps:
1719
- name: Run Trivy vulnerability scanner (json)
1820
uses: aquasecurity/[email protected]
21+
env:
22+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
1923
with:
2024
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
2125
format: json
2226
output: '${{ matrix.image }}-trivy-scan-results.json'
2327

2428
- name: Run Trivy vulnerability scanner (table)
2529
uses: aquasecurity/[email protected]
30+
env:
31+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
2632
with:
2733
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
2834
output: '${{ matrix.image }}-trivy-scan-results.txt'
@@ -39,6 +45,8 @@ jobs:
3945
4046
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
4147
uses: aquasecurity/[email protected]
48+
env:
49+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
4250
with:
4351
format: 'github'
4452
output: 'dependency-results-${{ matrix.image }}.sbom.json'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ meteor/.coverage/
44
node_modules
55
**/yarn-error.log
66
scratch/
7+
meteor-settings.json
78

89
# Exclude JetBrains IDE specific files
910
.idea

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16
1+
22.11

.vscode/settings.json.default

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"packages/shared-lib",
1010
"packages/job-worker",
1111
"packages/openapi",
12-
"packages/live-status-gateway"
12+
"packages/live-status-gateway",
13+
"packages/webui"
1314
],
1415
"prettier.enable": true,
1516
"sonarlint.connectedMode.project": { "projectKey": "nrkno_sofie-core" },

0 commit comments

Comments
 (0)