Skip to content
Snippets Groups Projects
Commit 88989e07 authored by GitBot's avatar GitBot
Browse files

Integrate gitlab-ci/add-job-to-cancel-outdated-pipelines and 1 more

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@ea1f3bad

cancel_pipelines: include downstream pipelines

--

Commit: seco-ne/yocto/infrastructure/gitlab-ci@c8f97623

Add job to cancel outdated pipelines in merge requests

Everytime we push a new commit to a branch, a new pipeline is created.
Often the pipeline for the previous commit has not finished yet, and
GitLab does not automatically cancel it. It consumes valuable build
time, even if we don't need the results anymore.
Adding a MR pipeline job to search for previous pipelines on the same
branch and cancel them explicitly.
parent 52d6049a
No related branches found
No related tags found
2 merge requests!455CI: Update gitlab-ci,!211Integrate gitlab-ci/add-job-to-cancel-outdated-pipelines and 1 more
Pipeline #48279 passed with stage
in 1 minute
Subproject commit bab6f8116ca81f562eef7d878bec5992953c4276
Subproject commit ea1f3badfbab2167640774e38310c9251ada488b
......@@ -4,11 +4,11 @@
# ---------------------------------------------------------------------------------------
include:
- project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
ref: bab6f8116ca81f562eef7d878bec5992953c4276
ref: ea1f3badfbab2167640774e38310c9251ada488b
file: 'manifest-integration.yml'
variables:
GITLAB_CI_REVISION: bab6f8116ca81f562eef7d878bec5992953c4276
GITLAB_CI_REVISION: ea1f3badfbab2167640774e38310c9251ada488b
BB_RECIPE_NAME: linux-imx
# FIXME: This is only necessary due to the following GitLab limitation:
# https://gitlab.com/gitlab-org/gitlab/-/issues/209904
......
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