2020-10-24 17:56:22 +00:00
|
|
|
include:
|
2021-09-27 06:41:10 +00:00
|
|
|
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/14731f78c23c7b523a85a26a068ade9ac1ecd2f3/templates/fedora.yml"
|
|
|
|
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/14731f78c23c7b523a85a26a068ade9ac1ecd2f3/templates/debian.yml"
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
stages:
|
2021-10-05 13:27:50 +00:00
|
|
|
- 'trigger'
|
2020-10-24 17:56:22 +00:00
|
|
|
- 'build docker'
|
|
|
|
- 'preparation'
|
|
|
|
- 'pre-build'
|
|
|
|
- 'build'
|
|
|
|
- 'test'
|
|
|
|
# Use the resulting binaries
|
|
|
|
- 'integrate'
|
|
|
|
|
|
|
|
variables:
|
2021-11-30 14:29:18 +00:00
|
|
|
GIT_DEPTH: 1
|
|
|
|
|
2020-10-24 17:56:22 +00:00
|
|
|
# Branch to track for modules that have no ref specified in the manifest
|
2021-09-27 06:41:10 +00:00
|
|
|
GST_UPSTREAM_BRANCH: 'main'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
# IMPORTANT
|
|
|
|
# These are the version tags for the docker images the CI runs against.
|
|
|
|
# If you are hacking on them or need a them to rebuild, its enough
|
|
|
|
# to change any part of the string of the image you want.
|
|
|
|
###
|
2022-03-14 12:56:16 +00:00
|
|
|
FEDORA_TAG: '2022-03-14.0'
|
2021-09-30 11:01:26 +00:00
|
|
|
INDENT_TAG: '2022-03-07.1'
|
2022-04-26 15:33:47 +00:00
|
|
|
WINDOWS_TAG: "2022-04-26.0"
|
2020-10-24 17:56:22 +00:00
|
|
|
|
2021-09-27 06:41:10 +00:00
|
|
|
GST_UPSTREAM_REPO: 'gstreamer/gstreamer'
|
|
|
|
FDO_UPSTREAM_REPO: 'gstreamer/gstreamer'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
FEDORA_AMD64_SUFFIX: 'amd64/fedora'
|
|
|
|
INDENT_AMD64_SUFFIX: 'amd64/gst-indent'
|
|
|
|
WINDOWS_AMD64_SUFFIX: 'amd64/windows'
|
|
|
|
WINDOWS_RUST_AMD64_SUFFIX: 'amd64/windows-rust'
|
|
|
|
|
|
|
|
FEDORA_DOCS_IMAGE: "registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:2020-07-03.0-master"
|
|
|
|
WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
|
|
|
|
WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
|
|
|
|
|
2022-04-26 15:33:47 +00:00
|
|
|
RUST_MINIMUM_VERSION: '1.57.0'
|
|
|
|
RUST_LATEST_VERSION: '1.60.0'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
WINDOWS_RUST_MINIMUM_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_MINIMUM_VERSION"
|
|
|
|
WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_MINIMUM_VERSION"
|
|
|
|
|
|
|
|
WINDOWS_RUST_LATEST_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_LATEST_VERSION"
|
|
|
|
WINDOWS_RUST_LATEST_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_LATEST_VERSION"
|
|
|
|
|
|
|
|
MESON_BUILDTYPE_ARGS: --default-library=both
|
|
|
|
DEFAULT_MESON_ARGS: >
|
|
|
|
-Dlibnice:tests=disabled
|
|
|
|
-Dlibnice:examples=disabled
|
|
|
|
-Dopenh264:tests=disabled
|
|
|
|
-Dpygobject:tests=false
|
|
|
|
-Dpython=enabled
|
|
|
|
-Dlibav=enabled
|
|
|
|
-Dugly=enabled
|
|
|
|
-Dbad=enabled
|
|
|
|
-Ddevtools=enabled
|
|
|
|
-Dges=enabled
|
|
|
|
-Drtsp_server=enabled
|
|
|
|
-Dvaapi=enabled
|
|
|
|
-Dsharp=disabled
|
2021-09-18 23:55:34 +00:00
|
|
|
-Dgpl=enabled
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
MESON_GST_WERROR: >
|
|
|
|
-Dgstreamer:werror=true
|
|
|
|
-Dgst-plugins-base:werror=true
|
|
|
|
-Dgst-plugins-good:werror=true
|
|
|
|
-Dgst-plugins-ugly:werror=true
|
|
|
|
-Dgst-plugins-bad:werror=true
|
|
|
|
-Dgst-rtsp-server:werror=true
|
|
|
|
-Dgst-libav:werror=true
|
|
|
|
-Dgst-examples:werror=true
|
|
|
|
-Dgst-editing-services:werror=true
|
|
|
|
-Dgst-docs:werror=true
|
|
|
|
-Dgst-omx:werror=true
|
|
|
|
-Dgst-devtools:werror=true
|
|
|
|
-Dgst-python:werror=true
|
|
|
|
-Dgstreamer-vaapi:werror=true
|
|
|
|
-Dgstreamer-sharp:werror=true
|
|
|
|
|
|
|
|
workflow:
|
2021-09-29 12:15:03 +00:00
|
|
|
# https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines
|
2020-10-24 17:56:22 +00:00
|
|
|
rules:
|
2021-09-29 12:15:03 +00:00
|
|
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
2021-11-30 14:45:07 +00:00
|
|
|
variables:
|
|
|
|
GIT_FETCH_EXTRA_FLAGS: '--no-tags'
|
2021-09-29 12:15:03 +00:00
|
|
|
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
|
|
|
|
when: never
|
2021-11-30 14:58:59 +00:00
|
|
|
- if: '$CI_COMMIT_TAG'
|
2021-09-29 12:15:03 +00:00
|
|
|
- if: '$CI_COMMIT_BRANCH'
|
2021-11-30 14:45:07 +00:00
|
|
|
variables:
|
|
|
|
GIT_FETCH_EXTRA_FLAGS: '--no-tags'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Global CI policy
|
|
|
|
#
|
|
|
|
# This can be used to configure global behaviour our our jobs.
|
|
|
|
#
|
|
|
|
default:
|
|
|
|
retry:
|
|
|
|
max: 2
|
|
|
|
when:
|
|
|
|
- 'runner_system_failure'
|
|
|
|
- 'stuck_or_timeout_failure'
|
|
|
|
- 'scheduler_failure'
|
|
|
|
- 'api_failure'
|
|
|
|
interruptible: true
|
|
|
|
|
2021-10-05 13:27:50 +00:00
|
|
|
# This is an empty job that is used to trigger the pipeline.
|
|
|
|
trigger:
|
|
|
|
image: alpine:latest
|
|
|
|
stage: 'trigger'
|
2021-11-02 20:09:52 +00:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: none
|
2021-10-05 13:27:50 +00:00
|
|
|
script:
|
|
|
|
- echo "Trigger job done, now running the pipeline."
|
|
|
|
rules:
|
|
|
|
# If the MR is assigned to the Merge bot, trigger the pipeline automatically
|
|
|
|
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "gstreamer-merge-bot"'
|
2022-03-29 17:57:21 +00:00
|
|
|
# Require explicit action to trigger tests post merge
|
2021-10-13 21:10:40 +00:00
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
2022-03-29 17:57:21 +00:00
|
|
|
when: 'manual'
|
2021-10-05 13:27:50 +00:00
|
|
|
# When the assignee isn't the merge bot, require an explicit action to trigger the pipeline
|
|
|
|
# to avoid wasting CI resources
|
|
|
|
- if: '$CI_MERGE_REQUEST_ASSIGNEES != "gstreamer-merge-bot"'
|
|
|
|
when: 'manual'
|
|
|
|
allow_failure: false
|
|
|
|
|
2021-09-27 06:41:10 +00:00
|
|
|
.fedora image:
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
2021-09-27 06:41:10 +00:00
|
|
|
FDO_DISTRIBUTION_VERSION: '31'
|
|
|
|
FDO_REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
|
|
|
|
FDO_DISTRIBUTION_TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
|
2021-12-02 22:57:09 +00:00
|
|
|
FDO_DISTRIBUTION_EXEC: 'GIT_BRANCH=$CI_COMMIT_REF_NAME GIT_URL=$CI_REPOSITORY_URL bash ci/docker/fedora/prepare.sh'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
fedora amd64 docker:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.fedora image'
|
|
|
|
- '.fdo.container-build@fedora'
|
|
|
|
stage: 'build docker'
|
2021-10-12 19:09:35 +00:00
|
|
|
needs:
|
|
|
|
- "trigger"
|
2021-12-06 14:02:00 +00:00
|
|
|
tags:
|
|
|
|
- 'packet.net'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
2021-09-27 06:41:10 +00:00
|
|
|
.gst-indent image:
|
|
|
|
variables:
|
|
|
|
FDO_DISTRIBUTION_VERSION: 'stretch'
|
|
|
|
FDO_REPO_SUFFIX: "$INDENT_AMD64_SUFFIX"
|
|
|
|
FDO_DISTRIBUTION_TAG: "$INDENT_TAG-$GST_UPSTREAM_BRANCH"
|
|
|
|
FDO_DISTRIBUTION_PACKAGES: 'curl indent git findutils'
|
2021-09-30 11:01:26 +00:00
|
|
|
FDO_DISTRIBUTION_EXEC: 'ci/docker/indent/prepare.sh'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
gst-indent amd64 docker:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.gst-indent image'
|
|
|
|
- '.fdo.container-build@debian'
|
|
|
|
stage: 'build docker'
|
2021-10-05 13:27:50 +00:00
|
|
|
# Do not depend on the trigger, as we want to run indent always
|
|
|
|
needs: []
|
2020-10-24 17:56:22 +00:00
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
windows amd64 docker:
|
2020-10-24 17:56:22 +00:00
|
|
|
stage: "build docker"
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- "trigger"
|
2022-03-11 10:27:15 +00:00
|
|
|
timeout: '3h'
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
# Unlike the buildah/linux jobs, this file
|
|
|
|
# needs to be relative to docker/windows/ subdir
|
|
|
|
# as it makes life easier in the powershell script
|
|
|
|
#
|
|
|
|
# We also don't need a CONTEXT_DIR var as its also
|
|
|
|
# hardcoded to be docker/windows/
|
|
|
|
DOCKERFILE: "ci/docker/windows/Dockerfile"
|
|
|
|
tags:
|
|
|
|
- windows
|
|
|
|
- shell
|
|
|
|
- "1809"
|
|
|
|
script:
|
|
|
|
# We need to pass an array and to resolve the env vars, so we can't use a variable:
|
|
|
|
- $DOCKER_BUILD_ARGS = @("--build-arg", "DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH")
|
|
|
|
|
|
|
|
- "& ci/docker/windows/container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE $DOCKERFILE"
|
|
|
|
- |
|
|
|
|
if (!($?)) {
|
|
|
|
echo "Failed to build the image"
|
|
|
|
Exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
.windows rust docker build:
|
|
|
|
stage: 'build docker'
|
|
|
|
needs:
|
|
|
|
- job: 'windows amd64 docker'
|
|
|
|
artifacts: false
|
|
|
|
variables:
|
|
|
|
# Unlike the buildah/linux jobs, this file
|
|
|
|
# needs to be relative to docker/windows/ subdir
|
|
|
|
# as it makes life easier in the powershell script
|
|
|
|
#
|
|
|
|
# We also don't need a CONTEXT_DIR var as its also
|
|
|
|
# hardcoded to be docker/windows/
|
2022-04-26 17:00:16 +00:00
|
|
|
DOCKERFILE: 'ci/docker/windows/rust.Dockerfile'
|
2020-10-24 17:56:22 +00:00
|
|
|
tags:
|
|
|
|
- 'windows'
|
|
|
|
- 'shell'
|
|
|
|
- '1809'
|
|
|
|
script:
|
|
|
|
# We need to pass an array and to resolve the env vars, so we can't use a variable:
|
|
|
|
- $DOCKER_BUILD_ARGS = @("--build-arg", "DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH", "--build-arg", "BASE_IMAGE=$WINDOWS_IMAGE", "--build-arg", "RUST_VERSION=$RUST_VERSION")
|
|
|
|
|
2022-04-26 17:00:16 +00:00
|
|
|
- "& ci/docker/windows/container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $RUST_IMAGE $RUST_UPSTREAM_IMAGE $DOCKERFILE"
|
2020-10-24 17:56:22 +00:00
|
|
|
- |
|
|
|
|
if (!($?)) {
|
|
|
|
echo "Failed to build the image"
|
|
|
|
Exit 1
|
|
|
|
}
|
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
windows rust amd64 docker latest stable:
|
2020-10-24 17:56:22 +00:00
|
|
|
extends: '.windows rust docker build'
|
|
|
|
variables:
|
|
|
|
RUST_IMAGE: !reference [variables, "WINDOWS_RUST_LATEST_IMAGE"]
|
|
|
|
RUST_UPSTREAM_IMAGE: !reference [variables, "WINDOWS_RUST_LATEST_UPSTREAM_IMAGE"]
|
|
|
|
RUST_VERSION: !reference [variables, "RUST_LATEST_VERSION"]
|
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
windows rust amd64 docker minimum supported version:
|
2020-10-24 17:56:22 +00:00
|
|
|
extends: '.windows rust docker build'
|
|
|
|
variables:
|
|
|
|
RUST_IMAGE: !reference [variables, "WINDOWS_RUST_MINIMUM_IMAGE"]
|
|
|
|
RUST_UPSTREAM_IMAGE: !reference [variables, "WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE"]
|
|
|
|
RUST_VERSION: !reference [variables, "RUST_MINIMUM_VERSION"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---- Preparation ----- #
|
|
|
|
#
|
|
|
|
# gst-indent!!
|
|
|
|
#
|
|
|
|
gst indent:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.gst-indent image'
|
|
|
|
- '.fdo.suffixed-image@debian'
|
2020-10-24 17:56:22 +00:00
|
|
|
stage: 'preparation'
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- job: 'gst-indent amd64 docker'
|
|
|
|
artifacts: false
|
2020-10-24 17:56:22 +00:00
|
|
|
script:
|
2021-09-30 11:01:26 +00:00
|
|
|
- ./scripts/check-format-c
|
|
|
|
- ./scripts/format-csharp --check
|
2022-03-29 18:26:34 +00:00
|
|
|
rules:
|
|
|
|
# Don't check indentation on post merge pipelines
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
|
|
|
when: 'manual'
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE != "gstreamer" || $CI_COMMIT_BRANCH != $GST_UPSTREAM_BRANCH'
|
|
|
|
when: 'always'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# build setup templates
|
|
|
|
#
|
|
|
|
.build_template: &build
|
2021-12-02 22:57:09 +00:00
|
|
|
- ci/scripts/handle-subprojects-cache.py subprojects/
|
|
|
|
# Update subprojects to respect `.wrap` content
|
|
|
|
- meson subprojects update --reset
|
2020-10-24 17:56:22 +00:00
|
|
|
- echo $MESON_ARGS
|
|
|
|
- meson build/ $MESON_ARGS
|
|
|
|
- ninja -C build/
|
|
|
|
- ccache --show-stats
|
|
|
|
|
|
|
|
.build_ccache_vars:
|
|
|
|
variables:
|
|
|
|
CCACHE_COMPILERCHECK: 'content'
|
|
|
|
CCACHE_COMPRESS: 'true'
|
|
|
|
CCACHE_BASEDIR: '/cache/gstreamer/gstreamer'
|
|
|
|
CCACHE_DIR: '/cache/gstreamer/gstreamer/ccache/'
|
|
|
|
# shared across everything really
|
|
|
|
CCACHE_MAXSIZE: '10G'
|
|
|
|
CARGO_HOME: '/cache/gstreamer/cargo'
|
|
|
|
|
|
|
|
.base_modules_changes: &modules_changes
|
|
|
|
- .gitlab-ci.yml
|
2022-05-11 06:15:46 +00:00
|
|
|
- gst-env.py
|
2022-02-05 03:46:49 +00:00
|
|
|
- ci/gitlab/*.py
|
2020-10-24 17:56:22 +00:00
|
|
|
- meson.build
|
|
|
|
- subprojects/*.wrap
|
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gst-editing-services/**/*
|
|
|
|
- subprojects/gst-integration-testsuites/**/*
|
|
|
|
- subprojects/gst-libav/**/*
|
|
|
|
- subprojects/gst-omx/**/*
|
|
|
|
- subprojects/gst-plugins-bad/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-ugly/**/*
|
|
|
|
- subprojects/gst-python/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gstreamer-sharp/**/*
|
|
|
|
- subprojects/gstreamer-vaapi/**/*
|
|
|
|
- subprojects/gst-rtsp-server/**/*
|
|
|
|
|
|
|
|
.simple_fedora_build: &simple_build >-
|
|
|
|
${DEFAULT_MESON_ARGS}
|
|
|
|
-Dsharp=enabled
|
|
|
|
-Domx=enabled
|
|
|
|
-Dgst-omx:target=generic
|
|
|
|
-Ddoc=disabled
|
|
|
|
-Drs=disabled
|
|
|
|
${MESON_BUILDTYPE_ARGS}
|
|
|
|
${MESON_GST_WERROR}
|
|
|
|
|
|
|
|
.build:
|
|
|
|
stage: 'build'
|
|
|
|
extends:
|
|
|
|
- '.build_ccache_vars'
|
2021-09-27 06:42:18 +00:00
|
|
|
needs:
|
|
|
|
- "trigger"
|
2020-10-24 17:56:22 +00:00
|
|
|
# Taking into account the slowest shared runner + time needed to upload the binaries to artifacts
|
|
|
|
# Also need to take into account I/O of pulling docker images and uploading artifacts
|
|
|
|
timeout: '45min'
|
|
|
|
variables:
|
|
|
|
MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
|
|
|
|
script:
|
|
|
|
*build
|
|
|
|
after_script:
|
|
|
|
- mv build/meson-logs/ meson-logs
|
|
|
|
artifacts:
|
|
|
|
expire_in: "7 days"
|
|
|
|
when: "always"
|
|
|
|
paths:
|
|
|
|
- 'meson-logs/'
|
2021-10-13 21:10:40 +00:00
|
|
|
rules:
|
|
|
|
# If this matches, it means the pipeline is running against either the main
|
|
|
|
# or a stable branch, so make it manual
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
|
|
|
when: manual
|
|
|
|
- changes:
|
|
|
|
*modules_changes
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
.build fedora x86_64:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.fedora image'
|
|
|
|
- '.fdo.suffixed-image@fedora'
|
|
|
|
- '.build'
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- "fedora amd64 docker"
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
MESON_ARGS: *simple_build
|
|
|
|
|
|
|
|
build nodebug fedora x86_64:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.fedora image'
|
|
|
|
- '.fdo.suffixed-image@fedora'
|
|
|
|
- '.build'
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- "fedora amd64 docker"
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
|
|
|
|
|
|
|
|
build clang fedora x86_64:
|
|
|
|
extends: '.build fedora x86_64'
|
|
|
|
variables:
|
|
|
|
CC: 'ccache clang'
|
|
|
|
CXX: 'ccache clang++'
|
|
|
|
|
|
|
|
.build windows:
|
|
|
|
image: $WINDOWS_IMAGE
|
|
|
|
stage: 'build'
|
|
|
|
tags:
|
|
|
|
- 'docker'
|
|
|
|
- 'windows'
|
|
|
|
- '1809'
|
|
|
|
needs:
|
2021-10-05 13:27:50 +00:00
|
|
|
- "windows amd64 docker"
|
2020-10-24 17:56:22 +00:00
|
|
|
timeout: '45min'
|
|
|
|
variables:
|
|
|
|
MESON_ARGS: >
|
|
|
|
${DEFAULT_MESON_ARGS}
|
|
|
|
-Dpython=disabled
|
|
|
|
-Dlibav=disabled
|
|
|
|
-Dvaapi=disabled
|
|
|
|
-Dgst-plugins-base:pango=enabled
|
|
|
|
-Dgst-plugins-good:cairo=enabled
|
2022-01-27 05:55:53 +00:00
|
|
|
# Needs to not be empty otherwise the newline -> space replace command in
|
|
|
|
# `script:` will fail
|
|
|
|
MESON_CROSS_ARGS: ' '
|
2020-10-24 17:56:22 +00:00
|
|
|
rules:
|
2021-10-13 01:35:38 +00:00
|
|
|
# If this matches, it means the pipeline is running against either the main
|
|
|
|
# or a stable branch, so make it manual
|
2021-10-13 21:10:40 +00:00
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
2021-10-13 01:35:38 +00:00
|
|
|
when: manual
|
2021-10-13 21:00:13 +00:00
|
|
|
- changes:
|
|
|
|
*modules_changes
|
2020-10-24 17:56:22 +00:00
|
|
|
script:
|
2022-05-11 06:40:15 +00:00
|
|
|
# Make sure powershell exits on errors
|
|
|
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
|
|
|
- $ErrorActionPreference = "Stop"
|
|
|
|
|
|
|
|
# Set the code page to UTF-8
|
|
|
|
- chcp 65001
|
|
|
|
|
2021-12-02 22:57:09 +00:00
|
|
|
- ci/scripts/handle-subprojects-cache.py subprojects/
|
2020-10-24 17:56:22 +00:00
|
|
|
# For some reason, options are separated by newline instead of space, so we
|
|
|
|
# have to replace them first.
|
|
|
|
- $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
2022-01-27 05:55:53 +00:00
|
|
|
- $env:MESON_CROSS_ARGS = $env:MESON_CROSS_ARGS.replace("`n"," ")
|
2020-10-24 17:56:22 +00:00
|
|
|
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
|
2022-01-27 05:55:53 +00:00
|
|
|
meson build $env:MESON_ARGS $env:MESON_CROSS_ARGS &&
|
2020-10-24 17:56:22 +00:00
|
|
|
ninja -C build"
|
|
|
|
# XXX: Re-enable when uploading stops timing out
|
|
|
|
#artifacts:
|
|
|
|
# expire_in: "7 days"
|
|
|
|
# when: "always"
|
|
|
|
# paths:
|
|
|
|
# - 'build/meson-logs/'
|
2022-01-27 05:55:53 +00:00
|
|
|
# - 'vslogs.zip'
|
2020-10-24 17:56:22 +00:00
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
build vs2019 amd64:
|
2020-10-24 17:56:22 +00:00
|
|
|
extends: '.build windows'
|
|
|
|
variables:
|
|
|
|
ARCH: 'amd64'
|
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
build vs2019 x86:
|
2020-10-24 17:56:22 +00:00
|
|
|
extends: '.build windows'
|
|
|
|
variables:
|
|
|
|
ARCH: 'x86'
|
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
build vs2019 arm64 uwp:
|
2022-01-27 05:55:53 +00:00
|
|
|
extends: '.build windows'
|
|
|
|
variables:
|
|
|
|
ARCH: 'arm64'
|
|
|
|
# pango pulls in cairo which pulls in pixman which doesn't build because of
|
|
|
|
# https://github.com/mesonbuild/meson/issues/9889
|
|
|
|
MESON_CROSS_ARGS: >
|
|
|
|
-Dgst-plugins-base:pango=disabled
|
|
|
|
-Dgst-plugins-good:cairo=disabled
|
|
|
|
-Dgst-devtools:cairo=disabled
|
|
|
|
--cross-file ci/meson/vs2019-arm64-cross-file.txt
|
|
|
|
--native-file ci/meson/vs2019-x64-native-file.txt
|
|
|
|
|
2022-03-01 19:12:02 +00:00
|
|
|
build msys2 :
|
2020-10-24 17:56:22 +00:00
|
|
|
extends: '.build windows'
|
|
|
|
timeout: '60min'
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
*modules_changes
|
|
|
|
allow_failure: true
|
|
|
|
when: 'manual'
|
|
|
|
script:
|
2021-11-22 08:46:15 +00:00
|
|
|
# Make sure powershell exits on errors
|
2020-10-24 17:56:22 +00:00
|
|
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
|
|
|
- $ErrorActionPreference = "Stop"
|
|
|
|
|
2022-05-11 06:40:15 +00:00
|
|
|
# Set the code page to UTF-8
|
|
|
|
- chcp 65001
|
|
|
|
|
2021-10-12 21:13:44 +00:00
|
|
|
# Configure MSYS2 to use the UCRT64 environment, start in the same directory
|
|
|
|
# and inherit PATH
|
|
|
|
- $env:MSYSTEM = "UCRT64"
|
|
|
|
- $env:CHERE_INVOKING = "1"
|
|
|
|
- $env:MSYS2_PATH_TYPE = "inherit"
|
2020-10-24 17:56:22 +00:00
|
|
|
# For some reason, options are separated by newline instead of space, so we
|
|
|
|
# have to replace them first.
|
|
|
|
- $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
|
|
|
|
# Replace forward slashes with backwards so bash doesn't complain
|
|
|
|
- $env:_PROJECT_DIR = $env:CI_PROJECT_DIR.replace('\','/')
|
2021-10-12 21:13:44 +00:00
|
|
|
- C:\msys64\usr\bin\bash -lc "meson build $env:MESON_ARGS && ninja -C build"
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
# ---- Tests ----- #
|
|
|
|
|
|
|
|
.test:
|
|
|
|
stage: 'test'
|
|
|
|
extends:
|
|
|
|
- '.build_ccache_vars'
|
|
|
|
needs:
|
2021-10-05 13:27:50 +00:00
|
|
|
- "trigger"
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
MESON_ARGS: *simple_build
|
|
|
|
|
|
|
|
# Disable colored output to avoid weird rendering issues
|
|
|
|
GST_DEBUG_NO_COLOR: "true"
|
|
|
|
CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"
|
|
|
|
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
|
|
|
|
TIMEOUT_FACTOR: "2"
|
|
|
|
CARGO_HOME: "/cache/gstreamer/cargo"
|
|
|
|
# Enable the fault handler so we get backtraces on segfaults.
|
|
|
|
# any non-empty string will do
|
|
|
|
PYTHONFAULTHANDLER: "enabled"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
*modules_changes
|
|
|
|
script:
|
|
|
|
- *build
|
|
|
|
|
|
|
|
- echo "-> Running ${TEST_SUITE}"
|
|
|
|
- >
|
|
|
|
./gst-env.py
|
|
|
|
gst-validate-launcher ${TEST_SUITE}
|
2021-10-12 20:19:46 +00:00
|
|
|
--check-bugs
|
2020-10-24 17:56:22 +00:00
|
|
|
--dump-on-failure
|
|
|
|
--mute
|
|
|
|
--shuffle
|
|
|
|
--no-display
|
|
|
|
--meson-no-rebuild
|
|
|
|
--timeout-factor "${TIMEOUT_FACTOR}"
|
|
|
|
--fail-on-testlist-change
|
|
|
|
-l "${CI_PROJECT_DIR}/validate-logs/"
|
|
|
|
--xunit-file "${CI_PROJECT_DIR}/validate-logs/xunit.xml"
|
|
|
|
${EXTRA_VALIDATE_ARGS}
|
|
|
|
after_script:
|
|
|
|
- mv build/meson-logs/ meson-logs
|
|
|
|
artifacts:
|
|
|
|
expire_in: '14 days'
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- 'meson-logs/'
|
|
|
|
- 'validate-logs'
|
|
|
|
reports:
|
|
|
|
junit:
|
|
|
|
- "validate-logs/*.xml"
|
|
|
|
|
|
|
|
.test fedora x86_64:
|
2021-09-27 06:41:10 +00:00
|
|
|
extends:
|
|
|
|
- '.fedora image'
|
|
|
|
- '.fdo.suffixed-image@fedora'
|
|
|
|
- '.test'
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- "fedora amd64 docker"
|
2020-10-24 17:56:22 +00:00
|
|
|
tags: ['gstreamer']
|
|
|
|
|
|
|
|
check fedora:
|
|
|
|
extends: '.test fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst*"
|
|
|
|
|
|
|
|
integration testsuites fedora:
|
|
|
|
extends: '.test fedora x86_64'
|
|
|
|
parallel: 4
|
|
|
|
variables:
|
2021-10-12 20:19:46 +00:00
|
|
|
EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX} --sync"
|
2020-10-24 17:56:22 +00:00
|
|
|
TEST_SUITE: "validate ges"
|
|
|
|
|
|
|
|
# gstreamer-full:
|
2021-10-20 15:56:49 +00:00
|
|
|
gstreamer-full static build:
|
|
|
|
extends: '.build fedora x86_64'
|
|
|
|
stage: 'build'
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
MESON_ARGS: >
|
|
|
|
--default-library=static
|
2021-10-13 02:28:57 +00:00
|
|
|
-Ddoc=disabled
|
2020-10-24 17:56:22 +00:00
|
|
|
$MESON_GST_WERROR
|
|
|
|
|
|
|
|
script:
|
|
|
|
- *build
|
|
|
|
- meson test -C build -v test-gst-full
|
|
|
|
artifacts:
|
|
|
|
expire_in: "7 days"
|
|
|
|
when: "always"
|
|
|
|
paths:
|
|
|
|
- 'meson-logs/'
|
|
|
|
|
2021-10-20 15:56:49 +00:00
|
|
|
gstreamer-full-minimal static build:
|
|
|
|
extends: 'gstreamer-full static build'
|
|
|
|
stage: 'build'
|
2020-10-24 17:56:22 +00:00
|
|
|
variables:
|
|
|
|
MESON_ARGS: >
|
|
|
|
--default-library=static
|
2021-10-20 15:56:49 +00:00
|
|
|
-Ddoc=disabled
|
|
|
|
-Dgstreamer:gst_debug=false
|
2020-10-24 17:56:22 +00:00
|
|
|
-Dauto_features=disabled
|
|
|
|
-Dgstreamer:check=enabled
|
|
|
|
-Dtests=enabled
|
|
|
|
-Dgst-plugins-base:alsa=enabled
|
|
|
|
-Dgst-plugins-base:typefind=enabled
|
|
|
|
-Dgst-plugins-base:pbtypes=enabled
|
|
|
|
-Dgst-full-elements=coreelements:filesrc,fakesink,identity,input-selector
|
|
|
|
-Dgst-full-typefind-functions=typefindfunctions:wav,flv
|
|
|
|
-Dgst-full-device-providers=alsa:alsadeviceprovider
|
|
|
|
-Dgst-full-dynamic-types=pbtypes:video_multiview_flagset
|
|
|
|
$MESON_GST_WERROR
|
|
|
|
|
|
|
|
script:
|
|
|
|
- *build
|
|
|
|
- meson test -C build -v test-gst-full
|
|
|
|
- meson test -C build test-gst-full-features --test-args "-e filesrc,identity,fakesink -E filesink,capsfilter -t audio/x-wav -T video/vivo -d alsadeviceprovider -D v4l2deviceprovider -l GstVideoMultiviewFlagsSet"
|
|
|
|
- strip build/libgstreamer-full-1.0.so
|
|
|
|
- ls -l build/libgstreamer-full-1.0.so
|
|
|
|
artifacts:
|
|
|
|
expire_in: "7 days"
|
|
|
|
when: "always"
|
|
|
|
paths:
|
|
|
|
- 'meson-logs/'
|
|
|
|
|
|
|
|
# Valgrind
|
|
|
|
.valgrind fedora x86_64:
|
|
|
|
extends: '.test fedora x86_64'
|
|
|
|
stage: 'test'
|
|
|
|
variables:
|
|
|
|
EXTRA_VALIDATE_ARGS: "--valgrind"
|
|
|
|
|
|
|
|
valgrind core:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gstreamer\\..*"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
|
|
|
|
valgrind base:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-base\\..*"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci//**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
|
|
|
|
valgrind good:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-good\\..*"
|
|
|
|
# take longer time due to splitmux unit test
|
|
|
|
TIMEOUT_FACTOR: "4"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
|
|
|
|
valgrind ugly:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-ugly\\..*"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-ugly/**/*
|
|
|
|
|
|
|
|
valgrind bad:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-bad\\..*"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-bad/**/*
|
|
|
|
|
|
|
|
valgrind ges:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-editing-services\\..*"
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- "*"
|
|
|
|
- scripts/*
|
2021-10-06 10:23:50 +00:00
|
|
|
- ci/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-bad/**/*
|
|
|
|
- subprojects/gst-editing-services/**/*
|
2022-03-29 16:43:56 +00:00
|
|
|
- subprojects/gst-python/**/*
|
2020-10-24 17:56:22 +00:00
|
|
|
|
|
|
|
# ---- Integration ----- #
|
|
|
|
|
2021-09-28 19:29:12 +00:00
|
|
|
.documentation:
|
2020-10-24 17:56:22 +00:00
|
|
|
image: $FEDORA_DOCS_IMAGE
|
|
|
|
extends:
|
|
|
|
- '.build_ccache_vars'
|
|
|
|
variables:
|
|
|
|
MESON_ARGS: *simple_build
|
|
|
|
MESON_BUILDTYPE_ARGS: "-Ddoc=enabled"
|
|
|
|
CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/"
|
|
|
|
script:
|
2021-10-18 14:48:09 +00:00
|
|
|
# FIXME: should rebuild the image with newer versions!
|
2020-10-24 17:56:22 +00:00
|
|
|
- pip3 install --upgrade hotdoc
|
2021-10-18 14:48:09 +00:00
|
|
|
- pip3 install --upgrade meson
|
2020-10-24 17:56:22 +00:00
|
|
|
- *build
|
|
|
|
- ./gst-env.py ninja -C build/ plugins_doc_caches
|
2021-12-02 22:57:09 +00:00
|
|
|
# Ignore modifications to wrap files made by meson
|
|
|
|
- git checkout subprojects/*.wrap
|
2020-10-24 17:56:22 +00:00
|
|
|
- ./ci/scripts/check-documentation-diff.py
|
|
|
|
- ./gst-env.py hotdoc run --conf-file=build/subprojects/gst-docs/GStreamer-doc.json --fatal-warnings
|
|
|
|
- mv build/subprojects/gst-docs/GStreamer-doc/html documentation/
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
when: always
|
2021-09-28 19:29:12 +00:00
|
|
|
expire_in: "7 days"
|
2020-10-24 17:56:22 +00:00
|
|
|
paths:
|
|
|
|
- documentation/
|
|
|
|
- plugins-cache-diffs/
|
2021-09-27 14:15:22 +00:00
|
|
|
|
2021-10-05 13:06:32 +00:00
|
|
|
#
|
2021-10-13 21:10:40 +00:00
|
|
|
# This jobs runs in gstreamer namespace when after the merge into main branch.
|
2021-10-05 13:06:32 +00:00
|
|
|
# The produced artifact is later used to automatically update the web page.
|
|
|
|
#
|
2021-09-28 19:29:12 +00:00
|
|
|
documentation:
|
|
|
|
stage: integrate
|
|
|
|
extends:
|
|
|
|
- '.documentation'
|
|
|
|
needs: []
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == "main"'
|
|
|
|
|
2021-10-05 13:06:32 +00:00
|
|
|
#
|
|
|
|
# This job is run in users namespace to validate documentation before merging
|
|
|
|
# MR.
|
|
|
|
#
|
2021-09-28 19:29:12 +00:00
|
|
|
build documentation:
|
|
|
|
extends:
|
|
|
|
- '.documentation'
|
|
|
|
stage: build
|
|
|
|
needs:
|
2021-10-05 13:27:50 +00:00
|
|
|
- "trigger"
|
2021-09-28 19:29:12 +00:00
|
|
|
rules:
|
2021-10-13 21:10:40 +00:00
|
|
|
# Never run post merge, we have the `documentation` always running for that
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
2021-10-13 21:00:13 +00:00
|
|
|
when: never
|
2021-09-28 19:29:12 +00:00
|
|
|
- changes:
|
|
|
|
- .gitlab-ci.yml
|
2022-02-05 03:46:49 +00:00
|
|
|
- ci/gitlab/*.py
|
2021-09-28 19:29:12 +00:00
|
|
|
- subprojects/*.wrap
|
|
|
|
- subprojects/gst-docs/**/*
|
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gst-editing-services/**/*
|
|
|
|
- subprojects/gst-libav/**/*
|
|
|
|
- subprojects/gst-omx/**/*
|
|
|
|
- subprojects/gst-plugins-bad/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-ugly/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gstreamer-vaapi/**/*
|
|
|
|
- subprojects/gst-rtsp-server/**/*
|
|
|
|
|
2021-09-27 14:15:22 +00:00
|
|
|
# FIXME: Using trigger: causes permission issues, workaround using old REST API.
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/341737
|
|
|
|
cerbero trigger:
|
|
|
|
stage: build
|
2022-02-14 23:28:13 +00:00
|
|
|
timeout: '3h'
|
2022-03-30 09:52:53 +00:00
|
|
|
tags:
|
|
|
|
- placeholder-job
|
2021-10-05 00:24:58 +00:00
|
|
|
extends:
|
|
|
|
- '.fedora image'
|
|
|
|
- '.fdo.suffixed-image@fedora'
|
2021-10-05 13:27:50 +00:00
|
|
|
needs:
|
|
|
|
- "fedora amd64 docker"
|
2021-09-27 14:15:22 +00:00
|
|
|
script:
|
2021-09-27 22:37:18 +00:00
|
|
|
- ci/gitlab/trigger_cerbero_pipeline.py
|
|
|
|
|
2021-09-27 14:15:22 +00:00
|
|
|
rules:
|
2021-10-13 21:10:40 +00:00
|
|
|
# Never run post merge
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
|
2021-10-13 21:00:13 +00:00
|
|
|
when: never
|
2021-09-27 14:15:22 +00:00
|
|
|
- changes:
|
|
|
|
- .gitlab-ci.yml
|
2022-02-05 03:46:49 +00:00
|
|
|
- ci/gitlab/*.py
|
2021-09-27 14:15:22 +00:00
|
|
|
- subprojects/gst-devtools/**/*
|
|
|
|
- subprojects/gst-editing-services/**/*
|
|
|
|
- subprojects/gst-libav/**/*
|
|
|
|
- subprojects/gst-plugins-bad/**/*
|
|
|
|
- subprojects/gst-plugins-base/**/*
|
|
|
|
- subprojects/gst-plugins-good/**/*
|
|
|
|
- subprojects/gst-plugins-ugly/**/*
|
|
|
|
- subprojects/gst-python/**/*
|
|
|
|
- subprojects/gstreamer/**/*
|
|
|
|
- subprojects/gst-rtsp-server/**/*
|
2021-10-05 13:27:50 +00:00
|
|
|
- subprojects/gst-examples/**/*
|