-
Notifications
You must be signed in to change notification settings - Fork 7
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
Non-production deployments causing task to fail #28
Comments
It's happening to us too, since we configured the pipeline, a month ago |
I'm getting a similar issue--the deploy job runs until it times out, but the Vercel preview build was fully deployed. |
I encountered a similar issue where the deployment was successful on Vercel, but it failed on Azure. Changing the version as mentioned here resolved the problem for me for now. |
Hey all, apologies for the error, the latest version 1.6.0 should be working for you now and I'm working on adding a preview version of the extension for more thorough testing in the future! |
@codybrouwers This still appears to be happening on 1.6. Just tested now, and the error message is present with the task failing:
|
Ah okay, sorry about that @general-adhoc, I assumed it was related to an issue we had to rollback for 1.6.0. I'll reopen this issue |
@Paulshaju thank you for the workaround here 🙏 @codybrouwers Would you happen to know why an Azure DevOps pipeline would not be recognizing a specific task version? When I attempt to pin my task at
I receive an error:
I believe the reason might be that the Vercel Deployment Extension I have installed from the marketplace is set to Thank you for your help (I'm new to Azure...) and for maintaining this extension. |
Is there a bypass for the users who use this in the GUI release pipelines and can't change the version as they please? thx |
I think I've figured out the root cause! TLDR: As a quick fix make sure to use your Team ID (starting with For reference here a PR with succeeding pipeline and preview deployment. To the actual issue:
With a Full Account scope token you can retrieve a If this assumption is correct and all accounts are migrated (@codybrouwers – maybe you can confirm?) I would propose to remove support for the Personal Vercel ID altogether in favor of only allowing usage of a Team ID. I'll prepare a PR adjusting the docs to match the quick fix I've described in the beginning and prepare a second PR to remove the functionality tied to the Personal Vercel ID. |
Addition: This is issue not related to #32 and thus can't be avoided by pinning your version to an older version! |
Vercel deployments are succeeding to non-prod (
production: false
), but Azure is reporting task failure:Only difference between the below YAML examples is the
production
input.Successful YAML (deployment and Azure task succeed):
Failing YAML (deployment succeeds, azure task reports failure):
Both of these will successfully deploy to Vercel (one to prod, another to a preview), but the deployment task is being reported as failing in Azure in the latter.
The text was updated successfully, but these errors were encountered: