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

Switch to release branch-based subscription channels #1436

Open
reginapizza opened this issue Jun 25, 2024 · 1 comment
Open

Switch to release branch-based subscription channels #1436

reginapizza opened this issue Jun 25, 2024 · 1 comment

Comments

@reginapizza
Copy link
Collaborator

reginapizza commented Jun 25, 2024

Is your feature request related to a problem? Please describe.
Now that argocd-operator is trying to do z-stream releases for periodic Argo CD version upgrades (especially when there are important security fixes in Argo CD), we must switch to having release-based subscription channels (ie. 0.9-branch, 0.10-branch, etc). With our current setup (having only one "alpha" channel), we are unable to release any version that is not the most recent version (ex. we cannot release 0.9.2 if there is already a 0.10 release). For this reason, in order to incorporate z-stream releases, we must switch to release-based subscription channels.

In addition to this, we should also update current documentation for how to install specific operator versions and how to do manual subscription upgrades.

Describe alternatives you've considered
We have tried only using one channel when attempting the argocd-operator v0.9.2 release, but when updating the replaces statement in the CSV of v0.10.0 from replaces: 0.9.1 to replaces: 0.9.2, we ran into an issue in the community-operators-prod repo where checks fail due to modifying an existing operator, which is not allowed (note: it is however allowed in community-operators repo)

Additional context
Check that fails in community-operators-prod:

[detect-changes : parse-repo-changes] operatorcert.entrypoints.detect_changed_operators.ValidationError: The PR modifies existing bundles: ['argocd-operator/0.10.0']
@svghadi svghadi pinned this issue Jun 26, 2024
@Elyytscha
Copy link
Contributor

sounds good, the only thing I wanted to add is that I personally think, a (git[hub])-branch based flow is not the best option right now until https://github.com/orgs/community/discussions/4618 is sorted out basically every workflow which is not trunk based (only feature branches merged into master) is doomed

only workaround is basically not using the github ui for merging or using this github action and do the merges via comments https://github.com/orgs/community/discussions/4618#discussioncomment-2795556

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

2 participants