Skip to content

Commit 09cfa00

Browse files
committed
Merge branch 'release50' into release51
2 parents 54da786 + cd03395 commit 09cfa00

File tree

5 files changed

+36
-19
lines changed

5 files changed

+36
-19
lines changed

.github/PULL-REQUEST-TEMPLATE.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,27 @@ What is the new behavior?
3030
-->
3131

3232

33-
## Testing Instructions
33+
## Testing
3434
<!--
35-
Please provide some instructions and other information for how to verify that the feature works.
35+
When you add a feature, you should also provide relevant unit tests, in order to
36+
* ensure that the feature works as expected
37+
* ensure that the feature will continue to work in the future
38+
-->
39+
40+
- [ ] I have added one or more unit tests for this PR
41+
- [ ] I have updated the relevant unit tests
42+
- [ ] No unit test changes are needed for this PR
43+
44+
### Affected areas
45+
46+
<!--
47+
Please provide some details on what areas of the system that are affected by this PR.
48+
This is useful for testers to know where to focus their testing efforts.
3649
Examples:
37-
* "Do a Take for a part that contains an adlib, verify that the adlib plays out."
38-
* "Open the Switchboard panel and toggle a route, verify that the route toggles in the GUI."
39-
* "This feature also affects 'feature X', so that needs to be tested for regressions as well."
50+
* This PR affects the playout logic in general.
51+
* This PR affects the timing calculation in the Rundown during playout.
52+
* This PR affects the NRC/MOS integration
53+
*
4054
-->
4155

4256

.github/workflows/node.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
password: ${{ secrets.GITHUB_TOKEN }}
213213
- name: Build and push to GHCR
214214
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
215-
uses: docker/build-push-action@v5
215+
uses: docker/build-push-action@v6
216216
with:
217217
context: .
218218
file: ./meteor/Dockerfile.circle
@@ -223,7 +223,7 @@ jobs:
223223
github-token: ${{ github.token }}
224224
- name: Build and push to DockerHub
225225
if: steps.check-build-and-push.outputs.enable == 'true' && steps.dockerhub.outputs.dockerhub-publish == '1'
226-
uses: docker/build-push-action@v5
226+
uses: docker/build-push-action@v6
227227
with:
228228
context: .
229229
file: ./meteor/Dockerfile.circle
@@ -239,7 +239,7 @@ jobs:
239239
echo "image=$image" >> $GITHUB_OUTPUT
240240
- name: Trivy scanning
241241
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
242-
uses: aquasecurity/trivy-action@0.17.0
242+
uses: aquasecurity/trivy-action@0.24.0
243243
with:
244244
image-ref: "${{ steps.trivy-image.outputs.image }}"
245245
format: "table"
@@ -362,7 +362,7 @@ jobs:
362362
password: ${{ secrets.GITHUB_TOKEN }}
363363
- name: Build and push to GHCR
364364
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
365-
uses: docker/build-push-action@v5
365+
uses: docker/build-push-action@v6
366366
with:
367367
context: ./packages
368368
file: ./packages/${{ matrix.gateway-name }}/Dockerfile.circle
@@ -372,7 +372,7 @@ jobs:
372372
tags: "${{ steps.ghcr-tag.outputs.tags }}"
373373
- name: Build and push to DockerHub
374374
if: steps.check-build-and-push.outputs.enable == 'true' && steps.dockerhub.outputs.dockerhub-publish == '1'
375-
uses: docker/build-push-action@v5
375+
uses: docker/build-push-action@v6
376376
with:
377377
context: ./packages
378378
file: ./packages/${{ matrix.gateway-name }}/Dockerfile.circle
@@ -388,7 +388,7 @@ jobs:
388388
echo "image=$image" >> $GITHUB_OUTPUT
389389
- name: Trivy scanning
390390
if: steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
391-
uses: aquasecurity/trivy-action@0.17.0
391+
uses: aquasecurity/trivy-action@0.24.0
392392
with:
393393
image-ref: "${{ steps.trivy-image.outputs.image }}"
394394
format: "table"
@@ -622,7 +622,7 @@ jobs:
622622
CI: true
623623
- name: Publish
624624
if: github.ref == 'refs/heads/master' # always publish for just the master branch
625-
uses: peaceiris/actions-gh-pages@v3
625+
uses: peaceiris/actions-gh-pages@v4
626626
with:
627627
github_token: ${{ secrets.GITHUB_TOKEN }}
628628
publish_dir: ./packages/documentation/build

.github/workflows/trivy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
image: ["server-core", "playout-gateway", "mos-gateway"]
1414
steps:
1515
- name: Run Trivy vulnerability scanner (json)
16-
uses: aquasecurity/trivy-action@0.17.0
16+
uses: aquasecurity/trivy-action@0.24.0
1717
with:
1818
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
1919
format: json
2020
output: '${{ matrix.image }}-trivy-scan-results.json'
2121

2222
- name: Run Trivy vulnerability scanner (table)
23-
uses: aquasecurity/trivy-action@0.17.0
23+
uses: aquasecurity/trivy-action@0.24.0
2424
with:
2525
image-ref: ghcr.io/nrkno/sofie-core-${{ matrix.image }}:latest
2626
output: '${{ matrix.image }}-trivy-scan-results.txt'
@@ -36,7 +36,7 @@ jobs:
3636
echo $CODE_BLOCK >> $GITHUB_STEP_SUMMARY
3737
3838
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
39-
uses: aquasecurity/trivy-action@0.17.0
39+
uses: aquasecurity/trivy-action@0.24.0
4040
with:
4141
format: 'github'
4242
output: 'dependency-results-${{ matrix.image }}.sbom.json'
@@ -54,7 +54,7 @@ jobs:
5454
echo ${{ env.SUMMARY }}
5555
5656
- name: Send Slack Notification
57-
uses: slackapi/slack-github-action@v1.25.0
57+
uses: slackapi/slack-github-action@v1.26.0
5858
with:
5959
payload: |
6060
{

DEVELOPER.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ Follow these instructions to start up Sofie Core in development mode. (For produ
1818

1919
### Prerequisites
2020

21-
- Install [Node.js](https://nodejs.org) 18 (14 should also work) (using [nvm](https://github.com/nvm-sh/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows) is the recommended way to install Node.js)
22-
- If on Windows: `npm install --global windows-build-tools`
21+
- Install [Node.js](https://nodejs.org) 14 (using [nvm](https://github.com/nvm-sh/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows) is the recommended way to install Node.js)
2322
- Install [Meteor](https://www.meteor.com/install) (`npm install --global meteor`)
23+
- Install [Node.js](https://nodejs.org) 18 (using the same method you used above, you can uninstall node 14 if needed)
24+
- Install an older version of corepack (`npm install --global [email protected]`)
2425
- Enable [corepack](https://nodejs.org/api/corepack.html#corepack) (`corepack enable`) as administrator/root. If `corepack` is not found, you may need to install it first with `npm install --global corepack`
2526

27+
- If on Windows, you may need to `npm install --global windows-build-tools` but this is not always necessary
28+
2629
### Quick Start
2730

2831
```bash

packages/documentation/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = {
7070
items: [
7171
{
7272
label: 'Sofie Slack Community',
73-
href: 'https://join.slack.com/t/sofietv/shared_invite/enQtNTk2Mzc3MTQ1NzAzLTJkZjMyMDg3OGM0YWU3MmU4YzBhZDAyZWI1YmJmNmRiYWQ1OTZjYTkzOTkzMTA2YTE1YjgxMmVkM2U1OGZlNWI',
73+
href: 'https://join.slack.com/t/sofietv/shared_invite/zt-2bfz8l9lw-azLeDB55cvN2wvMgqL1alA',
7474
},
7575
],
7676
},

0 commit comments

Comments
 (0)