-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Hosted pipeline agent #8
Comments
I never noticed that limitation, and I ran my first image on a paid Microsoft hosted agent with success. |
Hi @YannickRe, yes, I tried it twice using the MS Hosted Agent, both times failed at 6 hours 15minutes. I got the scripts to work by creating a self hosted agent with a temporary VM, and then manually installing chocolaty, packer and the latest Powershell. Thank you for your time in putting this together, but I thought it would be useful to update your readme to mention the Hosted Agent has timeout of 6hours and would not be able to create a windows image using it. |
Thank you for informing me! Feel free to submit the PR, but otherwise I'll keep this open until I get to adjusting the readme myself. Probably this would work too: Hosted Agent to build a Linux Agent, and then use the Linux Agent to build your Windows Agent. Not sure what would be quicker: this extra step with the Linux agent or you trying to create a minimal image to create the full image 😀 Glad you made it work, and again: thank you! |
Microsoft is looking to change their scripts to only install the LATEST of each .NET runtime, which should drop the end to end runtime a huge amount, this change is going to take place September 6 I believe. The crazy thing is running the same scripts on our own hosted agent only took 5 hours, but depending on when you try to run it in the public pipelines you might run into "noisy neighbors" where all the other people using public pipelines slow down the build due to I/O or network contention. |
Have you got the URL that explains what MS are going to change in
September. That would be really helpful.
…On Mon, 9 Aug 2021, 19:37 spoelstraethan, ***@***.***> wrote:
Microsoft is looking to change their scripts to only install the LATEST of
each .NET runtime, which should drop the end to end runtime a huge amount,
this change is going to take place September 6 I believe.
The crazy thing is running the same scripts on our own hosted agent only
took 5 hours, but depending on when you try to run it in the public
pipelines you might run into "noisy neighbors" where all the other people
using public pipelines slow down the build due to I/O or network contention.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH7GYFYEJ5O4VIYJCE6MAS3T4AN6TANCNFSM5AKDZCSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@CurlyBytes thank you for the PR, I merged it and made some other README updates too Given that the README is updated regarding the original issue, I will now close this issue. |
Hello, the documentation mentioned the initial run could be run on the Hosted Pipeline, and then switched to the custom image, but this isn't the case, as the Hosted Pipelines have a 6 hour maximum run time.
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
The text was updated successfully, but these errors were encountered: