Commit 0c8efc9f authored by Emmanuele Bassi's avatar Emmanuele Bassi

Add CI for Continuous

Make sure that we do some minimal validation on the Continuous manifest,
to avoid obvious "fix a missing comma" commits.
parent bb622af4
Pipeline #13769 passed with stage
in 48 seconds
stages:
- validate
validate-manifest:
image: registry.gitlab.gnome.org/gnome/gnome-continuous/master:v1
stage: validate
script:
- bash -x .gitlab-ci/validate-manifest.sh manifest.json
FROM fedora:28
RUN dnf -y install \
cairo-devel \
cairo-gobject-devel \
e2fsprogs-devel \
gcc \
gcc-c++ \
gdk-pixbuf2-devel \
gdk-pixbuf2-modules \
gettext \
git \
gjs \
glib-networking \
glib2-devel \
glibc-devel \
glibc-headers \
gobject-introspection-devel \
gtk-doc \
intltool \
json-glib-devel \
libarchive-devel \
libsoup-devel \
libxml2-devel \
mozjs52 \
ostree \
&& dnf clean all
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
USER user
WORKDIR /home/user
ENV LANG C.UTF-8
#!/bin/bash
set -e
TAG="registry.gitlab.gnome.org/gnome/gnome-continuous/master:v1"
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
--file "Dockerfile" .
sudo docker run --rm --security-opt label=disable \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash
#!/bin/sh
manifest=$1
json-glib-validate $manifest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment