Avoid duplication between ci_template.yml and .gitlab-ci.yml

This commit is contained in:
Xavier Claessens 2018-11-22 16:47:35 -05:00
parent 1f326e2693
commit 6bdd1ead99
2 changed files with 13 additions and 13 deletions

View file

@ -121,15 +121,9 @@ include: "gitlab/ci_template.yml"
# Test the build job against the latest build image tag and the local manifest # Test the build job against the latest build image tag and the local manifest
build fedora x86_64 local: build fedora x86_64 local:
extends: '.build' extends: '.build fedora x86_64'
image: "${CI_REGISTRY_IMAGE}/amd64/fedora-build:latest" image: "${CI_REGISTRY_IMAGE}/amd64/fedora-build:latest"
dependencies:
- 'manifest'
build ubuntu x86_64 local: build android arm64 api28 local:
extends: '.build' extends: '.build android arm64 api28'
variables:
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dlibav=disabled"
image: "${CI_REGISTRY_IMAGE}/amd64/ubuntu-build:latest" image: "${CI_REGISTRY_IMAGE}/amd64/ubuntu-build:latest"
dependencies:
- 'manifest'

View file

@ -62,15 +62,13 @@ manifest:
- "manifest.xml" - "manifest.xml"
# - "gst-build/" # - "gst-build/"
build fedora x86_64: .build fedora x86_64:
extends: '.build' extends: '.build'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora-build:2414895a53408ed8a0410a52560f8090b3f74696'
dependencies: dependencies:
- "manifest" - "manifest"
build android arm64 api28: .build android arm64 api28:
extends: '.build' extends: '.build'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/ubuntu-build:a1726fee5841b776fcdaeda2e0ad628ce037a3c6'
variables: variables:
MESON_ARGS: > MESON_ARGS: >
-Dbad=enabled -Dbad=enabled
@ -78,3 +76,11 @@ build android arm64 api28:
--cross-file /android_arm64_28.txt --cross-file /android_arm64_28.txt
dependencies: dependencies:
- "manifest" - "manifest"
build fedora x86_64:
extends: '.build fedora x86_64'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora-build:2414895a53408ed8a0410a52560f8090b3f74696'
build android arm64 api28:
extends: '.build android arm64 api28'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/ubuntu-build:a1726fee5841b776fcdaeda2e0ad628ce037a3c6'