mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
docker: add an image to run the tests of the manifest
So in the futuere we can avoid installing pytest each time
This commit is contained in:
parent
e87e1fb6ca
commit
8683c2940b
2 changed files with 19 additions and 0 deletions
|
@ -73,6 +73,18 @@ alpine amd64 manifest builder docker:
|
||||||
- 'docker/build_manifest/*'
|
- 'docker/build_manifest/*'
|
||||||
- 'gitlab/build_manifest.py'
|
- 'gitlab/build_manifest.py'
|
||||||
|
|
||||||
|
test manifest amd64 docker:
|
||||||
|
stage: "build docker"
|
||||||
|
variables:
|
||||||
|
ARCH: "amd64"
|
||||||
|
TAG: "build-manifest"
|
||||||
|
CONTEXT_DIR: "docker/test_manifest/"
|
||||||
|
DOCKERFILE: "docker/test_manifest/Dockerfile"
|
||||||
|
extends: .base
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- 'docker/test_manifest/*'
|
||||||
|
|
||||||
gst-indent amd64 docker:
|
gst-indent amd64 docker:
|
||||||
stage: "build docker"
|
stage: "build docker"
|
||||||
variables:
|
variables:
|
||||||
|
|
7
docker/test_manifest/Dockerfile
Normal file
7
docker/test_manifest/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM fedora
|
||||||
|
|
||||||
|
RUN dnf install -y \
|
||||||
|
python3-pytest \
|
||||||
|
python3-requests \
|
||||||
|
python3-pytest-cov \
|
||||||
|
&& rm -rf /var/cache/dnf /var/log/dnf*
|
Loading…
Reference in a new issue