Commit graph

270 commits

Author SHA1 Message Date
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
Thibault Saunier
5321d73fa9 Add a script to import the GStreamer documentation inside the fdo server 2018-11-25 13:47:49 -03:00
Thibault Saunier
b48405a455 docker:fedora: Add required package to build and upload the documentation 2018-11-24 09:49:50 -03:00
Jordan Petridis
e89fad1455
gitlab/ci_template.yml: rework the CI stages
Idea is that in order to not consume many resources for broken
builds, we will have a basic stage where just one simple set of
build and test jobs is run. If that passes we will continue with
the rest of the Pipeline suite.
2018-11-23 20:48:54 +02:00
Jordan Petridis
2bb429bbf0
gitlab/ci_template.yml: add dependencies block to the .build template 2018-11-23 19:05:12 +02:00
Jordan Petridis
67fcaad29e
Revert "Avoid duplication between ci_template.yml and .gitlab-ci.yml"
This reverts commit 6bdd1ead99.

This does not actually avoid duplication... [1]

[1] 6bdd1ead99 (note_81275)
2018-11-23 19:05:12 +02:00
Xavier Claessens
6bdd1ead99 Avoid duplication between ci_template.yml and .gitlab-ci.yml 2018-11-22 16:51:31 -05:00
Xavier Claessens
1f326e2693 Add Android arm64 cross build 2018-11-22 14:59:35 -05:00
Xavier Claessens
a1726fee58 Add Android NDK toolchain in Ubuntu docker image 2018-11-22 14:15:07 -05:00
Xavier Claessens
68a71431b8 Build Ubuntu base image 2018-11-22 13:24:26 -05:00
Xavier Claessens
af66e26160 Make a change in Dockerfile-ubuntu to force rebuild of docker image 2018-11-22 12:00:26 -05:00
Xavier Claessens
71b1b352ee Build ubuntu runtime docker 2018-11-22 11:37:51 -05:00
Jordan Petridis
03a1e07fa3
CI: remove duplicate entry 2018-11-22 16:26:35 +02:00
Jordan Petridis
9b45a95fe0
CI: only build the images that changed
previously when something in the docker/ direcotry was changed,
all of the images would be rebuilt.
2018-11-22 16:26:34 +02:00
Jordan Petridis
cc5ff7d8f0
CI: Test both the ci_template as well as local changes
Instead of just overwritting the template build jobs, test both
so we avoid regressions.

See [1] for more

[1] 1858a709e6
2018-11-22 16:26:34 +02:00
Jordan Petridis
bf92771e45
gitlab/ci_template.yml: Use tagged docker image for the manifest job 2018-11-22 13:18:03 +02:00
Jordan Petridis
c930a3a229
gitlab/ci_template.yml: Use correct yaml syntax
single quotes in yaml don't escape special charters which
causes the env variable to never be resolved to its proper path.
2018-11-22 12:55:52 +02:00
Thibault Saunier
01beb70022 gitlab: Update the docker image we use
so we have latest fix for gst-build git-update script
2018-11-21 21:27:39 -03:00
Thibault Saunier
2414895a53 build_manifest: Add the "path" attribute to projects
When the local path and the name are different, both have to be
specified, it is now required since we add the '.git' to the name.
2018-11-21 20:37:12 -03:00
Thibault Saunier
10ffa6f1af build_manifest: Add the to repo names to avoid spamming about redirections 2018-11-14 10:55:14 -03:00
Thibault Saunier
10ae6d0326 build_manifest: Never use users 'master' branch for repos we are not explicitely building
People very often do not update them leading to random and weird failures
2018-11-14 10:55:14 -03:00
Thibault Saunier
d8ebbea1f0 build_manifest: Make sure to respect GitLab currently built SHA 2018-11-14 10:14:08 -03:00
Thibault Saunier
12d067f249 Revert "Revert me when merged"
This reverts commit 5cff46553e913e5ab13e63561edaa519a4ca904f.
2018-11-13 14:15:41 -03:00
Thibault Saunier
d02fd933d3 Revert me when merged
Stopping the circular dependency.
2018-11-13 16:51:36 +00:00
Thibault Saunier
0cfe2cee41 gitlab: Handle checking out the right gst-ci branch to call build_manifest 2018-11-13 16:51:36 +00:00
Thibault Saunier
7ede1f54aa Add a simple alpine based Dockerfile for images to build manifest 2018-11-13 16:51:36 +00:00
Thibault Saunier
529764a3d7 gitlab: ci: Run build_manifest tests only if the script changes 2018-11-13 16:51:36 +00:00
Jordan Petridis
48f3063daf
build_manifest.py: Use CI_PROJECT_NAMESPACE instead of GITLAB_USER
GITLAB_USER_* variables represent the user *that triggered* the job,
which might not match the user that owns the namespace of the fork.

This happens frequently with rebase, where the one who triggers the
rebase is the one that appears in the GITLAB_USER_* vars.

Instead use the CI_PROJECT_NAMESPACE variable to search the user's
projects. If CI_PROJECT_NAMESPACE has the value of a Group namespace
search_user_namespace returns 404.
2018-11-13 13:20:32 +02:00
Jordan Petridis
e3d2c345b6
ci_template: Update docker image tags 2018-11-12 18:57:42 +02:00
Víctor Manuel Jáquez Leal
1858a709e6 ci_template.yml: enable gstreamer-vaapi 2018-11-12 16:04:13 +00:00
Víctor Manuel Jáquez Leal
d1b80b835b build_manifest.py: Add gstreamer-vaapi 2018-11-12 16:04:13 +00:00
Víctor Manuel Jáquez Leal
8cb78a4c38 docker: Add gstreamer-vaapi dependencies 2018-11-12 16:04:13 +00:00
Jordan Petridis
2ec33592e9
CI: Use the correct bash syntax
345afee677 broke the bash
extreppsion that evaluates the strings, causing images to
never be pushed.
2018-11-12 18:01:00 +02:00
Jordan Petridis
b335b4416b
build_manifest.py: Silence irrelevant logs
The group API querries where removed in 2320cfaf but the
log was forgotten.

The headers print was meant to be just for debugging.
2018-11-12 16:51:22 +02:00
Jordan Petridis
8fbce56d69
CI: Change the push policy of the docker images
If we are in a fork of the project, we would like to be able
to overwrite the `:latest` tag if the registry from any branch
so we won't have to manually overwrite the image tag in the
build/test jobs in the .gitlab-ci.yml file
2018-11-12 15:54:23 +02:00
Jordan Petridis
345afee677
CI: Overwrite the build job from the template
Make it so when we build a new image in `gst-ci` it gets
picked up automatically by the job in this repo. For the template
itself we want the images to me be versioned and reproducible.
2018-11-12 15:54:23 +02:00
Nicolas Dufresne
64e3b154cd gitlab-ci: Only run scripts test on related code
Right now we only have one test against build_manifest.py, it
is not needed to run this test if that code haven't changed.
It's really easy to add more file or set a wild card in the
future.
2018-11-10 20:35:10 -05:00