gstreamer/ci
Jordan Petridis a31c8cf370 ci: Push a dedicated toolbox image
This is mostly done to remove the hardcoded HOME
env var that ci-templates appends to the image. See [1]

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2433#note_2243222

But it also allows us to add extra things useful for local
development to it, as long they don't interfere with the
build enviornment.

This also means we can switch the build image to be based
on top of the normal fedora one rather than toolbox,
so it will no longer advertise the toolbox compatible labels
since it was buggy anyway.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
..
docker ci: Push a dedicated toolbox image 2024-10-25 13:55:19 +00:00
fluster/visl_references/test_suites h264parse: Don't fake IDR without at least an i-slice 2024-10-02 20:33:13 +00:00
fuzzing fuzzing: correct typos in README.txt 2023-08-30 10:55:56 +00:00
gitlab ci: trigger_cerbero_pipeline: improve error in case of insufficient permissions 2024-04-12 18:01:28 +00:00
meson ci: Move the build cflags to a meson native file 2023-11-18 16:37:08 +00:00
scripts ci: Push a dedicated toolbox image 2024-10-25 13:55:19 +00:00
README.txt ci/README: basic instructions for running locally 2023-01-09 22:26:52 +00:00
run_retry.ps1 ci: Add scripts to retry windows builds on spurious errors 2024-10-23 14:38:20 +00:00

GStreamer Continuous Integration
================================

This repository contains all material relevant to the GStreamer
Continuous Integration system.

* Docker images

* Build scripts and code

Basic instructions for reproducing CI issues locally
====================================================

Note the URL of the image in the job logs, for instance:

```
Using docker image sha256:ac097589af0f486321adf7e512f2237c55533b9b08dabb49164a521a374d406d for registry.freedesktop.org/ocrete/gstreamer/amd64/fedora:2022-12-10.0-main with digest registry.freedesktop.org/ocrete/gstreamer/amd64/fedora@sha256:a2f7be944964a115ada2b3675c190bc9a094a5b35eba64a1ac38d52d55d13663
```

Pull the image:

```
docker pull registry.freedesktop.org/ocrete/gstreamer/amd64/fedora:2022-12-10.0-main
```

Run it:

```
docker run -it fedora:2022-12-10.0-main
```

At this point, you want to clone the relevant branch, eg if the issue occurs with main:

```
git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git
cd gstreamer
```

Adapt the above to your situation.

Now, export the relevant variables by observing the job logs and `.gitlab-ci.yml` at
he root of the GStreamer repository, then run the steps listed in the script section.