+++ /dev/null
-#!/bin/bash
-
-# the following two methods exist in scripts/build_utils.sh
-pkgs=( "tox" )
-TEMPVENV=$(create_venv_dir)
-VENV=${TEMPVENV}/bin
-set_centos_python3_version "python3.9"
-install_python_packages $TEMPVENV "pkgs[@]" "pip==22.0.4"
-
-# XXX this might not be needed
-source $VENV/activate
-
-WORKDIR=$(mktemp -td tox.XXXXXXXXXX)
-
-prune_stale_vagrant_running_vms
-delete_libvirt_vms
-clear_libvirt_networks
-restart_libvirt_services
-update_vagrant_boxes
-
-if ! timeout 3h $VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR; then
- echo "ERROR: Job didn't complete successfully or got stuck for more than 3h."
- exit 1
-fi
+++ /dev/null
-#!/bin/bash
-# There has to be a better way to do this than this script which just looks
-# for every Vagrantfile in scenarios and then just destroys whatever is left.
-
-cd $WORKSPACE/ceph-ansible/tests/functional
-
-scenarios=$(find . | grep Vagrantfile | xargs -r dirname)
-
-for scenario in $scenarios; do
- cd $scenario
- vagrant destroy -f
- cd -
-done
+++ /dev/null
-- project:
- name: ceph-container-nightly
- test:
- - all_daemons
- - collocation
- - lvm_osds
- jobs:
- - 'ceph-container-nightly-ceph_ansible-{test}'
-
-- job-template:
- name: 'ceph-container-nightly-ceph_ansible-{test}'
- node: vagrant&&libvirt&¢os8
- concurrent: true
- defaults: global
- display-name: 'ceph-container: Nightly tests [ceph_ansible-{test}]'
- quiet-period: 5
- block-downstream: false
- block-upstream: false
- retry-count: 3
- properties:
- - github:
- url: https://github.com/ceph/ceph-container
- - build-discarder:
- days-to-keep: -1
- num-to-keep: -1
- artifact-days-to-keep: -1
- artifact-num-to-keep: -1
-
- parameters:
- - string:
- name: BRANCH
- description: "A ceph-container branch to test"
- default: main
-
- triggers:
- - timed: '@daily'
-
- scm:
- - git:
- url: https://github.com/ceph/ceph-container.git
- branches:
- - ${{BRANCH}}
- browser: auto
- timeout: 20
-
- builders:
- - inject:
- properties-content: |
- SCENARIO=ceph_ansible-{test}
- NIGHTLY=TRUE
- - shell:
- !include-raw-escape:
- - ../../../scripts/build_utils.sh
- - ../../build/build
-
- wrappers:
- - inject-passwords:
- global: true
- mask-password-params: true
- - credentials-binding:
- - username-password-separated:
- credential-id: ceph-container-quay-io
- username: REGISTRY_USERNAME
- password: REGISTRY_PASSWORD
-
- publishers:
- - postbuildscript:
- builders:
- - role: SLAVE
- build-on:
- - FAILURE
- - ABORTED
- build-steps:
- - shell: !include-raw: ../../build/teardown