azure tests don't like sshpass v1.06 so pegging to 1.05

This commit is contained in:
Steven Robertson 2020-10-20 22:16:28 -07:00
parent b68d4e9a7f
commit ddb87f6b0c
1 changed files with 7 additions and 1 deletions

View File

@ -21,8 +21,14 @@ with ci_lib.Fold('unit_tests'):
with ci_lib.Fold('job_setup'):
os.chmod(KEY_PATH, int('0600', 8))
# NOTE: sshpass v1.06 causes errors so pegging to 1.05 -> "msg": "Error when changing password","out": "passwd: DS error: eDSAuthFailed\n",
# there's a checksum error with "brew install http://git.io/sshpass.rb" though, so installing manually
if not ci_lib.exists_in_path('sshpass'):
run("brew install esolitos/ipa/sshpass")
run("curl -O -L https://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz && \
tar xvf sshpass-1.05.tar.gz && \
cd sshpass-1.05 && \
./configure && \
sudo make install")
with ci_lib.Fold('machine_prep'):