7 # use the binaries in some way
13 image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/test-manifest:fb91ee18309ab981289aa818ab2a7824ef0567a1'
16 - pytest-3 --junitxml=junit.xml --cov=build_manifest gitlab/build_manifest.py
17 coverage: '/TOTAL.*\s+(\d+%)$/'
24 image: "docker:stable"
29 # When using dind, it's wise to use the overlayfs driver for
30 # improved performance.
31 DOCKER_DRIVER: "overlay2"
34 - export DATE=$(date +"%Y-%m-%d")
35 - export IMAGE="${CI_REGISTRY_IMAGE}/${ARCH}/${TAG}"
36 - export UID="${IMAGE}:${DATE}-${CI_JOB_ID}"
37 - export LATEST="${IMAGE}:latest"
39 - docker build --pull -f ${DOCKERFILE} -t ${LATEST} ${CONTEXT_DIR}
41 # If we are in a fork, push the image to the reigstry regardless the branch
43 if [ "$CI_PROJECT_NAMESPACE" != "gstreamer" ]; then
44 docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
48 # Push the images to the upstream registry
50 if [ "$CI_COMMIT_REF_NAME" = "master" -a "$CI_PROJECT_NAMESPACE" = "gstreamer" ]; then
51 # Tag the image with the git ref
52 docker image tag ${LATEST} ${UID}
54 docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
59 alpine amd64 manifest builder docker:
64 CONTEXT_DIR: "docker/build_manifest/"
65 DOCKERFILE: "docker/build_manifest/Dockerfile"
68 test manifest amd64 docker:
73 CONTEXT_DIR: "docker/test_manifest/"
74 DOCKERFILE: "docker/test_manifest/Dockerfile"
77 gst-indent amd64 docker:
82 CONTEXT_DIR: "docker/indent/"
83 DOCKERFILE: "docker/indent/Dockerfile"
91 CONTEXT_DIR: "docker/fedora/"
92 DOCKERFILE: "docker/fedora/Dockerfile"
95 cerbero fedora amd64 docker:
100 CONTEXT_DIR: "docker/cerbero/"
101 DOCKERFILE: "docker/cerbero/Dockerfile-fedora"
105 stage: "build docker"
109 CONTEXT_DIR: "docker/android/"
110 DOCKERFILE: "docker/android/Dockerfile"
113 include: "gitlab/ci_template.yml"
121 # Test the build job against the latest build image tag and the local manifest
122 build fedora x86_64 local:
123 extends: '.build local'
125 image: "${CI_REGISTRY_IMAGE}/amd64/fedora:latest"
128 - "master@gstreamer/gst-ci"
130 build cerbero fedora x86_64 local:
131 extends: '.cerbero fedora x86_64'
132 image: "${CI_REGISTRY_IMAGE}/amd64/cerbero-fedora:latest"
136 - "master@gstreamer/gst-ci"
138 build cerbero cross-android universal local:
139 extends: '.cerbero cross-android universal'
140 image: "${CI_REGISTRY_IMAGE}/amd64/cerbero-fedora:latest"
144 - "master@gstreamer/gst-ci"
146 build cerbero cross win32 local:
147 extends: '.cerbero cross win32'
148 image: "${CI_REGISTRY_IMAGE}/amd64/cerbero-fedora:latest"
152 - "master@gstreamer/gst-ci"
154 build cerbero cross win64 local:
155 extends: '.cerbero cross win64'
156 image: "${CI_REGISTRY_IMAGE}/amd64/cerbero-fedora:latest"
160 - "master@gstreamer/gst-ci"
162 .test fedora x86_64 local:
163 image: '${CI_REGISTRY_IMAGE}/amd64/fedora:latest'
166 - 'build fedora x86_64 local'
170 - "master@gstreamer/gst-ci"
173 extends: '.test fedora x86_64 local'
175 TEST_SUITE: 'check.gst*'
177 cross-android universal examples local:
178 extends: '.cross-android universal examples'
179 image: "${CI_REGISTRY_IMAGE}/amd64/android:latest"
181 - "build cerbero cross-android universal local"
185 - "master@gstreamer/gst-ci"
187 integration testsuites fedora local:
188 extends: '.test fedora x86_64 local'
190 - rm -f gst-build/build/subprojects/gstreamer-vaapi/gst/vaapi/libgstvaapi.so
192 EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures"
193 TEST_SUITE: "validate ges"