Age | Commit message (Collapse) | Author | Files | Lines |
|
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 https://gitlab.freedesktop.org/libinput/libinput/-/jobs/8316
Let's switch back to that and move on with our lives.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
And run all the special stuff we currently run on F28 on F29
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
Helps with debugging purposes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Because Godot doesn't care about tzdata, so waiting for him is pointless.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Separate commit so we can prep the containers for the real PR and thus test if
something break.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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:
https://bugzilla.redhat.com/show_bug.cgi?id=1481196
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
This needs to be an empty array, see the "artifacts:paths" documentation for
an example
https://docs.gitlab.com/ee/ci/yaml/#when-a-dependent-job-will-fail
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Should fix #93
|
|
Fixes #82
|
|
Ideally this should catch any errors caused by reliance on unspaced
directories.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
We don't want to try build when someone pushes to <username>/libinput
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
This requires that WAYLAND_WEB_TOKEN is set up in the libinput settings on
gitlab.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
More correct, and we use NINJA_ARGS too
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
Apparently that doesn't work anymore
Related to https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/41
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
It's pulled in by some dependency anyway, but for the sake of being explicit,
pull it in.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/62
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
According to multiple sources, referenced in
https://engineering.facile.it/blog/eng/continuous-deployment-from-gitlab-ci-to-k8s-using-docker-in-docker/
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 <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
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 <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
We don't need the full repo
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
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 <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
|