[libmediaart/sam/ci-fixes] ci: Update for changes in tracker-oci-images
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart/sam/ci-fixes] ci: Update for changes in tracker-oci-images
- Date: Sun, 27 Dec 2020 12:25:46 +0000 (UTC)
commit b3a6a7ba84d4f9c1f4ed95551fb8099738188e5d
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Dec 27 13:19:00 2020 +0100
ci: Update for changes in tracker-oci-images
Since https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/28
the container images set 'USER tracker', so privileged ops like
installing packages are no longer possible during testcases.
So, gdk-pixbuf is added to the base images in
https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/38.
.gitlab-ci.yml | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6764c49..530b2ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,15 +15,15 @@ stages:
stage: test
script:
- - su tracker -c 'mkdir build'
- - su tracker -c 'cd build; meson ..'
- - su tracker -c 'cd build; ninja'
+ - mkdir build; cd build
+ - meson ..
+ - 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; env meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}'
+ env meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS}
after_script:
- |
@@ -45,19 +45,12 @@ stages:
test-alpine-edge:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/alpine:edge
- before_script:
- - apk add gdk-pixbuf-dev
<<: *test
test-fedora-latest:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/fedora:latest
- before_script:
- - dnf install -y gdk-pixbuf2-devel
<<: *test
test-ubuntu-rolling:
image: registry.gitlab.gnome.org/gnome/tracker-oci-images/amd64/ubuntu:rolling
- before_script:
- - apt-get update
- - apt-get install -y libgdk-pixbuf2.0-dev
<<: *test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]