path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02Gitlab CI: use the docker:stable image for image creationPeter Hutterer1-0/+4
alpine:latest which is now the default image doesn't docker installed by default. apk add docker results in failures Warning: failed to get default registry endpoint from daemon last time all this worked was when we defaulted to the docker:stable image, see Let's switch back to that and move on with our lives. Signed-off-by: Peter Hutterer <>
2018-11-02gitlab CI: buildah requires the transport protocolPeter Hutterer1-1/+1
Executing the script as illustrated sends it to nowhere (localhost maybe?), prepending docker:// makes it recognize the hostname correctly and actually upload it to gitlab. Signed-off-by: Peter Hutterer <>
2018-11-02gitlab CI: swap Fedora 27 for Fedora 29Peter Hutterer1-49/+49
And run all the special stuff we currently run on F28 on F29 Signed-off-by: Peter Hutterer <>
2018-08-22gitlab CI: increase the artifacts expiry to 6hPeter Hutterer1-1/+1
20 min for the "this docker image is ok" marker should be enough but not when we're hit with random stuck containers in the next stage. By the time those time out the artefacts have been removed and we now get a dependency error, forcing us to re-run the whole pipeline. Since the marker is only a few bytes, we can keep this for a bit longer without risking running out of space. Signed-off-by: Peter Hutterer <>
2018-08-13test: replace hand-rolled backtrace function with gstackPeter Hutterer1-3/+3
Let's use something that specializes in that task and does a better job of it than whatever we'll come up with. Due to how it's implemented the stacktrace will always show waitpid() as frame 0 now but we can live with that. gstack prints to stdout but litest_log() uses stderr, so we cannot just call system(), we have do do the pipe/fork/exec/waitpid/read dance. We could use that to filter the #0 frame showing waidpid() from gstack but meh. This drops the libunwind and addr2line dependency and replaces it with gstack instead. Signed-off-by: Peter Hutterer <>
2018-07-30GitLab CI: print out the image age in secondsPeter Hutterer1-0/+2
Helps with debugging purposes Signed-off-by: Peter Hutterer <>
2018-07-30Gitlab CI: set DEBIAN_FRONTEND noninteractive for the Ubuntu imagesPeter Hutterer1-5/+5
Because Godot doesn't care about tzdata, so waiting for him is pointless. Signed-off-by: Peter Hutterer <>
2018-07-30Add the buildreqs for sphinx-buildPeter Hutterer1-3/+3
Separate commit so we can prep the containers for the real PR and thus test if something break. Signed-off-by: Peter Hutterer <>
2018-07-27gitlab-ci: use skopeo to check on container imagesBenjamin Tissoires1-45/+46
this allows to replace complex curl queries with simpler commands. We need a newer minimalist image with skopeo in addition to jq and curl. Also, I am currently not relying on skopeo to delete the image as I am not so sure we will get the same cleanup than with the current sha method and also: Signed-off-by: Benjamin Tissoires <>
2018-07-23Gitlab CI: properly define empty dependencies for the wayland-web hookPeter Hutterer1-1/+1
This needs to be an empty array, see the "artifacts:paths" documentation for an example Signed-off-by: Peter Hutterer <>
2018-07-23Update FreeBSD package cache in CIGreg V1-0/+1
Should fix #93
2018-07-18Add FreeBSD (cross-compliation based) CIGreg V1-0/+70
Fixes #82
2018-07-12Gitlab CI: use a space in the meson builddirPeter Hutterer1-10/+10
Ideally this should catch any errors caused by reliance on unspaced directories. Signed-off-by: Peter Hutterer <>
2018-07-06GitLab CI: only rebuild the website when pushing to libinput properPeter Hutterer1-0/+2
We don't want to try build when someone pushes to <username>/libinput Signed-off-by: Peter Hutterer <>
2018-07-06Gitlab CI: trigger the wayland web rebuild on pushes to masterPeter Hutterer1-0/+21
This requires that WAYLAND_WEB_TOKEN is set up in the libinput settings on gitlab. Signed-off-by: Peter Hutterer <>
2018-07-06GitLab CI: move the scan-build job up in the filePeter Hutterer1-14/+14
This is by far the slowest job, move it up so it gets started earlier and we have more parallelization going on. Signed-off-by: Peter Hutterer <>
2018-07-05GitLab CI: rename MESON_PARAMS to MESON_ARGSPeter Hutterer1-12/+12
More correct, and we use NINJA_ARGS too Signed-off-by: Peter Hutterer <>
2018-07-04Gitlab CI: run the tests through valgrind on the f28 boxPeter Hutterer1-0/+10
We don't run it on all machines, valgrind fails right now on arch because of a memleak in bash itself. To avoid having CI failures that aren't our fault, only run on F28 because that's the one I'm tracking. Signed-off-by: Peter Hutterer <>
2018-07-03GitLab CI: always run ninja test unless otherwise specifiedPeter Hutterer1-9/+3
Now that the test suite has been cleaned up to be useful even when we can't run the main runner, let's always run ninja test. Except in the targets where we want something different. Signed-off-by: Peter Hutterer <>
2018-07-03GitLab CI: don't use spaces in artifact namesPeter Hutterer1-1/+1
Apparently that doesn't work anymore Related to Signed-off-by: Peter Hutterer <>
2018-06-27gitlab CI: build a release with -WerrorPeter Hutterer1-0/+8
Any compiler warnings in the default build are likely caught by developers anyway. Let's build one with -Werror and the release buildtype to catch anything triggered by optimization or somesuch. Signed-off-by: Peter Hutterer <>
2018-06-22gitlab CI: add Arch to the list of built imageswip/archPeter Hutterer1-0/+65
Signed-off-by: Peter Hutterer <>
2018-06-22gitlab CI: add pkgconfig to the listPeter Hutterer1-2/+2
It's pulled in by some dependency anyway, but for the sake of being explicit, pull it in. Signed-off-by: Peter Hutterer <>
2018-06-21gitlab CI: run ninja test tooPeter Hutterer1-0/+8
Fixes Signed-off-by: Peter Hutterer <>
2018-06-19CI: WIP: attempt to clean up the registry before leavingBenjamin Tissoires1-12/+116
According to multiple sources, referenced in The garbage collector of the registry won't clean up docker images that still have blob references. We should clean up the manifests instead of simply overwriting the tag. Note: this requires to set up a personal token with api access from the maintainers in the form of (for instance): "PERSONAL_TOKEN_bentiss" Reviewed-by: Peter Hutterer <> Signed-off-by: Benjamin Tissoires <>
2018-06-19CI: speed up the docker_check stageBenjamin Tissoires1-4/+4
There is no point in login in to the registry if there is no need to create a new docker image. Reviewed-by: Peter Hutterer <> Signed-off-by: Benjamin Tissoires <>
2018-06-19CI: do not pull images when checking for the creation dateBenjamin Tissoires1-4/+30
Reviewed-by: Peter Hutterer <> Signed-off-by: Benjamin Tissoires <>
2018-06-19doc: point to the gitlab ci file for a list of required packagesPeter Hutterer1-2/+13
Signed-off-by: Peter Hutterer <>
2018-06-18gitlab ci: use GIT_DEPTH of 1Peter Hutterer1-0/+1
We don't need the full repo Signed-off-by: Peter Hutterer <>
2018-06-18CI: Hook up GitLab CIBenjamin Tissoires1-0/+406
The main tasks it does is build on a few different distros as well as build with the various build options to make sure they work.It doesn't (yet) run the test suite runner because that one mostly requires device nodes to operate on. Most of the fancy is to get the docker images ready. A dnf update takes forever, so we don't want to do that on 10 different machines. So instead we build docker images with all the bits pre-installed, push that to the registry and use those images for testing. To speed things up, we only do that when the current image is older than a week. And we only do that when we push to libinput proper, so a merge request or pushing to your private gitlab repo will never trigger a docker image update - it will trigger the tests and use the docker images tough. Co-authored-by: Peter Hutterer <> Signed-off-by: Benjamin Tissoires <>