File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3838 - name : Set up Ansible collections
3939 run : |
4040 sudo update-alternatives --install /usr/bin/python python $(which python3) 1
41- pip install ansible-core==2.12 ansible-builder pycodestyle voluptuous pylint pyyaml ansible-lint
41+ pip install --upgrade pip
42+ pip install ansible-core==2.12 ansible-builder bindep pycodestyle voluptuous pylint pyyaml ansible-lint
43+ mkdir -p /usr/share/ansible/collections /usr/share/ansible/roles
4244 ansible-galaxy collection install -r builder/requirements.yml -p /usr/share/ansible/collections
4345 ansible-galaxy role install -r builder/requirements.yml -p /usr/share/ansible/roles
4446
5052
5153 - name : Set up Ansible collection dependencies
5254 run : |
53- ansible-builder introspect \
54- --write-pip final_python.txt --write-bindep final_bindep.txt \
55- /usr/share/ansible/collections
56- pip install -r final_python.txt
57- sudo apt-get -y install $(cat final_bindep.txt)
55+ ansible-builder introspect --write-pip final_python.txt --write-bindep final_bindep.txt /usr/share/ansible/collections
56+ [[ -f final_python.txt ]] && pip install -r final_python.txt || echo "No Python dependencies found."
57+ [[ -f final_bindep.txt ]] && bindep --file final_bindep.txt || echo "No system dependencies found."
5858
5959 - name : Report installed Python dependencies
6060 run : pip freeze
Original file line number Diff line number Diff line change 1616
1717namespace : cloudera
1818name : exe
19- version : 1.7.3
19+ version : 1.7.4
2020readme : README.md
2121authors :
2222-
Webster Mudge <[email protected] >
You can’t perform that action at this time.
0 commit comments