Commit graph

156 commits

Author SHA1 Message Date
Xavier Claessens aa13631e38 android: Use cross file shipped by gst-build
We want to test that cross files shipped by gst-build are working,
instead of a generating our own.
2018-12-13 17:08:16 +00:00
Xavier Claessens 791757de6c Rename 'android' docker image back to 'ubuntu'
There is no point in doing a different docker image for each build we
are going to do inside an Ubuntu distro. We can later use the same image
for native ubuntu builds, or other cross builds (e.g. android API 21,
etc).
2018-12-13 17:08:16 +00:00
Xavier Claessens f7331ab4f8 Move Android NDK to /opt
It was installed in '/' which doesn't feel right. Installing it in /root
is also not correct because we want to run the build as user instead of
root in the future and cleanup.sh removes everything in /root. /opt
seems the best place because that's also the default location when
installing Android Studio.
2018-12-13 17:08:16 +00:00
Jordan Petridis 39f535986b
ci_template: enable h264parse.test_parse_packetized test again
Remove check.gst-plugins-bad.elements_h264parse.test_parse_packetized
from the blacklist since the relevant issue [1] seems to have been
resolved with the following MR [2]

[1] https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/842
[2] https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/69
2018-12-13 17:19:18 +02:00
Nicolas Dufresne 5a3cf8360c CI: Don't reset cache on fetch
This is not needed since we only do run without cache or from a deps
cache for the specific cerbero commit we are building. This will speed
up builds in cerbero/ project when the source cache is missing.
2018-12-12 10:12:26 -05:00
Jordan Petridis c8c9cad685 CI: Make the docker build and local jobs manual
While they are very useful, each time we create a branch,
gitlab tries to build all the images which is very resource
intesinve. Thus make all the local images and everything that
depends upon them a manual job and only trigger them before
merging an MR.
2018-12-11 21:34:08 +00:00
Jordan Petridis 1c68f94c68
ci_template: another blacklisted test in check
gst-plugins-good.elements_rtpbin.test_sender_eos
is occasionally failing.

For more see:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/527
2018-12-11 22:57:46 +02:00
Jordan Petridis f32f70d79b
ci_template: Blacklist another test in check
gst-plugins-base.elements_multisocketsink.test_client_next_keyframe
is occasionally failing somehow in the CI.

For more see:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/516
2018-12-11 20:33:18 +02:00
Jordan Petridis 5eb652177c
ci_template: do not .test in the cerbero repo
We already disable the .build inhereted build jobs, and thus the
tests fail to run since they depend on them. Cerbero doesn't need
to run them anyway.
2018-12-11 13:25:56 +02:00
Jordan Petridis d25392f3e1
ci_template: Report ccache stats for build jobs 2018-12-10 21:35:38 +02:00
Jordan Petridis a529757dec
ci_template: blacklist a problematic test in check
Also pass --dump-on-failure in the job. While the logs are
artifacts and they are integrated in the MRs, its not as
convinient to findout out what is failling if you are looking
into just a job log, of a commit. Thus make it show logs are also
priting on stdout/stderr.
2018-12-10 20:35:29 +02:00
Jordan Petridis 830507f202
ci_template: Blacklist problematic tests 2018-12-10 17:12:26 +02:00
Jordan Petridis 7151af0270
ci_template.yml: Run the check test suite!!!
Add a fedora job that runs the 'check' tests with
gst-validate-launcher. Its fairly well abstracted so the same
template can be used to add the rest of the test-suites fairly
soon.
2018-12-10 14:45:56 +02:00
Jordan Petridis c9ee22d4c3
Revert "ci_template.yml: Temporarly disable builddir artifact"
This reverts commit 6ddb35c3c4.

A hotfix has been deployed, lets see how it goes.
2018-12-10 14:45:56 +02:00
Jordan Petridis 830b24df3e
ci_template: Remove duplicate key
Looks like this slipped past the review of !47
2018-12-10 11:50:49 +02:00
Nicolas Dufresne d399288f15 CI: Enable cerbero builds for all projects 2018-12-09 18:19:06 -05:00
Nicolas Dufresne 00b67289b1 CI: Place cerbero docker image: in the template
This avoids having to duplicate that path into cerbero/ project and will
ease later updates.
2018-12-09 16:30:31 -05:00
Nicolas Dufresne 4291812f75 CI: Add cerbero docker SHA
No job activated yet.
2018-12-09 15:32:28 -05:00
Nicolas Dufresne d19082b726 gitlab: Limit cerbero ccache to 1.7G
Testing showed that we need 1.6G to store all the objects. This limit
will prevent the cache from growing over time. Compressing the cache
can take a lot of time.
2018-12-09 19:12:07 +00:00
Nicolas Dufresne fcbfb3dc68 gitlab: Use cache key for cerbero builds
The key is set to cerbero_${ARCH}. This should help maintain a smaller
cache size and will avoid other jobs from overriding our cerbero-sources
cache.
2018-12-09 19:12:07 +00:00
Nicolas Dufresne e2595530ad gitlab: Don't build gst-build in cerbero repository 2018-12-09 19:12:07 +00:00
Nicolas Dufresne d7322403f2 gitlab: Add orc and cerbero to manifest 2018-12-09 19:12:07 +00:00
Nicolas Dufresne b1e3b9e6ab gitlab: Add cerbero build template and x86_64 build 2018-12-09 19:12:07 +00:00
Nicolas Dufresne f9435d7312 docker: Create Cerbero Fedora Docker 2018-12-09 19:12:07 +00:00
Jordan Petridis 932a9c2137
ci_template: Use a cache key specific to each job 2018-12-09 04:34:35 +02:00
Thibault Saunier bb2c819c77 Revert "Revert me" and fix test_manifest image to be used
This reverts commit 4717e446a9.
2018-12-07 02:52:34 +00:00
Jordan Petridis 96c5f89d79
CI: do not run local jobs for master branch
They are identical to the normal jobs
2018-12-06 15:43:43 +02:00
Thibault Saunier 5856b05f30 build_manifest: fetch remote refname before checking out right commit
Working around https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/95
2018-12-06 07:23:30 -03:00
Thibault Saunier 4717e446a9 Revert me 2018-12-06 07:23:30 -03:00
Thibault Saunier 5aad1e149d Run test_manifest when the docker is changed 2018-12-06 07:23:30 -03:00
Thibault Saunier 7cb3feec19 build_manifest: Include remote refname in the manifest 2018-12-06 07:23:30 -03:00
Thibault Saunier 8932df0c2d buildmanifest: Move away from the gitlab API and use plain git to retrieve branch names
Makes the code much simpler
2018-12-06 00:09:17 -03:00
Thibault Saunier 93ddefcc20 Install git in the test_manifest docker as necessary now 2018-12-05 23:53:53 -03:00
Jan Alexander Steffens (heftig) 4493ab0bb8
ci_template: Use git diff --quiet for checking for changes
Checking the exit code of git diff --quiet is preferred over looking
whether git diff produces any output.
2018-12-05 22:26:07 +01:00
Jan Alexander Steffens (heftig) 5b664cd00f
ci_template: Don't use command substitution with find
GNU find has operations like -exec and -delete that operate without the
brittleness of applying shell word splitting to its output.

In addition, it won't fail if no files were matched.
2018-12-05 22:26:07 +01:00
Jordan Petridis 61074f6d8d
Run gst-indent through the files
This is required before we enabled an indent test in the CI.

https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
2018-12-03 17:39:09 +02:00
Jordan Petridis 9e8d215f90
ci_template: Add a gst-indent job 2018-12-03 17:39:09 +02:00
Nicolas Dufresne 597544cd61 build_manifest: Increase the number of search results
This increase the number of search results when looking up user
branches to 100 items. This should be sufficient for all of our users.

Fixes #3
2018-12-01 11:33:44 -05:00
Jordan Petridis 06c76e1d63
CI: Update image uris 2018-12-01 15:20:38 +02:00
Jordan Petridis 6f7e01e1e3
Docker: fix a type in the test-manifest image 2018-12-01 13:17:46 +02:00
Jordan Petridis 032c8cc01e
docker fedora: add extra deps
featuring:
- flite
- elfuitls
- gsl
- couple of mesa packages
- sdl2
- graphene
- aom
- neon
- sbc
2018-11-30 20:48:54 +02:00
Jordan Petridis 8683c2940b
docker: add an image to run the tests of the manifest
So in the futuere we can avoid installing pytest each time
2018-11-30 20:43:39 +02:00
Jordan Petridis e87e1fb6ca
docker: Add a new image for the gst-indent job
This is meant run GNU indent along with the gstreamer wrapper
through the codebase and error out for missconfigured code.

Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
2018-11-30 20:38:51 +02:00
Xavier Claessens e89c402e14 Update docker images to latest 2018-11-28 13:39:16 -05:00
Jordan Petridis f085d34a32
docker: Move android into a unified image 2018-11-27 16:07:57 +02:00
Jordan Petridis d17930eabb
docker: move the alpine image to a different directory 2018-11-27 14:29:36 +02:00
Jordan Petridis 72ec8cd33f
docker: Add a unified image for fedora
This is meant to replace both the runtime and build images.
Spliting it in two increasing the maintainance required without
any big benefits.
2018-11-27 14:29:36 +02:00
Jordan Petridis 3cc8d5efb5 Docker registry: only tag images for the upstream repository
The tags are only used to version the images that are meant
to be used in the gitlab/ci_template.yml file. Thus tags are
not needed when you hack on a patch from a forked repository.
Lets just keep a :latest tag.
2018-11-26 12:51:39 +00:00
Tim-Philipp Müller ed9ae8bb2b ci-template: build with --werror by default 2018-11-25 23:26:20 +00:00
Thibault Saunier d2cfcef5bb Fix previous commit and do not install rsync
rsync is not needed in the end.
2018-11-25 16:17:29 -03:00