molecule scenario to test upgrading from releases

Provide a separate scenario to install the last release, then update to
the current one.
Also includes improved deployment verification (check if uploading a
.txt through the API works).
This commit is contained in:
Fabian Koller
2021-01-16 11:52:36 +01:00
parent 19f73f5782
commit 8884a4dfdf
11 changed files with 192 additions and 25 deletions

View File

@@ -26,10 +26,15 @@ jobs:
docker --version
molecule --version
python --version
- name: Test with molecule
- name: Test fresh installation with molecule
run: |
cd ansible
molecule test
molecule test -s fresh
working-directory: "${{ github.repository }}"
- name: Test release update with molecule
run: |
cd ansible
molecule test -s update
working-directory: "${{ github.repository }}"
# # https://galaxy.ansible.com/docs/contributing/importing.html
# release: