Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,7 @@ jobs:
./build/dw-${{ matrix.name }} --version
./build/dw-${{ matrix.name }} runtime:check
./build/dw-${{ matrix.name }} list
./build/dw-${{ matrix.name }} upgrade --dry-run --output=json

- name: Restore locked launcher qualification dependencies
if: needs.resolve-release.outputs.cache_warm != 'true'
Expand Down Expand Up @@ -1503,6 +1504,7 @@ jobs:
.\build\dw-windows-x86_64.exe --version
.\build\dw-windows-x86_64.exe runtime:check
.\build\dw-windows-x86_64.exe list
.\build\dw-windows-x86_64.exe upgrade --dry-run --output=json

- name: Retain the verified standalone dependency inventory
if: needs.resolve-release.outputs.cache_warm != 'true'
Expand Down
10 changes: 10 additions & 0 deletions scripts/ci/test-standalone-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,13 @@ test('all four public dependency inventories use the ordinary required-asset and
}
assert.match(publication, /subject-path: dist\/\*/);
});

test('each native platform exercises read-only outbound HTTPS before its release artifact is handed off', () => {
const workflow = fs.readFileSync(path.join(__dirname, '../../.github/workflows/release.yml'), 'utf8');
const unix = workflow.split('\n build-binary:')[1].split('\n build-binary-windows:')[0];
const windows = workflow.split('\n build-binary-windows:')[1].split('\n bundle-release:')[0];
for (const job of [unix, windows]) {
assert.match(job, /upgrade --dry-run --output=json/);
assert.ok(job.indexOf('upgrade --dry-run --output=json') < job.indexOf('Retain the verified standalone dependency inventory'));
}
});
Loading