+++ /dev/null
-#!/bin/bash
-
-# the following two methods exist in scripts/build_utils.sh
-pkgs=( "tox" )
-install_python_packages "pkgs[@]"
-
-# XXX this might not be needed
-source $VENV/activate
-
-$VENV/tox -rv -- --provider=libvirt
+++ /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/tests
-
-scenarios=$(find . | grep Vagrantfile | xargs dirname)
-
-for scenario in $scenarios; do
- cd $scenario
- vagrant destroy -f
- cd -
-done
+++ /dev/null
-- job:
- name: ceph-ansible-pull-requests
- # disabling for now, until libvirt/vagrant tests are in place
- disabled: false
- # ties it to the one node that has this labels
- node: vagrant&&ceph-ansible
- concurrent: true
- defaults: global
- display-name: 'ceph-ansible: Pull Requests'
- quiet-period: 5
- block-downstream: false
- block-upstream: false
- retry-count: 3
- properties:
- - github:
- url: https://github.com/ceph/ceph-ansible
- logrotate:
- daysToKeep: 15
- numToKeep: 30
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
-
- parameters:
- - string:
- name: sha1
- description: "A pull request ID, like 'origin/pr/72/head'"
-
- triggers:
- - github-pull-request:
- allow-whitelist-orgs-as-admins: true
- org-list:
- - ceph
- trigger-phrase: ''
- only-trigger-phrase: false
- github-hooks: true
- permit-all: true
- auto-close-on-fail: false
- status-context: "Testing cluster scenarios"
- started-status: "Running ansible playbooks"
- success-status: "OK - Run completed"
- failure-status: "Playbook run failed with errors"
-
- scm:
- - git:
- url: https://github.com/ceph/ceph-ansible.git
- branches:
- - ${sha1}
- refspec: +refs/pull/*:refs/remotes/origin/pr/*
- browser: auto
- timeout: 20
- skip-tag: true
- wipe-workspace: false
-
- builders:
- - shell:
- !include-raw:
- - ../../../scripts/build_utils.sh
- - ../../build/build
-
- publishers:
- - postbuildscript:
- script-only-if-succeeded: False
- script-only-if-failed: True
- builders:
- - shell: !include-raw ../../build/teardown