vault/tools
Vault Automation 7904091a80
[VAULT-40696] pipeline: refactor workflows to use enhanced active-versions command
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>
2026-07-09 16:44:48 +00:00
..
codechecker license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
pipeline [VAULT-40696] pipeline: refactor workflows to use enhanced active-versions command 2026-07-09 16:44:48 +00:00
semgrep Backport Manual backport of #14335, #14350, #14417, #14334, and #14540 into ce/release/2.x.x (#14644) 2026-05-08 13:50:36 -04:00
stubmaker license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
testimagemaker Backport Manual backport of #14335, #14350, #14417, #14334, and #14540 into ce/release/2.x.x (#14644) 2026-05-08 13:50:36 -04:00
tools.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
tools.sh license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00