mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
automation: avoid pipelines on specific branches
This patch avoids the execution of pipelines in the following branches: - master - smoke - coverirty-tested/.* - stable-.* The job-level exclusions have been removed as they are pointless with this new workspace-level exclusion. Signed-off-by: Simone Ballarin <simone.ballarin@bugseng.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
7c1bf8661d
commit
6295f06a34
3 files changed
+6
-16
No files matched your search
@@ -1,3 +1,9 @@
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH =~ /^(master|smoke|^coverity-tested\/.*|stable-.*)$/
|
||||
when: never
|
||||
- when: always
|
||||
|
||||
stages:
|
||||
- analyze
|
||||
- build
|
||||
|
||||
@@ -12,11 +12,6 @@
|
||||
- '*/*.log'
|
||||
when: always
|
||||
needs: []
|
||||
except:
|
||||
- master
|
||||
- smoke
|
||||
- /^coverity-tested\/.*/
|
||||
- /^stable-.*/
|
||||
|
||||
.gcc-tmpl:
|
||||
variables: &gcc
|
||||
@@ -214,11 +209,6 @@
|
||||
.yocto-test:
|
||||
stage: build
|
||||
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
||||
except:
|
||||
- master
|
||||
- smoke
|
||||
- /^coverity-tested\/.*/
|
||||
- /^stable-.*/
|
||||
script:
|
||||
- ./automation/build/yocto/build-yocto.sh -v --log-dir=./logs --xen-dir=`pwd` ${YOCTO_BOARD} ${YOCTO_OUTPUT}
|
||||
variables:
|
||||
@@ -269,7 +259,6 @@
|
||||
.test-jobs-artifact-common:
|
||||
stage: build
|
||||
needs: []
|
||||
except: !reference [.test-jobs-common, except]
|
||||
|
||||
# Arm test artifacts
|
||||
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
.test-jobs-common:
|
||||
stage: test
|
||||
image: registry.gitlab.com/xen-project/xen/${CONTAINER}
|
||||
except:
|
||||
- master
|
||||
- smoke
|
||||
- /^coverity-tested\/.*/
|
||||
- /^stable-.*/
|
||||
|
||||
.arm64-test-needs: &arm64-test-needs
|
||||
- alpine-3.18-arm64-rootfs-export
|
||||
|
||||