Skip to content

Commit

Permalink
[ci] Call pip2/3 using sudo (#166)
Browse files Browse the repository at this point in the history
Call pip2/3 using sudo to ensure packages are installed globally.
  • Loading branch information
jleveque committed Feb 10, 2021
1 parent 5521f67 commit c31636e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ steps:

- script: |
set -xe
pip2 install swsssdk-2.0.1-py2-none-any.whl
pip2 install sonic_py_common-1.0-py2-none-any.whl
pip2 install sonic_config_engine-1.0-py2-none-any.whl
pip3 install swsssdk-2.0.1-py3-none-any.whl
pip3 install sonic_py_common-1.0-py3-none-any.whl
pip3 install sonic_config_engine-1.0-py3-none-any.whl
sudo pip2 install swsssdk-2.0.1-py2-none-any.whl
sudo pip2 install sonic_py_common-1.0-py2-none-any.whl
sudo pip2 install sonic_config_engine-1.0-py2-none-any.whl
sudo pip3 install swsssdk-2.0.1-py3-none-any.whl
sudo pip3 install sonic_py_common-1.0-py3-none-any.whl
sudo pip3 install sonic_config_engine-1.0-py3-none-any.whl
workingDirectory: $(Pipeline.Workspace)/target/python-wheels/
displayName: 'Install Python dependencies'

Expand Down

0 comments on commit c31636e

Please sign in to comment.