build kots with apko+melange in presubmit #3950
Closed
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 this PR does / why we need it:
This PR adds a presubmit GitHub Actions workflow to build and publish a kots image from the PR's source, including relevant other packages like
helm
,kustomize
, andkubectl
. For now, only the latestkubectl
is included in the image, but we should be able to add older supportedkubectl
s relatively soon.To do this, the PR adds an
apko.yaml
andmelange.yaml
to be used with (you guessed it) apko and melange to build kots into an APK and to install that APK into an image.Which issue(s) this PR fixes:
None that I'm aware of.
Special notes for your reviewer:
None
Steps to reproduce
See apko_melange_build.md
Does this PR introduce a user-facing change?
None at this time, though this could be extended to produce user-visible images by this process either on pushes to
main
or at release-time.Does this PR require documentation?
Yes, added in apko_melange_build.md
cc @denhamparry