Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release action #32

Open
mxmxchere opened this issue Mar 6, 2024 · 1 comment · May be fixed by #51
Open

Release action #32

mxmxchere opened this issue Mar 6, 2024 · 1 comment · May be fixed by #51
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling

Comments

@mxmxchere
Copy link
Contributor

mxmxchere commented Mar 6, 2024

Currently there is no coupling between the repo state and the GitHub Releases. The GitHub releases however are the single source of code used in the quickstart-guide. In order to get a coupling between the repo and the releases we need some automation that creates GitHub Releases from the state of the repo.

<fill in standard arguments for automation here>

@jschoone jschoone added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Mar 7, 2024
@mxmxchere
Copy link
Contributor Author

mxmxchere commented Mar 27, 2024

The first iteration that came to my mind is the following: A script located in hack/ which needs to be executed in providers/x/y/z where x is the provider, y is the clusterstack name and z is the kubernetes version.

The next step is to check whether the worktree in that subdirectory is clean and up-to-date with the upstream main branch (at least the files that will be used as assets). The release version is then read from the metadata.yaml file in that directory. With that release number the script should attempt to create a new Github-release. If it is possible it should append the metadata.yaml the node-images.yaml and the zipped version of the cluster-class and the cluster-addons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants