File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,25 +150,26 @@ jobs:
150150 run : |
151151 curl -sL https://github.com/mikefarah/yq/releases/download/v4.42.1/yq_linux_amd64.tar.gz | tar xz && sudo mv yq_linux_amd64 /usr/bin/yq
152152
153+ - name : Use supported Python version of the OpenStack release
154+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
155+ with :
156+ python-version : ' 3.10' # Latest supported Python runtime for 2023.1
157+
158+ - name : Get Python location
159+ id : get-python-location
160+ run : echo "location=$(which python3.10)" >> $GITHUB_OUTPUT
161+
153162 # Required for Pulp auth proxy deployment and Docker registry login.
154163 # Normally installed during host configure.
155164 - name : Install Docker Python SDK
156165 run : |
157166 . /etc/os-release
158167 if [[ $VERSION_ID == 22.04 ]]; then
159- sudo pip install docker 'requests<2.32.0'
168+ pip install docker 'requests<2.32.0'
160169 else
161- sudo pip install docker 'requests<2.32.0' --break-system-packages
170+ pip install docker 'requests<2.32.0' --break-system-packages
162171 fi
163172
164- - name : Use supported Python version of the OpenStack release
165- uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
166- with :
167- python-version : ' 3.10' # Latest supported Python runtime for 2023.1
168-
169- - name : Get Python location
170- id : get-python-location
171- run : echo "location=$(which python3.10)" >> $GITHUB_OUTPUT
172173 - name : Install Kayobe
173174 run : |
174175 mkdir -p venvs &&
You can’t perform that action at this time.
0 commit comments