feat: implement multi version K8s build matrix and docker arguments (#27)#29
Open
danishdynamic wants to merge 1 commit into52North:mainfrom
Open
feat: implement multi version K8s build matrix and docker arguments (#27)#29danishdynamic wants to merge 1 commit into52North:mainfrom
danishdynamic wants to merge 1 commit into52North:mainfrom
Conversation
Member
|
Please keep the pygeoapi-manager version in the tag, e.g. |
Member
|
Furthermore, you should also consider the |
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.
Description:
This PR improves the build pipeline to support different kubernetes versions by introducing a build matrix and configuring both build time and run time versioning.
Key Changes:
Multi version support: Added a strategy.matrix to the github actions workflow to build images for k8s versions 1.33, 1.34, and 1.35 in parallel.
Dynamic tagging: Updated docker tags to include the k8s version (e.g., k8s-1.35), ensuring clear identification on docker hub.
Dockerfile configuration:
Added ARG K8S_VERSION to accept the version from the CI matrix.
Added ENV K8S_VERSION to make the cluster version available to the pygeoapi-k8s-manager at runtime.
Tooling: Integrated uv in the pipeline for faster, locked dependency management.