You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
If you happen to set the label to the same as the branch name, then the newest commit (abc...) on startup of flux is fetched and applied. But then from there on out every time it polls it will say that HEAD=abc... and not apply changes even if you've since pushed a new commit. Restarting flux will then cause it to fetch the actual newest commit and start over being stuck at that commit.
Changing the label to something else, doing git push --delete origin tags/<label> and then restarting flux fixes this.
The text was updated successfully, but these errors were encountered:
@sebastianblunt may I ask you what version of Flux you are running? I tried to replicate the issue to start working on it but I am seeing different behavior from Flux than what you describe.
In my setup (running of a build from latest master, with --git-branch and --git-label set to something), new commits are applied but the actual tag never reaches git (which is nevertheless something that needs to be fixed).
Following option 2) https://github.com/weaveworks/flux/blob/master/site/faq.md#i-have-a-dedicated-kubernetes-cluster-per-environment-and-i-want-to-use-the-same-git-repo-for-all-how-can-i-do-that
If you happen to set the label to the same as the branch name, then the newest commit (abc...) on startup of flux is fetched and applied. But then from there on out every time it polls it will say that HEAD=abc... and not apply changes even if you've since pushed a new commit. Restarting flux will then cause it to fetch the actual newest commit and start over being stuck at that commit.
Changing the label to something else, doing
git push --delete origin tags/<label>
and then restarting flux fixes this.The text was updated successfully, but these errors were encountered: