Jordan Petridis
8f0481f19a
docker/windows: make the powershell scripts more robust
...
Check the exit codes of various commands and fail
appropriatly upon error.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/392 >
2021-02-25 04:25:25 +02:00
Biswapriyo Nath
2cd6f5f6b9
docker/windows: Update msys2 installer to 2021-02-15 version.
...
This fixes the PGP key installation issue.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/396 >
2021-02-16 15:57:39 +02:00
Jordan Petridis
869fa72595
docker/windows: update msys snapshot
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/297 >
2020-06-16 01:54:02 +05:30
Jordan Petridis
0320050e06
docker/windows: install cmake with choco as well
2020-01-29 17:39:46 +00:00
Jordan Petridis
df6ebdeaaf
docker/windows: install git, gitlfs, 7zip and python3 with choco
...
Move them into a seperate script to avoid needing to refresh the
env, and make it simpler.
Adapted from patches by Xavier Claessens!
2020-01-29 17:39:46 +00:00
Jordan Petridis
c0caae0722
docker/windows: use direct download links from mirrors
...
Else Invoke-WebRequest gets redirected and ends up downloading
html page. Possibly due to an unkown user-agent? who knows.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
21df205069
docker/windows: Download and install MSYS for Cerbero
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
d8e87dc89a
docker/windows: Install CMake for Cerbero
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
6267810f3a
docker/windows: Fix 7zip extract command for MSYS2
...
-Wait is only needed for Start-Process. Also, explicitly extract the
tar file into C:\ -- don't assume the current directory is C:\
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
cfb15f47b8
docker/windows: Clarify some MSYS2 install steps
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
1ae8f6491f
docker/windows: Update python, git, and MSYS2
...
The git update is particularly important because of security
vulnerabilities on Windows related to NTFS.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
b722709cad
docker/windows: Use load-balancing for sourceforge URLs
...
Instead of using a specific mirror, which may be slow or might
disappear.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
cec8de9054
docker/windows: Install Python to a path without spaces
...
This is needed for Cerbero since Autotools cannot handle paths to
binaries that have spaces in them.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
ddf9f8962f
docker/windows: Download Python installer as python3-installer
...
Having a binary called 'python3' anywhere that might accidentally end
up in PATH is asking for trouble.
2020-01-29 17:39:46 +00:00
Jordan Petridis
b3aa9b5286
windows: Migrate to windows 1809 base
...
Rebuild the windows docker image against the current ltsc [1]
of server 2019. This requires moving some of the msys setup
to the runner job cause it causes docker build to hang
Switch the job tags so they now use the 1809 runner, instead
of 1607.
Tweak the PATHs in the msys job so bash doesn't complain about
slashes..
Lastly, increase the timeout of the windows jobs, as msys2
installs its deps at runtime
[1] https://docs.microsoft.com/en-us/windows-server/get-started-19/servicing-channels-19
2019-12-04 18:45:22 +02:00
Jordan Petridis
2fadd6e3d0
docker/windows: update the version of various deps we install
2019-11-26 17:42:14 +00:00
Jordan Petridis
072cf0122a
docker/windows: refactorings to get it to work with the new runner
...
* Install git-lfs as its required now by gst-integration-suites
* Clone gst-build eache time to avoid dated gst-build checkouts
and overwritting .wrap files. Similar to !137
* Split the dockerfile and add a second run stage refresh the
powershell env inbetween calls
* Remove the msys2 workaround as its not needed anymore
2019-08-16 17:17:01 +00:00