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

Support to promote the latest release to a particular environment #53

Open
LinuxSuRen opened this issue Dec 7, 2021 · 0 comments
Open

Comments

@LinuxSuRen
Copy link
Contributor

Below is a regular kustomize YAML file:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- manager.yaml

images:
- name: ghcr.io/kubesphere-sigs/ks-releaser
  newName: ghcr.io/kubesphere-sigs/ks-releaser
  newTag: v0.0.13

configMapGenerator:
- files:
  - controller_manager_config.yaml
  name: manager-config

I'd like to suggest having a feature to promote the latest release to a particular environment. Such as, if ks-releaser project just released v0.0.14, then create a PR to bump the version from v0.0.13 to v0.0.14.

Such as, we can have the following CRD:

kind: Promote
spec:
  releaser: xxx
  git: xxx
  environments:
  - name: int
     path: int
     policy: automated | pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant