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

Policies are not tagged & released #956

Open
kravciak opened this issue Dec 20, 2024 · 1 comment
Open

Policies are not tagged & released #956

kravciak opened this issue Dec 20, 2024 · 1 comment
Milestone

Comments

@kravciak
Copy link
Contributor

kravciak commented Dec 20, 2024

Current problem

We are merging PRs, but not tagging & releasing policies

We would like to automate the release of policies as much as possible, to ensure dependency bumps are regularly shipped to our users.

Admission criteria

  • Create an automation that runs inside of each policy repository on a monthly basis. The check should be run around the middle of the month, to ensure policies being referenced by our helm chart are going to be updated as part of the monthly release of the Kubewarden stack (which happens at the end of the month)
  • If the was some activity (commits) into the repo, but no new release -> propose a patch release of the policy

The automation will create a PR that bumps the patch version of the policy. The automation should be smart enough to handle eventual changes to:

  • Cargo.toml: for the rust-based policies
  • metadata.yml: which includes the version of the policy
  • artifact-hub.yml: which includes data coming from metadata.yml

A maintainer will then review and merge the PR.

Some automation will then git tag the new version of the policy, triggering the already existing release pipeline.

@jvanz jvanz added this to the 1.21 milestone Dec 20, 2024
@flavio flavio transferred this issue from kubewarden/helm-charts Jan 8, 2025
@flavio
Copy link
Member

flavio commented Jan 8, 2025

As for the 1.21 release, we should focus on doing this automation on one pilot policy: pod-privileged policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants