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.

27 lines
718 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/Basket/*
  12. - build/azure-devops/buildimages.yml
  13. - build/azure-devops/multiarch.yml
  14. - build/azure-devops/basket-api/*
  15. - deploy/k8s/helm/basket-api/*
  16. jobs:
  17. - template: ../buildimages.yaml
  18. parameters:
  19. services: basket-api
  20. registryEndpoint: $(registryEndpoint)
  21. helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
  22. helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
  23. - template: ../multiarch.yaml
  24. parameters:
  25. image: basket.api
  26. branch: $(Build.SourceBranchName)
  27. registryEndpoint: $(registryEndpoint)