You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
820 B

5 years ago
  1. variables:
  2. registryEndpoint: eshop-registry
  3. trigger:
  4. branches:
  5. include:
  6. - master
  7. - dev
  8. paths:
  9. include:
  10. - src/BuildingBlocks/*
  11. - src/Services/Ordering/*
  12. - build/azure-devops/buildimages.yml
  13. - build/azure-devops/multiarch.yml
  14. - build/azure-devops/ordering-api/*
  15. - deploy/k8s/helm/ordering-api/*
  16. - deploy/k8s/helm/ordering-backgroundtasks/*
  17. - deploy/k8s/helm/ordering-signalrhub/*
  18. jobs:
  19. - template: ../buildimages.yaml
  20. parameters:
  21. services: ordering-api
  22. registryEndpoint: $(registryEndpoint)
  23. helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
  24. helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
  25. - template: ../multiarch.yaml
  26. parameters:
  27. image: ordering.api
  28. branch: $(Build.SourceBranchName)
  29. registryEndpoint: $(registryEndpoint)