summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jordan Petridis [Wed, 31 Oct 2018 11:39:21 +0000 (13:39 +0200)]
build_manifest.py: avoid duplicate / in requests
Jordan Petridis [Tue, 30 Oct 2018 21:39:33 +0000 (23:39 +0200)]
build_manifest.py: remove request assertion
This does indeed brake things
Jordan Petridis [Tue, 30 Oct 2018 19:00:48 +0000 (21:00 +0200)]
build_manifest.py: Prefer a custom token if set
In order to be able to query the Gitlab Group API we need to be
authenticated. CI_JOB_TOKEN for public jobs has a non-meaningfull
value which does not actually authenticate the Runner to the
intance.
Jordan Petridis [Thu, 25 Oct 2018 16:47:57 +0000 (19:47 +0300)]
build_manifest.py: add some basic logging
Jordan Petridis [Thu, 25 Oct 2018 11:36:47 +0000 (14:36 +0300)]
build_manifest.py: preserve env vars when running tests
pytest will happily run all the tests in the same proccess,
which means if one mutates an environment variable, the change
will bleed to the rest of the tests.
Jordan Petridis [Thu, 25 Oct 2018 11:13:12 +0000 (14:13 +0300)]
build_manifest.py: Avoid duplicating some code
Jordan Petridis [Thu, 25 Oct 2018 10:57:48 +0000 (13:57 +0300)]
build_manifest.py: Avoid making the CI variables global
There are half of the variables compared to what was used before,
and now they are only used once so its not needed for them anymore
to be global.
This allows running the tests without needing to pre-define them
in your local environment, since the ones needed are mocked in the
tests code anyway.
Jordan Petridis [Thu, 25 Oct 2018 10:33:14 +0000 (13:33 +0300)]
CI: run the build_manifest.py tests
Jordan Petridis [Thu, 25 Oct 2018 10:05:31 +0000 (13:05 +0300)]
build_manifest.py: Properly query the group namepsace
Add a function to query groups, so the fallback code will
be functional once gstreamer migrates to gitlab.
Jordan Petridis [Wed, 24 Oct 2018 17:42:58 +0000 (20:42 +0300)]
build_manifest.py: Remove an unnecessary if branch
I can't think of a scenario where this would be hit, and can't
trigger make the find_reposiroty_sha function return None either.
Jordan Petridis [Wed, 24 Oct 2018 16:47:04 +0000 (19:47 +0300)]
build_manifest.py: Remove an early exit branch
find_repository_sha will conclude to the same result so
we can remove the whole if branch and extra variables
that it needed.
Jordan Petridis [Wed, 24 Oct 2018 16:44:19 +0000 (19:44 +0300)]
build_manifest.py: Test the find_repository_sha function
Jordan Petridis [Wed, 24 Oct 2018 16:40:30 +0000 (19:40 +0300)]
build_manifest.py: Handle bad requests
Jordan Petridis [Wed, 24 Oct 2018 15:26:21 +0000 (18:26 +0300)]
build_manifest.py: Use more descriprive variable name
Jordan Petridis [Wed, 24 Oct 2018 15:25:18 +0000 (18:25 +0300)]
build_manifest.py: Make the needed env vars global variables
Jordan Petridis [Wed, 24 Oct 2018 14:54:34 +0000 (17:54 +0300)]
build_manifest.py: add a failure test case for branches
Jordan Petridis [Wed, 24 Oct 2018 14:34:58 +0000 (17:34 +0300)]
build_manifest.py: search user namespaces instead of global
Previously find_repository_sha would do a global search of
all the projects in the gitlab instance. This ports it to
use the user namespace endpoint.
Additionally seems like the else: block never worked.
Jordan Petridis [Wed, 24 Oct 2018 13:54:35 +0000 (16:54 +0300)]
build_manifest.py: Add a function to search user namespace of projects
Also fix a type annotation error in the request functions.
Jordan Petridis [Wed, 24 Oct 2018 11:09:17 +0000 (14:09 +0300)]
build_manifest.py: Make sure the remote always ends with a slash
that's how `git-update` in `gst-build` expects it to be
Jordan Petridis [Wed, 24 Oct 2018 10:30:12 +0000 (13:30 +0300)]
build_manifest.py: Query the exact branch needed
Jordan Petridis [Tue, 23 Oct 2018 20:23:16 +0000 (23:23 +0300)]
build_manifest.py: Add a FIXME comment
Jordan Petridis [Tue, 23 Oct 2018 20:14:17 +0000 (23:14 +0300)]
build_manifest.py: Use the project path not the name
The project path is what's shown in the url bar, ex
gitlab.example.com/john/gstreamer -> path == gstreamer
The project name is defined in project settings and its just.
Its more common to change the name of a fork than its path.
Jordan Petridis [Tue, 23 Oct 2018 19:10:16 +0000 (22:10 +0300)]
build_manifest.py: split the request function in two
Make it so it does not depend on env variables so it will be easier
to test.
Jordan Petridis [Tue, 23 Oct 2018 19:04:20 +0000 (22:04 +0300)]
build_manifest.py: Split the hostname resolution from the requests
Jordan Petridis [Tue, 23 Oct 2018 17:04:43 +0000 (20:04 +0300)]
build_manifest.py: abstract over the gitlab instance base_url
Jordan Petridis [Tue, 23 Oct 2018 14:02:37 +0000 (17:02 +0300)]
build_manifest.py: Use .format instead %s for templates
Jordan Petridis [Tue, 23 Oct 2018 13:34:19 +0000 (16:34 +0300)]
build_manifest.py: Use fstrings for string formatting
Jordan Petridis [Tue, 23 Oct 2018 12:41:58 +0000 (15:41 +0300)]
build_manifest.py: add type annotations
Thibault Saunier [Tue, 7 Aug 2018 23:29:17 +0000 (19:29 -0400)]
gitlab: Add a script to build manifest from a gitlab CI context
Edward Hervey [Wed, 6 Dec 2017 07:41:59 +0000 (08:41 +0100)]
fuzzing: Add local fuzz runner
Allows testing without full oss-fuzz infrastructure
Edward Hervey [Mon, 6 Nov 2017 09:00:32 +0000 (10:00 +0100)]
fuzzing: Add README
Edward Hervey [Sun, 5 Nov 2017 16:07:49 +0000 (17:07 +0100)]
fuzzing: minor script fix
Edward Hervey [Sun, 5 Nov 2017 15:58:15 +0000 (16:58 +0100)]
fuzzing: Make the script executable
Edward Hervey [Sun, 5 Nov 2017 15:51:14 +0000 (16:51 +0100)]
fuzzing: oss-fuzz build script
Script that will be executed by oss-fuzz to build fuzzing targets
and dependencies
Edward Hervey [Wed, 1 Nov 2017 13:10:05 +0000 (14:10 +0100)]
fuzzing: Fix leak due to wrong initialization
We were registering plugins again and again and again ...
Edward Hervey [Wed, 1 Nov 2017 08:55:46 +0000 (09:55 +0100)]
fuzzing: use abort instead of (private) g_abort
Edward Hervey [Wed, 1 Nov 2017 08:45:36 +0000 (09:45 +0100)]
fuzzer: Add custom logger that explicitely raises abort()
Edward Hervey [Wed, 1 Nov 2017 07:50:25 +0000 (08:50 +0100)]
fuzzer: Make critical warnings fatal
Edward Hervey [Tue, 31 Oct 2017 07:12:43 +0000 (08:12 +0100)]
fuzzer: Might work better with a pipeline ...
Edward Hervey [Tue, 31 Oct 2017 07:03:48 +0000 (08:03 +0100)]
fuzzing: Compilation fixes
Edward Hervey [Tue, 31 Oct 2017 06:43:07 +0000 (07:43 +0100)]
fuzzing: New typefind target
Simple appsrc ! typefind ! fakesink pipeline
Edward Hervey [Sun, 29 Oct 2017 07:15:21 +0000 (08:15 +0100)]
fuzzing: Add push-based discoverer fuzzing target
Edward Hervey [Sat, 28 Oct 2017 09:02:06 +0000 (11:02 +0200)]
Add dockerignore
Edward Hervey [Sat, 28 Oct 2017 09:01:33 +0000 (11:01 +0200)]
Add gitignore
Edward Hervey [Sat, 28 Oct 2017 08:59:08 +0000 (10:59 +0200)]
jenkins: Update meson-fedora
Edward Hervey [Sat, 21 Oct 2017 13:09:33 +0000 (15:09 +0200)]
jenkins: Update meson script
Edward Hervey [Sat, 21 Oct 2017 12:46:07 +0000 (14:46 +0200)]
jenkins: Fix cerbero jenkins file
Edward Hervey [Sat, 21 Oct 2017 12:44:53 +0000 (14:44 +0200)]
jenkins: Add cerbero debian docker script
Edward Hervey [Sat, 21 Oct 2017 11:10:26 +0000 (13:10 +0200)]
docker: Add gdb to build images
So we can get backtraces
Edward Hervey [Sat, 21 Oct 2017 10:49:11 +0000 (12:49 +0200)]
jenkins: Add master ubuntu jenkinsfile
Edward Hervey [Sat, 21 Oct 2017 10:45:38 +0000 (12:45 +0200)]
docker: Add initial images
Edward Hervey [Sat, 21 Oct 2017 10:07:02 +0000 (12:07 +0200)]
Initial commit