Repository URL to install this package:
Version:
6.0.0 ▾
|
When contributing to this repository, please first discuss the change you wish to make via issue, or any other method with the owners of this repository before making a change.
tests/integration/cloud-config-azure.ini
, a template of which is available in the Ansible repo. Populate your appropriate credential and resource group information.
git init tests/staging
ansible-test
inside a container (--docker
flag), it is recommended you install Ansible and this repository's dependencies in a virtual environment:
python3 -m venv venv . venv/bin/activate pip3 install -U pip pip3 install ansible pip3 install -r requirements-azure.txt pip3 install -r sanity-requirements-azure.txt
rm azure-azcollection-*.tar.gz && ansible-galaxy collection build . --force && ansible-galaxy collection install azure-azcollection-*.tar.gz -p tests/staging --force
cd tests/staging/ansible_collections/azure/azcollection/
ansible-test integration azure_rm_storageaccount --allow-destructive -v ansible-test sanity azure_rm_storageaccount --color --junit -v
Additional ansible-test
resources:
dev
branch, commit your changes on this branch.tests/integration/targets/<relevant-module>/tasks
.pip install -r sanity-requirements-azure.txt
, run with ansible-test sanity --color -v --junit
. Read more at https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html.tests/utils/ado/ado.sh
for running tests inside an Azure DevOps pipeline. Unfortunately the pipeline and results are not visible for the public. You can perhaps adapt the parts of the script or use a small playbook to run the task list of the integration tests mentioned above.v*.*.*
, push to origin.dev
branch.For each release details, you can refer to the CHANGELOG which contains the dates and significant changes in each minor release.