Commit graph

23 commits

Author SHA1 Message Date
Jordan Petridis
3b59f3ebcb docker/cerbero: remove bootstrap invocation
`bootstrap --build-tools=no --toolchains=no` now do nothing, and
just repeat what the bootstrap line above does which is to only
run the system bootstraper

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/368>
2020-10-22 16:09:38 +03:00
Nirbheek Chauhan
a22f4d85a3 docker/cerbero: Do not remove toolchain downloads
We will use these when running bootstrap in the actual jobs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/350>
2020-09-23 14:18:57 +05:30
Nirbheek Chauhan
98e3c7d8b8 cerbero ci: Refactor cerbero_before_script
We were doing a few things suboptimally:

1. Making a symlink from the current directory to
   ../../gstreamer/cerbero so that build-tools kept working, which
   should not be necessary since cerbero relocates all binaries inside
   the cerbero homedir after extracting the cache.

2. Hard-coding the cerbero builddir when building on Windows because
   `pwd` was outputting an MSYS-style path which Python can't read

3. rsync-ing all the contents of $CERBERO_HOST_DIR, which is
   bad because we should be building on top of the artifact cache.
   The only thing we want from $CERBERO_HOST_DIR is cerbero-sources
   (the network cache), and we can setup the toolchain during
   bootstrap with the new --system and --toolchains arguments which
   were split out of --system-only.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/350>
2020-09-22 21:58:59 +05:30
Jordan Petridis
0f50f3901e cerbero/fedora: install which into the image
We used to get this as transient dependency it seems,
which broke rebuilds of the img once w/e pkg was
depending on it, stopped.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/338>
2020-09-10 01:01:30 +03:00
Matthew Waters
3b273b01e8 Partial revert of 9ed6305e1f
For post-merge of android ndk-21 as part of:
https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/266
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/463
2020-04-06 18:38:41 +10:00
Matthew Waters
9ed6305e1f docker/cerbero: checkout proposed ndk-21 cerbero branch 2020-04-06 11:50:21 +10:00
Jordan Petridis
a99cdc8909 docker: allow to specify the branch to pull for various repos
Declare an docker build-arg [1] and use it
whenever cloning one of our repositories. If the buildarg
is not specified, the variable defaults back to 'master'
and thus the current behavior doesn't change.

From the .gitlab-ci.yml file, when building pass
the GST_UPSTREAM_BRANCH that's defined from the ci_template
as the buildarg so we will be building the corresponding branches
for the docker images.

Close #33

[1] https://docs.docker.com/engine/reference/builder/#arg
2020-03-08 18:53:23 +00:00
Jordan Petridis
65c18304c4 docker/fedora: upgrade base images to f31
All the images except the gst-build fedora image,
due to further changes being needed
2020-02-10 10:18:42 +00:00
Nirbheek Chauhan
cb22d4c4f9 docker/cerbero: Install wine in system setup
This is now an optional runtime dependency that cerbero can make use
of for doing runtime testing of the built binaries. Needed for
building a new image so that !227 can be merged.
2020-02-04 00:16:09 +05:30
Nirbheek Chauhan
6b09187d21 docker/cerbero: Do not manually install nasm when building image
This is pulled in correctly via cerbero's bootstrap deps now.
2020-01-07 02:37:55 +05:30
Nirbheek Chauhan
4e93f92783 docker/cerbero: Temporarily add nasm to the system setup
We will later install it as part of the cerbero bootstrap step when
generating the image after
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/320 is
merged.
2019-11-10 04:27:14 +05:30
Matthew Waters
bcb1ae6cf2 Revert "docker/cerbero/fedora install openssl-devel libraries"
This reverts commit 4a8beec410.
2019-09-24 12:55:54 +10:00
Matthew Waters
4a8beec410 docker/cerbero/fedora install openssl-devel libraries
Temporary workaround until cerbero installs the library itself
2019-09-24 11:40:08 +10:00
Edward Hervey
c732a9234c docker: Upgrade cerbero image to use fedora 30 2019-09-05 17:25:37 +02:00
Nicolas Dufresne
8a20ec0606 docker: cerbero: Fix for mingw tarball rename 2019-06-06 15:42:29 -04:00
Nirbheek Chauhan
ad598c3f02 Always print timestamps when running Cerbero
This is useful when doing performance improvements or comparisons.
2019-03-25 21:49:29 +05:30
Nirbheek Chauhan
fc2b4a657c docker/cerbero: Always install lbzip2 for use in packaging
See: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/132

Needed for https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/139
2019-03-25 21:49:29 +05:30
Jordan Petridis
71ef6dd804 docker/fedora: use upstream registry to retch the base image
Fedora is now hosting its official docker images at
https://registry.fedoraproject.org
2019-03-14 15:33:05 +00:00
Nicolas Dufresne
fb5e6c2595 docker: cerbero: Add Android cross toolchain
This runs the cross-android-universal bootstrap. Note that we remove the
Android NDK source as it is no longer needed during builds.
2019-02-02 10:50:09 -05:00
Nicolas Dufresne
bd83865236 docker: Use a local config for cerbero local_source and home_dir
Ohterwise the cerbero.cbc seems to take precendence on the localconf.cbc
during builds, which cause caching issues, since data does not get stored
at the right place.
2019-01-10 16:37:45 -05:00
Nicolas Dufresne
b16ec7445f docker: cerbero: Add MingW cross toolchains
This runs the cross-win32 and cross-win64 bootstrap.
2019-01-07 13:35:07 -05:00
Nicolas Dufresne
2481157931 docker: cerbero: Add in-docker sources caching
As our runner cache in most of the time cold, and is always cold for new
contributors, which should greatly speedup the build.
2018-12-18 13:56:18 +00:00
Nicolas Dufresne
f9435d7312 docker: Create Cerbero Fedora Docker 2018-12-09 19:12:07 +00:00