[ci] Add job to update windows deps #4

This commit is contained in:
Fabian 2022-09-30 17:33:21 +02:00
parent 10a481e606
commit 0f65475b84

View File

@ -18,7 +18,6 @@ workflow:
stages:
- prepare
- deps
- build
- deploy
- release
@ -42,7 +41,7 @@ prepare:
dotenv: build.env
update_windows_deps:
stage: deps
stage: prepare
tags:
- shared-windows
- windows
@ -57,6 +56,7 @@ update_windows_deps:
# - Pipfile.lock
# when: always
before_script:
- 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
@ -65,7 +65,7 @@ update_windows_deps:
- pip install pipenv
- Get-Service -Name ssh-agent | Set-Service -StartupType Manual
- ssh-agent
- ssh-add "${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"
script: