microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
280 stars 114 forks source link

[Bug]: Publish to Environment stopped working #1217

Open gntpet opened 3 days ago

gntpet commented 3 days ago

AL-Go version

AL-GO 5.3

Describe the issue

Publish to Envirnoment suddenly fails with this error:

SRS_SRS.base_1.0.1944.0.app - Downloading AL Language Extension (Prerelease) to /home/runner/.bccontainerhelper/alLanguageExtension/15.0.1143290.zip
using Expand-Archive
/usr/bin/chmod: cannot access '/home/runner/.bccontainerhelper/alLanguageExtension/15.0.1143290/extension/bin/linux/altool': No such file or directory
ERROR: Command /home/runner/.bccontainerhelper/alLanguageExtension/15.0.1143290/extension/bin/linux/altool not found, you might need to install that command. [System.Management.Automation.RuntimeException]

my deployment settings are:

image

Expected behavior

"Publish to Environment" to work

Steps to reproduce

Run "Publish to Environment"

Additional context (logs, screenshots, etc.)

It did work on Wednesday

freddydk commented 3 days ago

Have the same issue reported from other partners - seems like the altool executable was removed - will investigate what happened.

gntpet commented 2 days ago

Thanks @freddydk , I also tried to deploy manually, but it does not work either. Give the following error message:

Package deployment failed due to the following error(s): Failure status code ServiceUnavailable returned - Job Id : 89aeade1-9c38-4e3b-bad9-f6239ee796af

Perhaps it's related issue

freddydk commented 2 days ago

Thanks @freddydk , I also tried to deploy manually, but it does not work either. Give the following error message:

Package deployment failed due to the following error(s): Failure status code ServiceUnavailable returned - Job Id : 89aeade1-9c38-4e3b-bad9-f6239ee796af

Perhaps it's related issue

Manually? like in the BC Web Client? That is definitely not the same - this problem is caused by the altool not available in the allanguage.vsix package.

freddydk commented 2 days ago

The problem is in the pre-release version of the AL Language extension. The altool is now altool.dll (which seems to be wrong) - I will report this. In the meantime, I have changed BcContainerHelper to use the latest version as the default instead of the pre-release - it should work again now from the pipeline.