[8.15](backport #5367) updatecli: automate the Ironbank bumps #5425
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Enable
updatecli
policies to bump the Ironbank versions automatically, then #3787 won't be manually created.Those policies can be found in https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/ (NOTE: This is a private repository only accessible by Elastic employees)
Additional changes
elastic-agent/.github/workflows/bump-golang.yml
Line 28 in 6bb6b1e
go.mod
toolchain version in sync with.go-version
contents #4636Why is it important?
One less thing to be worried about.
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
$ GITHUB_REPOSITORY=elastic/elastic-agent GITHUB_ACTOR=v1v GITHUB_TOKEN=$(gh auth token) updatecli compose apply --experimental ... Existing GitHub pull request found: https://github.com/elastic/elastic-agent/pull/5423 UDASH - EXPERIMENTAL ===================== Skipping as no Udash configuration file found at /Users/vmartinez/Library/Application Support/updatecli/udash.json ============================= SUMMARY: ✔ deps(updatecli): bump all policies: ⚠ deps: Bump ironbank version: Source: ✔ [ubi_version] Get ubi version from https://repo1.dso.mil/dsop/redhat/ubi/9.x/ubi9 Target: ✔ [dockerfile_ironbank] deps(ironbank): Bump ubi version to 9.4 ⚠ [hardening_manifest_ironbank.yaml] deps(ironbank): Bump ubi version to 9.4
Related issues
See elastic/apm-server#13934
Questions to ask yourself
This is an automatic backport of pull request #5367 done by [Mergify](https://mergify.com).