Skip to content
Snippets Groups Projects
Commit c6e6b778 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller :tropical_fish:
Browse files

ci: add trigger and make windows msrv job manual

parent c0bf05d4
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -38,11 +38,33 @@ default:
interruptible: true
stages:
- "trigger"
- "prep"
- "lint"
- "test"
- "extras"
# This is an empty job that is used to trigger the pipeline.
trigger:
image: alpine:latest
stage: 'trigger'
variables:
GIT_STRATEGY: none
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"'
# Require explicit action to trigger tests post merge, but we want to
# automatically trigger the integratation stage
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH && $CI_JOB_STAGE != "integrate"'
when: 'manual'
# 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
.debian:11:
variables:
FDO_DISTRIBUTION_VERSION: 'bullseye-slim'
......@@ -86,6 +108,8 @@ stages:
apt clean &&
bash ./ci/install-rust-ext.sh &&
pip install tomli
needs:
- "trigger"
rules:
- if: '$UPDATE_IMG == null'
......@@ -326,7 +350,8 @@ gst-build:
.msvc2019 build:
stage: 'test'
needs: []
needs:
- 'trigger'
tags:
- 'docker'
- 'windows'
......@@ -348,6 +373,7 @@ gst-build:
test windows msrv:
extends: '.msvc2019 build'
image: $WINDOWS_RUST_MINIMUM_IMAGE
when: 'manual'
test windows stable:
extends: '.msvc2019 build'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment