From: Guillaume Abrioux Date: Tue, 7 Feb 2023 08:48:00 +0000 (+0100) Subject: ceph-container-nightly: drop ceph-ansible testing X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b708d7a42df69c19ff96e77a14a1d970e7162387;p=ceph-build.git ceph-container-nightly: drop ceph-ansible testing These tests don't work anymore, the plan is to test with cephadm. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-container-nighlity/build/build b/ceph-container-nighlity/build/build deleted file mode 100644 index 97864f31..00000000 --- a/ceph-container-nighlity/build/build +++ /dev/null @@ -1,24 +0,0 @@ -#!/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 diff --git a/ceph-container-nighlity/build/teardown b/ceph-container-nighlity/build/teardown deleted file mode 100644 index 7fcc4e7c..00000000 --- a/ceph-container-nighlity/build/teardown +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/ceph-container-nighlity/config/JENKINS_URL b/ceph-container-nighlity/config/JENKINS_URL deleted file mode 100644 index e97cf671..00000000 --- a/ceph-container-nighlity/config/JENKINS_URL +++ /dev/null @@ -1 +0,0 @@ -2.jenkins.ceph.com diff --git a/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml b/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml deleted file mode 100644 index da800a99..00000000 --- a/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml +++ /dev/null @@ -1,74 +0,0 @@ -- 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