mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
CI: enabled all jobs on daily CI (#12207)
This commit is contained in:
@@ -27,6 +27,8 @@ pr:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
||||||
when: on_success
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends: .kubevirt
|
extends: .kubevirt
|
||||||
@@ -63,6 +65,8 @@ ubuntu20-calico-all-in-one:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
||||||
when: on_success
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
@@ -72,6 +76,8 @@ pr_full:
|
|||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*ci-full.*/
|
- if: $PR_LABELS =~ /.*ci-full.*/
|
||||||
when: on_success
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
# Else run as manual
|
# Else run as manual
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
@@ -108,6 +114,8 @@ pr_extended:
|
|||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
||||||
when: on_success
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
parallel:
|
parallel:
|
||||||
@@ -127,13 +135,13 @@ pr_extended:
|
|||||||
- ubuntu24-all-in-one-docker
|
- ubuntu24-all-in-one-docker
|
||||||
- ubuntu24-calico-all-in-one
|
- ubuntu24-calico-all-in-one
|
||||||
|
|
||||||
# Enabled when PERIODIC_CI_ENABLED var is set
|
# TODO: migrate to pr-full, fix the broken ones
|
||||||
periodic:
|
periodic:
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $PERIODIC_CI_ENABLED
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends: .kubevirt
|
extends: .kubevirt
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- TESTCASE:
|
- TESTCASE:
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
---
|
---
|
||||||
.molecule:
|
.molecule:
|
||||||
tags: [ffci]
|
tags: [ffci]
|
||||||
only: [/^pr-.*$/]
|
rules: # run on ci-short as well
|
||||||
except: ['triggers']
|
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
||||||
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
|
- when: manual
|
||||||
|
allow_failure: true
|
||||||
stage: deploy-part1
|
stage: deploy-part1
|
||||||
image: $PIPELINE_IMAGE
|
image: $PIPELINE_IMAGE
|
||||||
needs:
|
needs:
|
||||||
@@ -31,23 +36,17 @@ molecule:
|
|||||||
- bastion-ssh-config
|
- bastion-ssh-config
|
||||||
- bootstrap-os
|
- bootstrap-os
|
||||||
|
|
||||||
# CI template for periodic CI jobs
|
|
||||||
# Enabled when PERIODIC_CI_ENABLED var is set
|
|
||||||
molecule_full:
|
molecule_full:
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $PERIODIC_CI_ENABLED
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
|
- when: manual
|
||||||
|
allow_failure: true
|
||||||
extends: molecule
|
extends: molecule
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- ROLE:
|
- ROLE:
|
||||||
- container-engine/cri-dockerd
|
|
||||||
- container-engine/containerd
|
|
||||||
- container-engine/cri-o
|
|
||||||
- adduser
|
|
||||||
- bastion-ssh-config
|
|
||||||
- bootstrap-os
|
|
||||||
# FIXME : tests below are perma-failing
|
# FIXME : tests below are perma-failing
|
||||||
- container-engine/kata-containers
|
- container-engine/kata-containers
|
||||||
- container-engine/gvisor
|
- container-engine/gvisor
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ vagrant:
|
|||||||
VAGRANT_HOME: "$CI_PROJECT_DIR/.vagrant.d"
|
VAGRANT_HOME: "$CI_PROJECT_DIR/.vagrant.d"
|
||||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
tags: [ffci-vm-large]
|
tags: [ffci-vm-large]
|
||||||
# only: [/^pr-.*$/]
|
|
||||||
# except: ['triggers']
|
|
||||||
image: quay.io/kubespray/vm-kubespray-ci:v13
|
image: quay.io/kubespray/vm-kubespray-ci:v13
|
||||||
services: []
|
services: []
|
||||||
before_script:
|
before_script:
|
||||||
@@ -42,6 +40,8 @@ vagrant:
|
|||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
||||||
when: on_success
|
when: on_success
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PIPELINE_SCHEDULE_DESCRIPTION == "daily-ci"
|
||||||
|
when: on_success
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- TESTCASE:
|
- TESTCASE:
|
||||||
|
|||||||
Reference in New Issue
Block a user