-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Install Extension step returns success after failing #31
Comments
That is expected behavior.
We are actively suppressing this error until tfx no longer throws this as
an error but as a warning again (it used to do so). Since the extension is
already installed, the intent of the install task has been accomplished and
we do not consider this a real error because of that.
|
So what would be the preferred way of setting up a build pipeline that continuously builds an extension and automatically installs it on a set of accounts (creating a new version number for each build? Is there any parameter to "install" to specify that we just want to update to a new version so we do not get that error? |
Your setup is fine. If the extension gets uninstalled, this task will reinstall it. But if the extension is installed to all accounts, it will remain so and the new version will automatically become available to these accounts. The Share and Install task are there for convenience, should you decide to delete a private version of the extension from the marketplace, their default share and install status will be reset, these tasks will then restore them to what the pipeline expects. In every other case, they're not going to do anything, except complain that the extension has already been shared or has already been installed to the account. I've built in logic to ignore these errors, awaiting a proper fix in tfs-cli. See also: #12. |
After executing the Install Extension step it reported success while having this console output:
error: Error: Failed Request: Conflict(409) - TF1590010: Extension eduardomhg.custom-build-tasks is already installed in this account.
The text was updated successfully, but these errors were encountered: