Closed piterzet closed 1 year ago
@piterzet Hey there -- apologies for the delayed response; this is a good call-out. We use Cloud Native Buildpacks to produce a runnable application image within the task for the user if they don't provide a Dockerfile to build or a previously built and push image, but we need to install the pack
CLI for CNB in order to do so, which is what the script you mentioned above does. This should be called out in the prerequisites of the task so users know why the pack
CLI is being installed, as well as a check for the CLI when the task is executing to determine whether or not we need to install it. Thanks for the report!
@piterzet Hey there -- this issue is resolved in the latest release of the AzureContainerAppsRC
task (0.1.8). Please feel free to let us know if there's anything else that you'd like for us to address with this issue in the future. Thanks!
I run this task as a step within a pipeline which is using self-hosted agent (Ubuntu). Task crashes with log:
After digging to your code I saw this.
Don't understand why it was done this way and I don't like this. IMHO please add prerequisites entry about Cloud Native Buildpacks and in your code just check if package is aviable.