mirror of
https://github.com/hashicorp/vault.git
synced 2026-07-14 19:42:37 -04:00
Replace active versions bash/jq pipelines in enterprise GitHub Actions workflows with new `pipeline releases list active-version`Github outputs. We add new flags (`--include-main`, `--include-ce-prefix`, `--github-output`) that generate pre-computed branch lists and matrix entries. - Add `--include-main` flag to include the `main` branch in output - Add `--include-ce-prefix` flag, which allows you to specify an optional branch prefix. This can be used to inject `ce/main` and `ce/release/<version>` branches into the branch outputs. - Add three new matrix fields to the Github output: * `active_versions_matrix`: ENT-only branches * `ce_active_versions_matrix`: CE-only branches * `all_active_versions_matrix`: Both CE and ENT branches - Matrix entries include metadata: `branch`, `version`, `edition`, `lts`. The edition here is only `ent` or `ce` based on the `ce_active` field in the active versions list. - Add `active_branches`, `ce_active_branches`, `lts_active_branches`, and `all_active_branches` arrays to Github output for smaller but useful outputs. - `check-go-version-ent.yml`: Use `active_branches` instead of `jq` pipeline - `nightly-tests-ent.yml`: Use `active_branches` instead of `jq` pipeline - `sync-ce-branches-from-ent.yml`: Use `ce_active_versions_matrix` with pre-computed branch names instead of constructing them in workflow - `release-procedure-ent.yml`: Use `active_branches` instead of `jq` pipeline All outputs are functionally equivalent to previous behavior with the same branch names, just sorted alphabetically. Matrix entries provide additional metadata (`edition`, `lts`) for conditional workflow logic. Co-authored-by: Ryan Cragun <me@ryan.ec> |
||
|---|---|---|
| .. | ||
| codechecker | ||
| pipeline | ||
| semgrep | ||
| stubmaker | ||
| testimagemaker | ||
| tools.go | ||
| tools.sh | ||