@@ -53,41 +53,19 @@ jobs:
53
53
env:
54
54
SKIP_GIT_TEST: ${{ parameters.skip_git_test }}
55
55
56
- # Deployment of IPA servers/clients is done through the collection
57
56
- script : |
58
- git fetch --unshallow
59
- utils/build-galaxy-release.sh -i
60
- retryCountOnTaskFailure: 5
61
- displayName: Build Galaxy release
62
-
63
- - script : cat infra/scenarios/ipa-ad-trust.yml
64
- displayName : Debug - Show configuration
65
-
66
- - script : |
67
- # [ "${{ parameters.test_galaxy }}" == "True" ] && cd ~/.ansible/collections/ansible_collections/freeipa/ansible_freeipa
68
- #
69
- infra/scenarios/start-scenario -D infra/scenarios/ipa-ad-trust.yml
70
- # Give a chance for containers to be up
71
- sleep 5
72
- # workaround for 'sudo'
73
- podman exec addc chmod u+r /etc/shadow
74
- podman exec server chmod u+r /etc/shadow
75
- podman exec cli01 chmod u+r /etc/shadow
76
- # Deploy nodes
77
- ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/deploy_*.yml ||:
78
- ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/install-cluster.yml || exit 1
79
- ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/config_*.yml ||:
80
57
# Run tests
81
- infra/scenarios/run_test_scenario.sh -k
58
+ infra/scenarios/run_test_scenario.sh -k -vvv
82
59
displayName: Run playbook tests
83
60
env:
84
61
SKIP_GIT_TEST: ${{ parameters.skip_git_test }}
85
- ${{ if not(parameters.test_galaxy) }}:
62
+ ${{ if not(parameters.test_galaxy) }}:
86
63
ANSIBLE_ROLES_PATH: "${PWD}/roles"
87
64
ANSIBLE_LIBRARY: "${PWD}/plugins"
88
65
ANSIBLE_MODULE_UTILS: "${PWD}/plugins/module_utils"
66
+ ${{ if parameters.test_galaxy }}:
67
+ ANSIBLE_COLLECTIONS_PATH: "${HOME}/.ansible/collections/ansible_collections"
89
68
IPA_DISABLED_MODULES: ${{ variables.ipa_disabled_modules }}
90
69
IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }}
91
70
IPA_ENABLED_MODULES: ${{ variables.ipa_enabled_modules }}
92
71
IPA_ENABLED_TESTS: ${{ variables.ipa_enabled_tests }}
93
- # IPA_VERBOSITY: "-vvv"
0 commit comments