Container app update check provisionned

BIEBUYCK Kevin 1 Reputation point
2022-09-21T07:03:24.347+00:00

Hello,

I just finished to setup a CI/CD pipeline with azure devops.
When everything goes well the pipeline works fine.

But, when the container fails to start for any reason, the CD pipeline is still "green".
I'm trying to find a way to set the pipeline in error when the container don't really starts.
To do that, I'd like to check whether the new revision of my container app is well provisioned and is working or not

Is there a plugin or a script to achieve that goal ?

For information here is the script I use to deploy a new image tag to my container app :

          az config set extension.use_dynamic_install=yes_without_prompt            
          az containerapp update  `  
            -g someGroup `  
            --name containerAppName `  
            --tags version=$(Build.BuildNumber) `  
            --image "registry/image:$(Build.BuildNumber)"  
  
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,359 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
286 questions
{count} votes