diff options
Diffstat (limited to 'ansible_collections/azure/azcollection/release-pipelines.yml')
-rw-r--r-- | ansible_collections/azure/azcollection/release-pipelines.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ansible_collections/azure/azcollection/release-pipelines.yml b/ansible_collections/azure/azcollection/release-pipelines.yml new file mode 100644 index 00000000..adb69fb4 --- /dev/null +++ b/ansible_collections/azure/azcollection/release-pipelines.yml @@ -0,0 +1,29 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: + tags: + include: + - v*.*.* + +pr: none + +pool: + name: pool-ubuntu-2004 + +steps: +- script: | + pip install wheel + pip install ansible==v2.9.0 + ansible --version + displayName: 'install ansible' + +- script: | + ansible-galaxy collection build . + displayName: 'build collection' + +- script: | + ansible-galaxy collection publish *.tar.gz --api-key $(GALAXY_KEY) + displayName: 'publish collection'
\ No newline at end of file |