-
Notifications
You must be signed in to change notification settings - Fork 4
69 lines (58 loc) · 1.98 KB
/
Copy pathrelease-check.yml
File metadata and controls
69 lines (58 loc) · 1.98 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Release Check
on:
workflow_dispatch:
pull_request:
paths:
- "pyproject.toml"
- "MANIFEST.in"
- "Makefile"
- "ksadk/**"
- "ksadk_runtime_common/**"
- "tests/compat/**"
- "tests/e2e/test_codex_plugin_bridge_e2e.py"
- "tests/e2e/test_codex_provider_app_server_e2e.py"
- "tests/e2e/test_dsh_managed_toolchain_e2e.py"
- "tests/plugins/test_dsh_node_provider_e2e.py"
- "tests/fixtures/dsh-node-agent-provider/**"
- "tests/packaging/test_phase2_release_preflight.py"
- "tests/studio/e2e/**"
- "scripts/open_source_audit.py"
- "scripts/audit_release_artifacts.py"
- "scripts/phase2_release_preflight.py"
- "scripts/verify_ksadk_web_static.py"
- "scripts/write_build_provenance.py"
- "docs/phase2-plugin-compatibility.md"
- ".github/workflows/release-check.yml"
jobs:
artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: uv sync --extra all
- name: Install Chromium for Phase 2 browser gates
run: uv run playwright install --with-deps chromium
- name: Build pinned frontend static assets
env:
KSADK_WEB_VERSION: "0.3.4"
run: make build-frontend
- name: Verify clean release source
run: |
test -z "$(git status --porcelain --untracked-files=all)"
- name: Build one provenance-bound artifact pair
run: |
rm -rf dist
uv run python scripts/write_build_provenance.py
uv build --out-dir dist
- name: Run Phase 2 release preflight
run: uv run --extra all python scripts/phase2_release_preflight.py --dist-dir dist