mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* Delete unused scripts
- gen_tags.sh: not the right file, produce garbage even if path is fixed
- premoderator.sh: not used since ef6d24a49 (CI require a 'lgtm' or
'ok-to-test' labels to pass (#11251), 2024-05-31)
- gitlab-branch-cleanup: unused AFAICT
* CI: inline molecule logs
Single use site -> less indirection makes it easier to read.
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
---
|
|
.molecule:
|
|
tags: [ffci]
|
|
rules: # run on ci-short as well
|
|
- 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
|
|
image: $PIPELINE_IMAGE
|
|
needs:
|
|
- pipeline-image
|
|
# - ci-not-authorized
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh
|
|
after_script:
|
|
- rm -fr molecule_logs
|
|
- mkdir -p molecule_logs
|
|
- find ~/.cache/molecule/ \( -name '*.out' -o -name '*.err' \) -type f | xargs tar -uf molecule_logs/molecule.tar
|
|
- gzip molecule_logs/molecule.tar
|
|
artifacts:
|
|
when: always
|
|
paths:
|
|
- molecule_logs/
|
|
|
|
molecule:
|
|
extends: .molecule
|
|
script:
|
|
- ./tests/scripts/molecule_run.sh -i $ROLE
|
|
parallel:
|
|
matrix:
|
|
- ROLE:
|
|
- container-engine/cri-dockerd
|
|
- container-engine/containerd
|
|
- container-engine/cri-o
|
|
- adduser
|
|
- bastion-ssh-config
|
|
- bootstrap-os
|
|
|
|
molecule_full:
|
|
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
|
|
parallel:
|
|
matrix:
|
|
- ROLE:
|
|
# FIXME : tests below are perma-failing
|
|
- container-engine/kata-containers
|
|
- container-engine/gvisor
|
|
- container-engine/youki
|