-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bug: Webhook trigger from Bitbucket does not refresh Applications in 2.11.0 #18289
Comments
I have same issue on v2.11.0 with bitbucket cloud. |
Same here. |
Tested again in v2.10.10 and v2.10.11, the webhook from Bitbucket works.
A normal log from v2.10.11 looks like this
|
I'm seeing the same issue. On 2.11.0 and 2.11.1 my Bitbucket webhooks do not trigger a refresh. Things are fine on 2.10.9. |
2.11.2 Same issue. |
kubectl -n argo-cd port-forward service/argo-cd-argocd-server 8080:80
curl -vvv -L -X POST -H 'X-Event-Key: repo:push' -H 'Host: your-real-argo-fqdn.org' http://localhost:8080/api/webhook
|
EDIT: Sorry team, I think my message is incorrect- or at least half-incorrect; despite the above fix causing the webhook to land correctly in the |
Having the same issue. Rolling back to |
Same issue here as well. This is currently blocking our upgrade to |
Bitbucket and Azure devops do not provide any implementation for changedFiles. argo-cd/util/webhook/webhook.go Lines 175 to 217 in ca5caa2
The current code from #15636 will not trigger a refresh if there are no changed files: Lines 117 to 121 in 3dcddee
If anyone with bitbucket/azure SCM integration wants to implement the changed files feature or update the current implementation to account for SCM without changed files support, it would be a great contribution! |
…8765) * fix(webhook): bitbucket and azure webhook not triggering refresh Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * update unit test Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * fix merge Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * adjust logic for reposerver using ls-remote Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
…8765) * fix(webhook): bitbucket and azure webhook not triggering refresh Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * update unit test Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * fix merge Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * adjust logic for reposerver using ls-remote Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
…8765) * fix(webhook): bitbucket and azure webhook not triggering refresh Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * update unit test Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * fix merge Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * adjust logic for reposerver using ls-remote Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
…8765) (#18818) * fix(webhook): bitbucket and azure webhook not triggering refresh * update unit test * fix merge * adjust logic for reposerver using ls-remote --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
…8765) (#18819) * fix(webhook): bitbucket and azure webhook not triggering refresh * update unit test * fix merge * adjust logic for reposerver using ls-remote --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
) (argoproj#18765) * fix(webhook): bitbucket and azure webhook not triggering refresh Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * update unit test Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * fix merge Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * adjust logic for reposerver using ls-remote Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
) (argoproj#18765) * fix(webhook): bitbucket and azure webhook not triggering refresh Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * update unit test Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * fix merge Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> * adjust logic for reposerver using ls-remote Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> --------- Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Signed-off-by: Javier Solana <javier.solana@cabify.com> Signed-off-by: Javier Solana <javier.solana@cabify.com>
Checklist:
argocd version
.Describe the bug
After the update from ArgoCD 2.10.9 to 2.11.0 the sync trigger on webhook from Bitbucket does not work anymore.
To Reproduce
Expected behavior
The refresh is triggered automatically.
Version
The version of Bitbucket is v8.19.3
Logs
Bitbucket receives HTTP 200 and the above log is shown in argocd-server
The text was updated successfully, but these errors were encountered: