Complete azure-pipelines toolkit with generation and validation capabilities
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
An e-commerce platform team is moving their product catalog service to Kubernetes on Azure (AKS). Currently they build a Docker image locally and push it manually to an Azure Container Registry. They want to automate this with a pipeline that:
The team has had incidents where a production deployment pulled the wrong image because the tag was ambiguous. They want the pipeline to tag images in a way that makes every deployment traceable back to a specific build.
Produce azure-pipelines.yml with a complete multi-stage pipeline covering the Docker build, staging deployment, and production deployment. The ACR service connection name is myACR and the image repository is catalog-service. The AKS service connections are aks-staging and aks-production. Kubernetes manifests are in k8s/deployment.yml and k8s/service.yml.