[ci] Add job to update windows deps #11

This commit is contained in:
Fabian 2022-09-30 19:12:36 +02:00
parent 1686372dbd
commit 845cc1ca16

View File

@ -58,19 +58,17 @@ update_windows_deps:
before_script:
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- choco install python --version=$PYTHON_VERSION -y --no-progress
- ssh -V
- choco install openssh dos2unix -y --no-progress
- ssh -V
- refreshenv
- cat "${WINDOWS_FILE_TEST}"
- dos2unix "${WINDOWS_FILE_TEST}"
- cat "${WINDOWS_FILE_TEST}"
#- ssh -V
#- choco install openssh dos2unix -y --no-progress
- ssh -V
- 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 -
#- dos2unix "${WINDOWS_SSH_PRIVATE_KEY}"
#- cat "${WINDOWS_SSH_PRIVATE_KEY}" | ssh-add -
- echo $env:WINDOWS_SSH_PRIVATE_KEY | & ssh-add -
- git config --global user.name "Gitlab CI"
- git config --global user.email "ci@gitlab.com"
script: