[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: stages:
- prepare - prepare
- deps
- build - build
- deploy - deploy
- release - release
@ -42,7 +41,7 @@ prepare:
dotenv: build.env dotenv: build.env
update_windows_deps: update_windows_deps:
stage: deps stage: prepare
tags: tags:
- shared-windows - shared-windows
- windows - windows
@ -57,6 +56,7 @@ update_windows_deps:
# - Pipfile.lock # - Pipfile.lock
# when: always # when: always
before_script: before_script:
- cat "${WINDOWS_FILE_TEST}"
- 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
- choco install openssh -y --no-progress - choco install openssh -y --no-progress
@ -65,7 +65,7 @@ update_windows_deps:
- 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
- ssh-add "${WINDOWS_SSH_PRIVATE_KEY}" - cat "${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: