Add workflow to auto-bump koku image in cost-onprem-chart#6039
Draft
ELK4N4 wants to merge 2 commits intoproject-koku:mainfrom
Draft
Add workflow to auto-bump koku image in cost-onprem-chart#6039ELK4N4 wants to merge 2 commits intoproject-koku:mainfrom
ELK4N4 wants to merge 2 commits intoproject-koku:mainfrom
Conversation
When a PR with the `flightpath-pr` label is merged to main, this workflow creates a PR in insights-onprem/cost-onprem-chart that updates the koku image tag and bumps the chart RC version. Uses a GitHub App for cross-repo authentication. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6039 +/- ##
=======================================
- Coverage 94.3% 94.3% -0.0%
=======================================
Files 361 361
Lines 31805 31805
Branches 3484 3484
=======================================
- Hits 30007 30003 -4
Misses 1170 1170
- Partials 628 632 +4 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
bump-cost-chart.yml) that automatically bumps the koku image tag in theinsights-onprem/cost-onprem-chartrepo whenever a PR with theflightpath-prlabel is merged tomain.values.yamlwith the merge commit SHA and bumps the chart RC version viascripts/bump-version.sh --rc.COST_CHART_APP_ID/COST_CHART_APP_PRIVATE_KEYsecrets) for cross-repo authentication, avoiding any dependency on personal tokens.How it works
pull_requestclosed (merged) tomainwithflightpath-prlabelinsights-onprem/cost-onprem-chartvalues.yaml, bumps the chart versionPrerequisites
Before this workflow can run, the following must be set up:
insights-onpremorg with Contents (R/W) and Pull requests (R/W) permissionscost-onprem-chartrepoproject-koku/koku:COST_CHART_APP_IDCOST_CHART_APP_PRIVATE_KEYflightpath-prlabel must exist in this repoTest plan
flightpath-prlabel and confirm the workflow creates a PR in cost-onprem-chart with correct image tag and bumped chart versionMade with Cursor