@@ -53,25 +53,20 @@ 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
56
57
- script : |
57
58
git fetch --unshallow
58
59
utils/build-galaxy-release.sh -i
59
60
retryCountOnTaskFailure: 5
60
61
displayName: Build Galaxy release
61
- # condition: ${{ parameters.test_galaxy }}
62
62
63
63
- script : cat infra/scenarios/ipa-ad-trust.yml
64
64
displayName : Debug - Show configuration
65
65
66
66
- script : |
67
- echo "PWD: ${PWD}"
68
- echo "TOPDIR: ${TOPDIR}"
69
- echo "ROLES: ${ANSIBLE_ROLES_PATH}"
70
- echo "LIBRARY: ${ANSIBLE_LIBRARY}"
71
- echo "MODULE_UTILS: ${ANSIBLE_MODULE_UTILS}"
72
67
# [ "${{ parameters.test_galaxy }}" == "True" ] && cd ~/.ansible/collections/ansible_collections/freeipa/ansible_freeipa
73
68
#
74
- infra/scenarios/start-scenario -D
69
+ infra/scenarios/start-scenario -D infra/scenarios/ipa-ad-trust.yml
75
70
# Give a chance for containers to be up
76
71
sleep 5
77
72
# workaround for 'sudo'
80
75
podman exec cli01 chmod u+r /etc/shadow
81
76
# Deploy nodes
82
77
ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/deploy_*.yml ||:
83
- ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/install-cluster.yml
78
+ ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/install-cluster.yml || exit 1
84
79
ansible-playbook -i ansible-freeipa-scenario/inventory.yml ansible-freeipa-scenario/playbooks/config_*.yml ||:
85
80
# Run tests
86
81
infra/scenarios/run_test_scenario.sh -k
91
86
ANSIBLE_ROLES_PATH: "${PWD}/roles"
92
87
ANSIBLE_LIBRARY: "${PWD}/plugins"
93
88
ANSIBLE_MODULE_UTILS: "${PWD}/plugins/module_utils"
94
- # IPA_SERVER_HOST: ansible-freeipa-tests
95
- # RUN_TESTS_IN_DOCKER: podman
96
89
IPA_DISABLED_MODULES: ${{ variables.ipa_disabled_modules }}
97
90
IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }}
98
91
IPA_ENABLED_MODULES: ${{ variables.ipa_enabled_modules }}
99
92
IPA_ENABLED_TESTS: ${{ variables.ipa_enabled_tests }}
100
93
# IPA_VERBOSITY: "-vvv"
101
-
102
- # - script: tar czf run_${{ parameters.build_number }}.tar.gz ansible-freeipa-scenarios
103
- # displayName: Collect configuarion and logs
104
-
105
- # - task: PublishPipelineArtifacts@1
106
- # inputs:
107
- # targetPath: run_${{ parameters.build_number }}.tar.gz
108
- # artifactName: RunLogs
109
-
110
- # - task: PublishTestResults@2
111
- # inputs:
112
- # mergeTestResults: true
113
- # testRunTitle: PlaybookTests-Build${{ parameters.build_number }}
114
- # condition: succeededOrFailed()
0 commit comments