summaryrefslogtreecommitdiffstats
path: root/ansible_collections/azure/azcollection/release-pipelines.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/azure/azcollection/release-pipelines.yml
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/azure/azcollection/release-pipelines.yml')
-rw-r--r--ansible_collections/azure/azcollection/release-pipelines.yml29
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 000000000..adb69fb4d
--- /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