docker/windows: move the git user config outside the script

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/333>
This commit is contained in:
Jordan Petridis 2020-09-01 21:30:29 +03:00 committed by GStreamer Merge Bot
parent 800c46e67c
commit 894e72ee87
2 changed files with 2 additions and 3 deletions

View file

@ -9,6 +9,8 @@ ENV ErrorActionPreference='Stop'
COPY install_choco.ps1 C:\ COPY install_choco.ps1 C:\
RUN C:\install_choco.ps1 RUN C:\install_choco.ps1
RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
COPY install_toolchain.ps1 C:\ COPY install_toolchain.ps1 C:\
RUN C:\install_toolchain.ps1 RUN C:\install_toolchain.ps1

View file

@ -1,8 +1,5 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
git config --global user.email "gst-build@gstreamer.net"
git config --global user.name "Gstbuild Runner"
# FIXME: Python fails to validate github.com SSL certificate, unless we first # FIXME: Python fails to validate github.com SSL certificate, unless we first
# run a dummy download to force refreshing Windows' CA database. # run a dummy download to force refreshing Windows' CA database.
# See: https://bugs.python.org/issue36137 # See: https://bugs.python.org/issue36137