Skip to content

Commit

Permalink
Force ansible to use python interpreter from pipx venv
Browse files Browse the repository at this point in the history
Signed-off-by: Maurizio Porrato <mporrato@redhat.com>
  • Loading branch information
mporrato committed Oct 16, 2024
1 parent 27b1e1d commit ba47faf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ jobs:
run: |
# Install python packages needed from ansible
echo $PATH
pipx list --include-injected
which ansible-playbook
which ansible-vault
pipx environment
pipx inject ansible-core jmespath openshift kubernetes pygithub
pipx list --include-injected
Expand Down Expand Up @@ -149,5 +151,6 @@ jobs:
-e "integration_tests_operator_bundle_version=0.2.${{ github.run_number }}-${{ github.run_attempt }}"
-e "operator_pipeline_image_tag=${{ github.sha }}"
-e "suffix=${{ steps.prepare.outputs.suffix }}"
-e "ansible_python_interpreter=/opt/pipx/venvs/ansible-core/bin/python3"
--skip-tags=signing-pipeline
-v

0 comments on commit ba47faf

Please sign in to comment.