]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-container-nightly: drop ceph-ansible testing 2106/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 7 Feb 2023 08:48:00 +0000 (09:48 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 7 Feb 2023 08:48:00 +0000 (09:48 +0100)
These tests don't work anymore, the plan is to test with cephadm.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
ceph-container-nighlity/build/build [deleted file]
ceph-container-nighlity/build/teardown [deleted file]
ceph-container-nighlity/config/JENKINS_URL [deleted file]
ceph-container-nighlity/config/definitions/ceph-container-nightly.yml [deleted file]

diff --git a/ceph-container-nighlity/build/build b/ceph-container-nighlity/build/build
deleted file mode 100644 (file)
index 97864f3..0000000
+++ /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 (file)
index 7fcc4e7..0000000
+++ /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 (file)
index e97cf67..0000000
+++ /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 (file)
index da800a9..0000000
+++ /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&&centos8
-    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