[tracker/wip/carlosg/test: 3/3] ci: Use default Fedora Rawhide docker image
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/test: 3/3] ci: Use default Fedora Rawhide docker image
- Date: Tue, 6 Nov 2018 10:03:29 +0000 (UTC)
commit b9380dccdce4177feae240050881eb9b5c68795e
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 6 11:02:44 2018 +0100
ci: Use default Fedora Rawhide docker image
While tracker meson build breaks with 0.46.x (x=1 at least), our
custom "latest" image is stuck in the past and ships that meson.
Use the default images so it's actually self-updating for free
and CI is fixed because it ships with meson >= 0.48.0 which is
good for us.
.gitlab-ci.yml | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75470763b..2dbe76c91 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,19 @@
stages:
- test
-test-fedora-latest:
- stage: test
- image: registry.gitlab.gnome.org/sthursfield/tracker-oci-images/amd64/fedora:latest
-
- script:
- - su tracker -c 'mkdir build'
- - su tracker -c 'cd build; meson ..'
- - su tracker -c 'cd build; ninja'
- - |
- # Remove the many "CI_" variables from the environment. Meson dumps the
- # whole environment for every failed test, and that gives a whole
- # screenful of junk each time unless we strip these.
- unset $(env|grep -o '^CI_[^=]*')
-
- su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'
+fedora:rawhide:
+ image: fedora:rawhide
+ stage: test
+ before_script:
+ - dnf install -y 'dnf-command(builddep)' redhat-rpm-config meson ninja-build dbus-devel python2
dbus-x11 pygobject3-devel tracker --nogpgcheck
+ - dnf builddep -y tracker --nogpgcheck
+ script:
+ - meson _build .
+ - cd _build
+ - |
+ # Remove the many "CI_" variables from the environment. Meson dumps the
+ # whole environment for every failed test, and that gives a whole
+ # screenful of junk each time unless we strip these.
+ unset $(env|grep -o '^CI_[^=]*')
+ - export LANG=en_US.UTF8
+ - dbus-launch meson test --print-errorlogs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]