Files
offline_kubespray/collection/azure/azcollection/release-pipelines.yml
ByeonJungHun 360c6eef4a offline 작업
2024-02-19 16:02:29 +09:00

29 lines
628 B
YAML

# 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:
vmImage: 'ubuntu-latest'
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'