Skip to content

Conversation

@v1v
Copy link
Member

@v1v v1v commented Aug 26, 2024

Support for the ironbank bump automation for ubi9 using updatecli.
It uses https://www.updatecli.io/blog/shareable-policies, for such I refactored the files under .ci/updatecli and the consumers. So now all the scm configuration is in the values file.

Motivation/summary

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

  1. gh pr checkout 13934
  2. Install updatecli
  3. Login to ghcr.io
  4. Diff (dry-run)
$ GITHUB_TOKEN=$(gh auth token) updatecli compose diff --experimental
  1. Create Pull Request if new changes
$ GITHUB_REPOSITORY=elastic/apm-server \
   GITHUB_ACTOR=v1v \
   GITHUB_TOKEN=$(gh auth token) \
updatecli compose apply --experimental

Related issues

for such I refactored the files under .ci/updatecli

uses https://www.updatecli.io/blog/shareable-policies/
@mergify
Copy link
Contributor

mergify bot commented Aug 26, 2024

This pull request does not have a backport label. Could you fix it @v1v? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Aug 26, 2024
@v1v v1v requested a review from a team August 27, 2024 15:05
@v1v v1v self-assigned this Aug 27, 2024
@v1v v1v added backport-7.17 Automated backport with mergify to the 7.17 branch backport-8.15 Automated backport with mergify labels Aug 27, 2024
@v1v v1v marked this pull request as ready for review August 27, 2024 15:07
@v1v v1v requested a review from a team as a code owner August 27, 2024 15:07
@mergify mergify bot removed the backport-skip Skip notification from the automated backport with mergify label Aug 27, 2024
@v1v v1v enabled auto-merge (squash) August 28, 2024 15:08
@v1v v1v merged commit 3351902 into main Aug 28, 2024
@v1v v1v deleted the feature/bump-ironbank branch August 28, 2024 15:29
mergify bot pushed a commit that referenced this pull request Aug 28, 2024
(cherry picked from commit 3351902)

# Conflicts:
#	.github/workflows/bump-elastic-stack.yml
#	.github/workflows/bump-golang.yml
#	.github/workflows/update-beats.yml
mergify bot pushed a commit that referenced this pull request Aug 28, 2024
(cherry picked from commit 3351902)

# Conflicts:
#	.github/workflows/bump-golang.yml
mergify bot added a commit that referenced this pull request Aug 28, 2024
* updatecli: use updatecli policies (#13934)

(cherry picked from commit 3351902)

# Conflicts:
#	.github/workflows/bump-elastic-stack.yml
#	.github/workflows/bump-golang.yml
#	.github/workflows/update-beats.yml

* Apply suggestions from code review

---------

Co-authored-by: Victor Martinez <[email protected]>
mergify bot added a commit that referenced this pull request Aug 28, 2024
* updatecli: use updatecli policies (#13934)

(cherry picked from commit 3351902)

# Conflicts:
#	.github/workflows/bump-golang.yml

* Apply suggestions from code review

---------

Co-authored-by: Victor Martinez <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@mergify
Copy link
Contributor

mergify bot commented Sep 12, 2024

backport-8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Sep 12, 2024
mergify bot pushed a commit that referenced this pull request Sep 12, 2024
(cherry picked from commit 3351902)

# Conflicts:
#	.ci/updatecli/values.d/scm.yml
#	.github/workflows/update-compose.yml
#	updatecli-compose.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-7.17 Automated backport with mergify to the 7.17 branch backport-8.x Automated backport to the 8.x branch with mergify backport-8.15 Automated backport with mergify

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants