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

Consider changing release strategy #685

Closed
onedr0p opened this issue Jun 11, 2024 · 22 comments · Fixed by #722
Closed

Consider changing release strategy #685

onedr0p opened this issue Jun 11, 2024 · 22 comments · Fixed by #722
Labels
kind/enhancement New feature or request kind/help wanted Extra attention is needed

Comments

@onedr0p
Copy link
Contributor

onedr0p commented Jun 11, 2024

Team, I love using reloader but since I am using renovate to update it in my clusters the churn of releases are getting overwhelming. Any chance this can be addressed to not release on every merged PR to the main branch? Does every merged PR warrant a new release? Thanks.

EDIT: I understand the current way lessens the burden of having to manually craft new releases and makes it so this project is pretty much auto-piloted however not every merged PR justifies a release IMO.

@MuneebAijaz MuneebAijaz added kind/enhancement New feature or request kind/help wanted Extra attention is needed labels Jun 11, 2024
@IdanAdar
Copy link
Contributor

IdanAdar commented Jun 17, 2024

Would like to highlight this part from your comment:

since I am using renovate to update it in my clusters

I could understand maybe doing this in development environment, but do you update your production clusters the same way, too? This seems very specific to your use case...

@onedr0p
Copy link
Contributor Author

onedr0p commented Jun 21, 2024

It doesn't matter, whether dev, stage or production or whatever. Changing the release strategy to being manually curated would stop things like this from being released.

b73b04d

This is the second time the release has been broken in the past couple months

@buroa
Copy link

buroa commented Jun 21, 2024

Would like to highlight this part from your comment:

since I am using renovate to update it in my clusters

I could understand maybe doing this in development environment, but do you update your production clusters the same way, too? This seems very specific to your use case...

@IdanAdar This is how many organizations update, and it just broke a few of my production work clusters.

@IdanAdar
Copy link
Contributor

Puts in question your production environment IMO...

@buroa
Copy link

buroa commented Jun 21, 2024

Puts in question your production environment IMO...

Cause I use renovate? How are you an SRE Team Lead... olol

@IdanAdar
Copy link
Contributor

Because you update directly to production lolol. 🤷‍♂️

@onedr0p
Copy link
Contributor Author

onedr0p commented Jun 21, 2024

Because you update directly to production lolol. 🤷‍♂️

I never updated dev, stage or production, the PR comes from renovate for my GitOps repo, runs tests, and I can see that it fails so I don't merge it.

@IdanAdar
Copy link
Contributor

Your production broke because you pushed directly to it before testing it and you're complaining on someone else's release process instead of your own release process? Please...

@joryirving
Copy link

We also get notifications in slack at work when reloader is updated. Because it's a manual process for us to update charts (because production), it becomes a chore to manually comb through a bunch of release notes to only find out the README was updated, and functionally nothing has changed.

It would be nice to only have releases when the code is changed.

@buroa
Copy link

buroa commented Jun 21, 2024

Because you update directly to production lolol. 🤷‍♂️

You really don't understand my environment, but tried to directly criticize how I update. What's a fact here, is this merging pipeline needs to change.

Your production broke because you pushed directly to it before testing it and you're complaining on someone else's release process instead of your own release process? Please...

I have CI tests that check if image is even present, so it fails to merge. Fix this garbage release on merge pipeline.

@onedr0p
Copy link
Contributor Author

onedr0p commented Jun 21, 2024

Your production broke because you pushed directly to it before testing it and you're complaining on someone else's release process instead of your own release process? Please...

The fact of the matter this project should not be releasing builds like this in an automated fashion because there obviously isn't enough testing going on to prevent broken builds from being released, they should be manually curated like most of the other software on the internet.

@IdanAdar
Copy link
Contributor

IdanAdar commented Jun 21, 2024

"and it just broke a few of my production work clusters."

I'm not saying Reloader's release process shouldn't change, just saying yours could too. You don't have to be sensitive about it. 🤷‍♂️

P.s., I'm not a developer of Reloader. Just a user of.

@buroa
Copy link

buroa commented Jun 21, 2024

"and it just broke a few of my production work clusters."

I'm not saying Reloader's release process shouldn't change, just saying yours could too. You don't have to be sensitive about it. 🤷‍♂️

buroa/k8s-gitops#2489

Some checks were not successful

/end

@PrivatePuffin
Copy link

Puts in question your production environment IMO...

Wait a second, you start snarking-off someones production environment...
While someone politely points out your release procedure is the equivalent of hot-garbage.

I think the last person that should be snarking about someones CD pipeline, is the one that has shown to be unable to provide a decent quality CI and release pipeline, isn't it?

@IdanAdar
Copy link
Contributor

There's some confusion here -- I'm a user of Reloader, not a maintainer of, and only voiced an opinion. You don't have to agree or anything.

@buroa
Copy link

buroa commented Jun 21, 2024

There's some confusion here -- I'm a user of Reloader, not a maintainer of, and only voiced an opinion. You don't have to agree or anything.

Learn to refrain from commenting on things you truly don't understand.

@IdanAdar
Copy link
Contributor

IdanAdar commented Jun 21, 2024

You mean on things you could have explained better from the get-go instead of being exhaustive ("broke my work clusters" vs "broke my release process"? big difference between the two statements, and likely would've taken the conversation completely differently)? Anyway, to your own hilariously condescending comment, the answer is... No. 😄

Anyway, I'm still in favor. 🙄

@smuda
Copy link
Contributor

smuda commented Jun 21, 2024

Since this is a free and open source project, I think we as a community have a duty to fix problems we see, especially when we are affected ourselves 😀. Therefore, if the releases have been broken twice in the last couple of months the same way, please create a PR that checks against the problem in the release process. We will all benefit.

With that said, I'd appreciate to not have multiple releases per day since our manual process can't handle that anyway and it creates work to find all the changes.

@MuneebAijaz
Copy link
Contributor

Hi (wow this is a long thread), i personally agree with the change, it doesn't make sense to me why a small action upgrade or a small dependency upgrade would release versions so frequently, when it's not really of value to the end user.
But sadly, this is how the projects were maintained (from I dont know when). And it became quite noticeable now with renovate configured on the repo and actively merging multiple PRs every week

I apologize for the recent issues the community has faced due to broken Reloader releases.

I have strongly suggested the change internally, and once we have decided on how we want to proceed, we can take action on this.

I have suggested fortnightly manual releases, which would be done in one of the opensource calls which happen every week on Wednesday.

@MuneebAijaz
Copy link
Contributor

Hi all, we have discussed this internally, and we welcome the change. We would, however, require help from the community to switch to manual releases. If someone is willing to do it, changes can be discussed in the same thread.
Changes by the members might be much slower in comparison to the community.

@MuneebAijaz MuneebAijaz linked a pull request Aug 2, 2024 that will close this issue
@onedr0p
Copy link
Contributor Author

onedr0p commented Aug 7, 2024

@MuneebAijaz I'm happy to see a PR finally starting to tackle this issue, as we just saw the release was broken again with 1.0.120.

#699

@MuneebAijaz
Copy link
Contributor

I am on leave today. I have fixed the last version for now. Ideally I didn't want anything to be merged till workflows are fixed.

As for the PR, hopefully it will fix most of the issues, I guess i was done apologizing to people every week :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request kind/help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants