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

Update webhook #17668

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Update webhook #17668

merged 6 commits into from
Feb 4, 2025

Conversation

lmacka
Copy link
Collaborator

@lmacka lmacka commented Feb 3, 2025

Try using the deploy webhook the AppVeyor way; we should be able to pass those variable in the environment instead of setting up a custom deploy pipeline.
Using the native way allows deploys to be retried via the UI, which is very helpful.

https://www.appveyor.com/docs/deployment/webhook/

@lmacka lmacka requested a review from a team as a code owner February 3, 2025 09:08
@lmacka lmacka requested a review from seanbudd February 3, 2025 09:08
Copy link
Member

@michaelDCurran michaelDCurran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new approach, but for now I'd prefer to still also keep the original json + ssh code at the top as well, just so that zebi continues to receive builds and keep its file system up to date just in case we suddenly need to revert back to zebi within the next little while.

appveyor.yml Outdated
url: https://api.nvaccess.org/appveyor/hook
authorization: Bearer %APPVEYOR_WEBHOOK_TOKEN%
request_timeout: 5 # minutes
# Deploy on all branches including PRs (https://www.appveyor.com/docs/deployment/#pull-requests)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine at least to test that the webhook is deploying correctly. But I'd prefer not to actually merge this particular change. PR builds are usually only used as a check, and can be already downloaded directly from appveyor artifacts. I would not want to cause confusion and or expectations about what NV access offers. We should only do try builds, snapshots and releases.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, I misunderstood you last night. I'll fix this so limited try builds are kept and PR builds are not.

@seanbudd seanbudd added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Feb 3, 2025
@michaelDCurran michaelDCurran merged commit 8a1144b into master Feb 4, 2025
5 checks passed
@michaelDCurran michaelDCurran deleted the updateWebhook branch February 4, 2025 00:16
@github-actions github-actions bot added this to the 2025.1 milestone Feb 4, 2025
LeonarddeR pushed a commit to LeonarddeR/nvda that referenced this pull request Feb 4, 2025
Try using the deploy webhook the AppVeyor way; we should be able to pass those variable in the environment instead of setting up a custom deploy pipeline.
Using the native way allows deploys to be retried via the UI, which is very helpful.
https://www.appveyor.com/docs/deployment/webhook/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants