summaryrefslogtreecommitdiff
path: root/ci/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* ci: Propagate MESON_COMMIT to cerbero pipelineXavier Claessens2023-03-311-8/+17
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4305>
* ci: Fix traceback when user doesn't have a cerbero forkNirbheek Chauhan2022-10-261-0/+1
| | | | | | | | | | | ``` Traceback (most recent call last): File "ci/gitlab/trigger_cerbero_pipeline.py", line 59, in <module> if cerbero is None: NameError: name 'cerbero' is not defined ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3063>
* ci: Fetch all user cerbero branches when matching branch namesNirbheek Chauhan2022-10-251-10/+12
| | | | | | | | | | | Fixes CI on coordinated merges when the user has more than 20 branches in their fork, which will happen very easily since new forks will always have all the branches of the original remote. ``` ci/gitlab/trigger_cerbero_pipeline.py:48: UserWarning: Calling a `list()` method without specifying `get_all=True` or `iterator=True` will return a maximum of 20 items. Your query returned 20 of 37 items. See https://python-gitlab.readthedocs.io/en/v3.9.0/api-usage.html#pagination for more details. If this was done intentionally, then this warning can be supressed by adding the argument `get_all=False` to the `list()` call. (python-gitlab: /usr/local/lib/python3.7/site-packages/gitlab/client.py:979) if os.environ["CI_COMMIT_REF_NAME"] in [b.name for b in cerbero.branches.list()]: ```
* ci: Fix project URL when triggering cerbero pipelinesNirbheek Chauhan2022-07-161-7/+20
| | | | | | | | | | | | | | When merge request pipelines are triggered on the gstreamer namespace, CI_PROJECT_URL will be gitlab.[...]/gstreamer/gstreamer but we need to use gitlab.[...]/$USER/gstreamer because that's where the source branch is located. This exhibits as cerbero pipelines failing because it can't find the specified branch: https://gitlab.freedesktop.org/gstreamer/cerbero/-/pipelines/639379 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2761>
* ci: remove unused filesJordan Petridis2022-05-142-362/+0
| | | | | | | These are leftovers of the gst-ci repo, before the mono repo merge and can be removed now. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2403>
* ci: Trigger cerbero on user project if a branch with the same name exists thereThibault Saunier2022-04-211-5/+24
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2264>
* ci: Trigger all jobs on gitlab CI script changesNirbheek Chauhan2022-02-051-2/+2
| | | | | | | Also fix typo in trigger variable that was causing triggered cerbero pipelines to run deps builds and upload cache. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1641>
* ci: Add a variable to identify triggered cerbero pipelinesNirbheek Chauhan2022-02-041-0/+4
| | | | | | | This commit is required for proper functioning of the following cerbero merge request: https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/800 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1638>
* trigger_cerbero_pipeline.py: Do not hardcode gitlab instanceXavier Claessens2021-10-061-6/+6
| | | | | | | | | | | When GStreamer is forked into a private GitLab instance we should trigger cerbero into that private instance too. Otherwise the token won't be accepted. Also do not hardcode the cerbero project ID because it is instance specific. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1056>
* ci: Update fedora image for cerbero triggerXavier Claessens2021-10-051-2/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/931>
* ci:doc: Rewrite script to import doc on fdo ensuring the right job is usedThibault Saunier2021-09-302-36/+39
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/999>
* docs: Always build documentation on gstreamer/gstreamer main branchThibault Saunier2021-09-291-6/+5
| | | | | | | | So artifacts can the be imported on gst.fd.o. And update the importation script accordingly Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/952>
* ci: Wait for cerbero pipeline to finishThibault Saunier2021-09-281-0/+59
| | | | | | | | So we are sure the pipeline is marked as failed if the cerbero sub pipeline fails See https://gitlab.com/gitlab-org/gitlab/-/issues/341737 for details Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/946>
* ci: Port CI to the new monorepoThibault Saunier2021-09-243-0/+399
Main differences with previous setup are: - No manifest creation - gst-indent is executed only when the bot is assigned (instead of the manifest task) - Cerbero jobs are triggered in the cerbero repo - Remove cerbero and android related files as they now are in cerbero itself. - Update `container.ps1` to the new file layout Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>