Guillaume Desmottes
b9c68041b2
gitlab: cache CARGO_HOME in shared cache
2020-01-15 15:10:10 +05:30
Guillaume Desmottes
8e1b1c43c7
gitlab: enable gst-plugins-rs in build fedora jobs
2020-01-13 09:15:11 +05:30
Guillaume Desmottes
5fc211d107
gitlab: don't run gst-plugins-rs tests
...
They are not working with CI atm, see #46
2020-01-13 09:15:11 +05:30
Nirbheek Chauhan
10326927d5
gitlab-ci: Fix docker tag when pushing image
...
Missed in https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/213
2020-01-08 23:46:35 +05:30
Guillaume Desmottes
f46a0d33c0
gitlab: build gst-omx with zynq as target
...
Build just the minimum to be able to build gst-omx with this specific
target.
2020-01-08 10:03:02 +00:00
Nirbheek Chauhan
eedde1884a
gitlab-ci.yml: Allow tagging images built on upstream branches
...
If we're on the gstreamer namespace, we should push all images built
on that namespace to the registry. This is needed to, f.ex., update
the docker image used in stable builds. This is needed for:
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/367
2020-01-07 12:58:21 +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
Guillaume Desmottes
e41650913e
gitlab: disable most jobs for gst-plugins-rs
...
No need to run jobs which are not building gst-plugins-rs.
2020-01-02 14:03:26 +05:30
Nirbheek Chauhan
d0fbcac3df
gitlab/gst-build: Disable building rust plugins
...
gst-build now includes gst-plugins-rs, but gst-plugins-rs CI does not
run the gst-build CI jobs, so MRs can easily break gst-build CI.
F.ex: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/merge_requests/186#note_371696
Disable this till that's resolved.
2019-12-25 17:11:17 +05:30
Guillaume Desmottes
d175858bad
gitlab: update Fedora image
...
Include Rust environnement fix.
2019-12-23 14:24:17 +05:30
Guillaume Desmottes
8a85aa6eba
docker: export RUSTUP/CARGO_HOME in container
...
The rust binaries (rustc) needs those variables to be defined to work
properly.
2019-12-23 11:53:22 +05:30
Guillaume Desmottes
2976046506
gitlab: update fedora image
...
Use image with Rust.
2019-12-20 15:45:17 +05:30
Guillaume Desmottes
af9982cffe
docker/fedora: install Rust
...
Needed to build gst-plugins-rs, see gst-plugins-rs!205
2019-12-20 13:43:40 +05:30
Xavier Claessens
511ffe9fa1
Update fedora image
2019-12-18 13:47:01 -05:00
Xavier Claessens
0b3645f7fd
docker/fedora: Update meson to 0.52.1
2019-12-18 10:48:14 -05:00
Eric Marks
f4d335bc8c
docker/fedora: Install libcaca and aalib
...
Add libcaca-devel and aalib-devel to dependencies so that cacasink and
aasink can be built.
2019-12-17 16:30:07 -05:00
Jordan Petridis
51ff579cec
ci_template: limit cerbero jobs to the GStreamer tagged runners
...
CCache tends to consume a lot of space which taxes heavily some
of the shared runners. Limit the mahcines the job can run
to those were we can ensure they will not have issues with
the storage.
2019-12-11 17:55:59 +02:00
Matthew Waters
aa18f639b5
gitlab: enable ios builds by default
...
They are small enough now to not impact the overall running time of a CI
pipeline.
2019-12-06 00:53:24 +11:00
Tim-Philipp Müller
926fcc52b9
ci_template: bump timeout for msys2 job
2019-12-05 00:38:15 +00:00
Jordan Petridis
bc7f2feb5b
windows: fix invalid powershell syntax
...
```
At line:1 char:34
+ cd $env:CI_PROJECT_DIR/gst-build && python git-update --no-interactio ...
+ ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : InvalidEndOfLine
```
This is not bash, but powershell, hue hue hue
2019-12-05 00:59:34 +02:00
Jordan Petridis
5c0ad2facd
ci_template: make sure powershell hard exists on errors
...
We set the env var as the shell of the image, but looks like
the gitlab runner is overriding that.
2019-12-05 00:59:34 +02: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
Matthew Waters
9c7c52f5b9
gitlab: build cerbero android/ios for gst-docs examples
2019-12-03 10:37:16 +11:00
Jordan Petridis
626be8a012
ci_template: Increase the timeout of gst-builds more
...
Need to take into account I/O needed to upload artficats
and download docker images.
2019-12-03 00:53:02 +02:00
Jordan Petridis
d382cb0b75
ci_template: Bump the timeout limit from 10 to 15min for windows
2019-12-01 14:46:27 +02:00
Jordan Petridis
ae90b9a042
ci_template: set per-job timeouts for builds
...
In case a build gets stuck for whatever reason,
happens from time to time on windows,
try to baild out quickly.
For cerbero builds, set the timeout to 3h which
according to the docs should also be able to
override the project defined timeout
Fix #19
https://docs.gitlab.com/ce/ci/yaml/README.html#timeout
2019-11-28 14:47:13 +00:00
Jordan Petridis
be6d2b4cf2
ci_template: Use a host-mapped volume for the ccache directory
...
Use hardcoded path for the cache, so it will be shared by
all jobs of all gstreamer projects running on the same runner host. This
should increase the hit rate and decrease the worst case storage used.
Adaptation of https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2818
See https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/120
2019-11-28 10:46:34 +00:00
Matthew Waters
d153e0d7ed
update for macos 10.15 making / read-only
...
We've moved the host cached cerbero directory to /Users/gst-ci/cerbero
instead now.
2019-11-28 14:00:25 +11:00
Jordan Petridis
4b20b2dbb3
ci_template.yml: Update the windows image used
2019-11-26 17:42:14 +00:00
Jordan Petridis
2fadd6e3d0
docker/windows: update the version of various deps we install
2019-11-26 17:42:14 +00:00
Jordan Petridis
3b700eb09a
ci_template: skip unnecessary jobs for gst-integration-testsuites
...
Close #42
2019-11-22 16:03:52 +02:00
Jordan Petridis
d19360b37e
ci_template: set the TIMEOUT_FACTOR of gst-validate-launcher to 2
...
We have lots of tests that timeout on the CI due to a high load
of jobs on the CI runners. Let's try giving them a bit more time
and see how its going.
2019-11-19 21:58:43 +02:00
Nirbheek Chauhan
6b48c9c003
ci_template.yml: Use the new docker cerbero-fedora image
...
This has nasm temporarily added in it using
https://gitlab.freedesktop.org/gstreamer/gst-ci/merge_requests/179
2019-11-10 15:26:48 +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
Jordan Petridis
bd66c756ef
citemplate: Tag test jobs to only run on the dedicated runners
...
Avoid spreading the jobs on lower power runners which ends
up trippling the execution time of the testsuites and/or timing out.
2019-11-07 11:54:29 +01:00
Thibault Saunier
b0b76594c3
docker: Stop using mdv and use bat to colorize markdown
2019-11-06 15:43:11 +00:00
Thibault Saunier
c8d0102561
Revert "gitlab: Set COLUMNS and width variable to make terminal_markdown_view happy"
...
This reverts commit 157f94fb62
.
2019-11-06 15:43:11 +00:00
Víctor Manuel Jáquez Leal
e8abe05e02
ci_template: remove gstreamer-vaapi control in test tag
...
Since now gstreamer-vaapi is blacklisted in
validate (https://gitlab.freedesktop.org/gstreamer/gst-devtools/merge_requests/134 )
there is no need to make exceptions in the CI. This patch removes
those exceptions.
2019-10-25 17:38:43 +02:00
Jordan Petridis
20c2bb8080
ci_template: refresh the docker images used for the CI
2019-10-24 15:13:03 +03:00
Jordan Petridis
2a5d767424
ci_template: update the fedora image to a newer build
...
Among other things, it includes the wpe dependencies !148 and
glslc !145
2019-10-22 13:44:35 +00:00
U. Artie Eoff
32e64c4ac3
ci_template: avoid check.gstreamer-vaapi
...
Check tests are being added to gstreamer/gstreamer-vaapi!181 .
However, gstreamer-vaapi inherently requires specific hardware
drivers and platforms to function. The CI does not provide this
level of driver/platform selection. Thus, avoid running any
check tests in gstreamer-vaapi.
2019-10-09 08:37:20 -07:00
Jordan Petridis
92709d5542
ci_template: Add an auto-retry policy
...
Its common that docker will throw transient errors, especially
on the windows runner. If such the case, automatically retry
the job.
2019-09-24 08:19:44 +03:00
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
62ec9173e6
gitlab: update cerbero docker image used
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
Jordan Petridis
e1d7b721e0
docker: improve logging of the setup scripts
2019-09-23 10:54:40 +00:00
Jordan Petridis
d08496b142
docker/fedora: install debuginfo for python3-libs as well
2019-09-23 10:54:40 +00:00
Jordan Petridis
1e063c8539
.gitlab-ci.yml: Rename the UID variable in the docker build job
...
UID is a read-only protected variable in bash 5.0+
2019-09-23 10:54:40 +00:00
Jordan Petridis
c98b4accb3
.gitlab-ci.yml: export artifacts for the fedora build job
...
20f5d7d646
stopped exporting artifacts
from the .build template which broke the local jobs since they
no longer exported the builddir.
2019-09-23 10:54:40 +00:00
Jordan Petridis
470b151620
fedora/docker: remove the fedora openh264 package
...
The cisco repository has been problematic for a while causing
dnf to error due to some gpg issue and break the pipe in non-interactive
ttys.
```
Importing GPG key 0xCFC659B9:
Userid : "Fedora (30) <fedora-30-primary@fedoraproject.org>"
Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
The command '/bin/sh -c /usr/bin/sh /root/prepare.sh && /usr/bin/sh /root/cleanup.sh' returned a non-zero code: 141
```
https://gitlab.freedesktop.org/gstreamer/gst-ci/-/jobs/573870
We do have a meson subproject for openh264 nowdays in gst-build
and it will get enabled automatically once the distro package
is no longer there.
2019-09-23 10:54:40 +00:00