[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: before_script:
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- choco install python --version=$PYTHON_VERSION -y --no-progress - choco install python --version=$PYTHON_VERSION -y --no-progress
- ssh -V
- choco install openssh dos2unix -y --no-progress
- ssh -V
- refreshenv - refreshenv
- cat "${WINDOWS_FILE_TEST}" #- ssh -V
- dos2unix "${WINDOWS_FILE_TEST}" #- choco install openssh dos2unix -y --no-progress
- cat "${WINDOWS_FILE_TEST}" - ssh -V
- python --version - python --version
- pip install pipenv - pip install pipenv
- Get-Service -Name ssh-agent | Set-Service -StartupType Manual - Get-Service -Name ssh-agent | Set-Service -StartupType Manual
- ssh-agent - ssh-agent
- dos2unix "${WINDOWS_SSH_PRIVATE_KEY}" #- dos2unix "${WINDOWS_SSH_PRIVATE_KEY}"
- cat "${WINDOWS_SSH_PRIVATE_KEY}" | ssh-add - #- 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.name "Gitlab CI"
- git config --global user.email "ci@gitlab.com" - git config --global user.email "ci@gitlab.com"
script: script: