-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.17 KB
/
Copy pathpublic-release-boundary.yml
File metadata and controls
45 lines (38 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Public Release Boundary
on:
pull_request:
branches: [develop, main]
push:
branches: [develop, main]
workflow_dispatch:
jobs:
boundary-validation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Validate source boundary (allowlisted scope)
run: |
bash scripts/validate-public-manifest.sh \
--root . \
--manifest release/public-manifest.yaml \
--only-included
- name: Build deterministic public artifact
run: |
mkdir -p /tmp/public-artifact
bash scripts/build-public-artifact.sh \
--root . \
--manifest release/public-manifest.yaml \
--output /tmp/public-artifact
- name: Verify artifact boundary
run: |
bash scripts/validate-public-manifest.sh \
--root /tmp/public-artifact \
--manifest release/public-manifest.yaml
- name: Run pipeline regression tests
run: |
bash tests/test_public_manifest_pipeline.sh