[ci] Add job to update windows deps #5

This commit is contained in:
Fabian 2022-09-30 17:46:20 +02:00
parent 0f65475b84
commit 242b738871

View File

@ -59,12 +59,13 @@ update_windows_deps:
- cat "${WINDOWS_FILE_TEST}"
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- choco install python --version=$PYTHON_VERSION -y --no-progress
- choco install openssh -y --no-progress
- choco install openssh dos2unix -y --no-progress
- refreshenv
- python --version
- pip install pipenv
- Get-Service -Name ssh-agent | Set-Service -StartupType Manual
- ssh-agent
- dos2unix "${WINDOWS_SSH_PRIVATE_KEY}"
- cat "${WINDOWS_SSH_PRIVATE_KEY}" | ssh-add -
- git config --global user.name "Gitlab CI"
- git config --global user.email "ci@gitlab.com"