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.

32 lines
895 B

  1. trigger:
  2. branches:
  3. include:
  4. - master
  5. - dev
  6. paths:
  7. include:
  8. - src/ApiGateways/*
  9. - build/azure-devops/buildimages.yml
  10. - build/azure-devops/multiarch.yml
  11. - build/azure-devops/apigws/*
  12. - deploy/k8s/helm/apigwmm/*
  13. - deploy/k8s/helm/apigwms/*
  14. - deploy/k8s/helm/apigwwm/*
  15. - deploy/k8s/helm/apigwws/*
  16. exclude:
  17. - src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
  18. - src/ApiGateways/Web.Bff.Shopping/aggregator/*
  19. jobs:
  20. - job: PublishCharts
  21. condition: ne('$(Build.Reason)', 'PullRequest')
  22. pool:
  23. vmImage: 'ubuntu-16.04'
  24. steps:
  25. - task: CopyFiles@2
  26. inputs:
  27. sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
  28. targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
  29. - task: PublishBuildArtifacts@1
  30. inputs:
  31. pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
  32. artifactName: helm