2021-11-23 18:43:46 +08:00
|
|
|
variables:
|
|
|
|
registryEndpoint: eshop-registry
|
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- dev
|
2021-11-24 10:23:59 +08:00
|
|
|
- local
|
2021-11-23 18:43:46 +08:00
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- src/BuildingBlocks/*
|
|
|
|
- src/Web/WebMVC/*
|
|
|
|
- build/azure-devops/buildimages.yml
|
|
|
|
- build/azure-devops/multiarch.yml
|
|
|
|
- build/azure-devops/webmvc/*
|
|
|
|
- deploy/k8s/helm/webmvc/*
|
|
|
|
jobs:
|
|
|
|
- template: ../buildimages.yaml
|
|
|
|
parameters:
|
|
|
|
services: webmvc
|
|
|
|
registryEndpoint: $(registryEndpoint)
|
|
|
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
|
|
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
|
|
|
- template: ../multiarch.yaml
|
|
|
|
parameters:
|
|
|
|
image: webmvc
|
|
|
|
branch: $(Build.SourceBranchName)
|
|
|
|
registryEndpoint: $(registryEndpoint)
|