-
Notifications
You must be signed in to change notification settings - Fork 246
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
Publish-BcContainerApp still hangs when publishing to SaaS #3775
Comments
The other failure came because of multiple apps being installed after each other. |
This was just an example. Our solution contains 4 apps: A, B, C and D. Apps B, C and D are dependent on app A. In the release pipeline we execute each app by using the Publish-BcContainerApp statement. |
Do you publish each app using Publish-BcContainerApp (i.e. calling the function 4 times)? or do you call the function with an array of 4 apps? |
At this moment we publish each app separately with the Publish-BcContainerApp command. I will make a change to use an array of 4 apps. Hopefully this will fix the issue. Mostly App A is installed but the pipeline hangs for installing the other 3 apps. |
Before modifying your scripts - have you tried the preview version of BcContainerHelper? |
Thanks for the quick response. You mean 6.0.29-preview1272? I will do the test with this version this evening and let you know the result. |
Hi Freddy,
Unfortunately the installation of the first/core app of our solution is installed successfully but than the installation hangs and the other 3 apps are not updates. I've waited more than 15 minutes. |
You are publishing into the dev scope - if you do this from VS Code (with forcesync) - how much time does it take? |
Hi Freddy, Is there a way to unpublish/uninstall the apps by using a BcContainerHelper command in the BC Online Sandbox environment. If I do this upfront perhaps the Publish-BcContainerApp command for all 4 apps is more stable? |
I could see in the logs that you where using devendpoint - so obviously no change in adding the parameter. I would like to hear how much time deploying from VS Code takes? |
Do you have any Idea based on the figures from the deployed from VSCode why the problem occurs in the pipeline and not with VS Code? |
I do not
or like? |
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
When we install our extension to a sandbox environment from a release pipeline in DevOps by using PowerShell the extension is installed/upgraded and visible in extension management but the release pipeline remains running. We need to cancel the pipeline manually so other pipeline in the queue can start.
See also issue #2718 with the same issue.
I have already set the parameter NoOfSecondsToSleepAfterPublishBcContainerApp to 10 seconds in c:\programdata\bccontainerhelper\bccontainerhelper.config.json file but this doesn't work unfortunately. You can see the screenshot the parameters seems to be set correctly.
Scripts used to create container and cause the issue
Full output of scripts
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: