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>
+workflow:
+ rules:
+ - if: $CI_COMMIT_BRANCH =~ /^(master|smoke|^coverity-tested\/.*|stable-.*)$/
+ when: never
+ - when: always
+
stages:
- analyze
- build
- '*/*.log'
when: always
needs: []
- except:
- - master
- - smoke
- - /^coverity-tested\/.*/
- - /^stable-.*/
.gcc-tmpl:
variables: &gcc
.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:
.test-jobs-artifact-common:
stage: build
needs: []
- except: !reference [.test-jobs-common, except]
# Arm test artifacts
.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