Commit a706dd2
authored
ci: auto GitHub Releases + parallel test scenarios (#11)
## Summary
Two CI improvements:
### Auto-create GitHub Release after GHCR publish
- New `create-release` job runs after `post-publish` verification
- Uses `gh release create --generate-notes` for PR-based changelog
- Scopes notes to changes since the previous tag
- Uses `env:` block for `github.ref_name` (security best practice)
### Split test-scenarios into 3 parallel groups (~60% faster)
The 17 scenarios are split by estimated build cost:
- **fast** (6 scenarios): default_options, completions_pipeline,
mcp_enabled, negative_validation, security_permissions,
completions_disabled
- **medium** (6 scenarios): custom_version, custom_install_path,
custom_node_version, install_path_with_completions, mount_host_config,
node_preinstalled
- **slow** (5 scenarios): idempotency, upgrade_version,
multi_feature_combo, alpine_specific, fedora_default
Each group dynamically filters `scenarios.json` via `jq` at runtime — no
file duplication. Expected wall-clock: ~3.5 min (down from ~8-10 min
serial).
## Test plan
- [x] All 3 scenario groups pass (fast, medium, slow)
- [x] All 8 image matrix jobs pass
- [x] arm64 tests pass
- [x] No scenarios silently dropped (all 17 present across groups)1 parent 14c56f0 commit a706dd2
2 files changed
Lines changed: 74 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | | - | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
82 | 112 | | |
83 | 113 | | |
84 | 114 | | |
| |||
88 | 118 | | |
89 | 119 | | |
90 | 120 | | |
91 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
92 | 136 | | |
93 | 137 | | |
94 | 138 | | |
95 | | - | |
96 | 139 | | |
97 | 140 | | |
98 | 141 | | |
| |||
119 | 162 | | |
120 | 163 | | |
121 | 164 | | |
122 | | - | |
| 165 | + | |
123 | 166 | | |
124 | 167 | | |
125 | 168 | | |
| |||
0 commit comments