-
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
Extension compatibility #9
Comments
Hi @UPStroll, and thank you for reporting this issue! I apologize for my answer's delay, I've been a little bit busy last days... I'm investigating your issue, which seems to be the same as #10. I am trying to publish a new version and see what is going on, I'll let you know when I'll find a resolution! |
We can't figure why #10 is happening now, and I must admit that I would like to see it fixed first before investigating if your issue is on-prem specific or not... Sorry for the inconvenience :( |
I just published a new version on the marketplace that I could install on a fresh VSTS account. Thank you! |
Hello, I also work with UPS Trolls and have tried to install the extension on my TFS, it is still not showing up, could it be due to it being on prem vs VSTS? |
Hi @vinimehta, and thank you for the update! There should be no reason for our extension not being installed on On-Prem TFS. As I do not have a server to test it at the moment, could you give me some extra informations on the behavior? Could you download and then upload it? Or maybe you could even install it on a collection? Do you have any error message or failed HTTP request that could be revealed in your browser's Developer tools? At the same time, I'll install a VM with an On-Prem TFS and will try to reproduce your issue as soon as possible, but the more information you can provide to me, the faster I could solve this issue :) |
Hey @asiffermann, so we can go as far as downloading it on my box, uploading it, and installing it. we get no errors! However, when we go on to the task window for build and release and apply the tasks attached to the extension, it does not show up? maybe we miss something in the download and it could be a user error? hope this helps! Thanks in advance, |
Thank you for your quick reply :) Wow, that's a very strange behavior... |
Haha, yes! we are not sure why its doing that. thank you so much :) |
Hello, Just wanted to follow up and check if you found anything out about our issue? |
@vinimehta to help narrow down the issue can you try to install any of our other extension and tell us is the problem remains the same? |
@sandorfr I downloaded the file patch build and release extension and that seems to be working for us. Thank you, |
Thanks @vinimehta looks like this is related to issue #10 which won't be fix anytime soon on premise I guess. @asiffermann I guess we'll have to remove azcopy task from this extension and spawn a new one :( |
@sandorfr @asiffermann I don't know if this will help or not, but we tried adding other Azure extensions and those are the ones we are having an issue with? |
@vinimehta I can reproduce your installation issue on On-Prem TFS... :( What are the other Azure extensions did you try to install? I'm investigating if it is related to #10 or not trying to install a version of our extension without the AzCopy task. |
@asiffermann Hope that helps! |
This is a random thought, but Maybe an azureRM endpoint / service feature we are using is not yet available on premise? |
Yes, it's an interesting lead! It could be related to agents capabilities too. |
as far as I know, nope. we have created build with Azure related tasks thought. But I don't think we have especially configured an agent with Azurereps. |
One more development: just noticed that one of the tasks is showing up. its the Azure copy file. the rest of the tasks are still not showing up. |
Quick follow up, it seems to be related to the build agent version. We are using the PowerShell3 executer, which is only available starting at version 1.97 (see microsoft/azure-pipelines-tasks#2473) I'm not sure if this version of build agent can be registered for an On-Prem TFS 2015 Update 2, but I'm on it and will update you asap. |
The only path I see for now to resolve our tasks' compatibility with older build agents is to rewrite it for the Node executer. In the meanwhile, we should enhance tasks' documentation to include the minimum agent version number to clarify which task will be available. It is at the moment visible in each task.json file (1.103.0), but does not take into account the PowerShell3 executer availability. By the way, which task in particular were you interested in? Maybe I can help you to extract the Powershell scripts that you could include in your projects and execute thanks to the Azure Powershell task? |
I'm already bringing all the common azure libraries to the kitchen with the azcopy task, hence this should be that much of an overhead adding the missing arm libraries. That said, we should first make sure Microsoft has definitely fixed the extension size issue. Last time we've heard about it they had a partial workaround and were advising to reduce our extension size by discontinuing our azcopy task (which is not an acceptable solution). |
Nope, the dependencies must be packaged for each task, so having them in the AzCopy task does not change anything, unfortunately :( |
It depends if the issue comes from the zip size. Duplicated files should bring little to no overhead to its size. We should try to publish a dummy extension just to see and investigate how to fix it if need be with MSFT. They might have been questioning the justification of the size of our extension in the past, but I think that compatibility with former agents and xplat support are not a questionable use case. I read more and more story about people using linux agents to build aspnet core apps these days. |
The installation issue came not really from the extension size itself, but from the number of files in it. We could just try to add the necessary dependencies (without migrating for now) and to publish our dev extension, but I'm not confident at all... I wonder if it won't be a better way not to rely on the Node SDK, but just call the REST APIs directly. |
Not a big fan of the last option. I think we should pursue the discussion we started with them. This is in the DNA of Node to bring dozens of small packages together, so they should support it. |
Hey all, We did want to focus on getting all the tasks that focused on the web.config values. So is there a way to just download then upload each task one by one? or did I miss read what you had written? |
Hi @vinimehta, The thing is, that would not change the version of your build agents. From what we have read, on premise version of TFS are stuck with their bundled agent version (except on mac). Sadly, older versions do not support Powershell3 executor. TFS2017 is coming and switches to the latest xplat agent, but I guess very few people will migrate until the first Service Pack. The discussion we were having is about dropping powershell in favor of node (which is not a small task). node would work this TFS2015 update 2. The thing is, we know that there is a bug affecting extensions with a large number of files, so we are questioning the rationality of doing that. I hope this clears the picture. Though, I have a question regarding what you asked: If you are looking for a way to edit your web.config values prior packaging and deploying, our File Patch extension might be what you are looking for. |
Hi @sandorfr I have installed the file patch extension and will tell the that it will enable then to edit the web.config. as for the tasks the user is most interested in @asiffermann , they expressed interest in the Web App: Slots Swap, https://marketplace.visualstudio.com/items?itemName=geeklearningio.gl-vsts-tasks-azure Start and Stop) Thank you for all your help! |
We loaded this extension in our on-prem environment (tfs 2015 update 2) but it does not show up. Does this work for on-prem or just VSTS?
The text was updated successfully, but these errors were encountered: