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.

29 lines
781 B

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