-
Notifications
You must be signed in to change notification settings - Fork 27
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
Image build takes a very long time #9
Comments
This issue is idle because it has been open for 14 days with no activity. |
Hi @olayemio! I saw that this is assigned to you. Do you have an idea of where the issue may be? I'd love to help speed it up. |
This issue is idle because it has been open for 14 days with no activity. |
After dealing with this so much I think I can break it down partially. Then the other large issue is the distribution. We are distributing it to 2 regions, the local and then 1 other. I have watched it take 20 to 30 minutes to do the 2 regions. So even if the building and setup take 20 minutes you are still waiting for the distribution. I have a PR where I look to add the ability to set a run variable and only have the pipeline wait until the distro starts. If the distro fails The only way to fix it would be to rerun the pipeline, but at that point, you know the build process is good, so to me from a GitHub action standpoint it could end. If I was going to build something that would use that image to make another, I would know to have it wait an hour before running and then it would be good. I could even add logic to check. PR in question The other issue is that this action just seems like it's left out. I am tempted to fork it just so I can apply the work I have done to it. |
This issue is idle because it has been open for 14 days with no activity. |
Actions update v2
Hi, not sure it this an issue or expected - when creating a custom Windows image with the command, the build takes a very long time, over 40 minutes. Just wanted to know if this is normal and if not why this might be taking so long. The command output shows 'Starting Run template...' and then takes about 40 minutes to succeed. Here is my command being run from the Github Actions worflow:
id: imageBuilder
uses: azure/build-vm-image@v0
with:
location: "eastus"
resource-group-name: "test-group"
managed-identity: "Mission"
vm-size: "Standard_B2s"
source-os-type: "windows"
source-image-type: "platformImage"
source-image: MicrosoftWindowsServer:WindowsServer:2019-Datacenter:latest
customizer-source: "${{ GITHUB.WORKSPACE }}/dist/angular-test-app"
dist-resource-id: "/subscriptions/${{ secrets.SUBSCRIPTION_ID }}/resourceGroups/test-group/providers/Microsoft.Compute/galleries/testGallery/images/testVM"
dist-type: "SharedImageGallery"
dist-location: "eastus"
The text was updated successfully, but these errors were encountered: