From: Alfredo Deza Date: Fri, 9 Dec 2016 21:15:49 +0000 (-0500) Subject: ceph-docker-nightly: initial pass on a nightly test run for ceph-docker X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F589%2Fhead;p=ceph-build.git ceph-docker-nightly: initial pass on a nightly test run for ceph-docker Signed-off-by: Alfredo Deza --- diff --git a/ceph-docker-nightly/build/build b/ceph-docker-nightly/build/build new file mode 100644 index 00000000..e00014df --- /dev/null +++ b/ceph-docker-nightly/build/build @@ -0,0 +1,14 @@ +#!/bin/bash + +# the following two methods exist in scripts/build_utils.sh +pkgs=( "pytest" ) +install_python_packages "pkgs[@]" + +sudo apt-get install docker.io + +sudo gpasswd -a ${USER} docker +sudo systemctl restart docker +newgrp docker + +cd tests +py.test -v diff --git a/ceph-docker-nightly/config/definitions/ceph-docker-nightly.yml b/ceph-docker-nightly/config/definitions/ceph-docker-nightly.yml new file mode 100644 index 00000000..617ccb84 --- /dev/null +++ b/ceph-docker-nightly/config/definitions/ceph-docker-nightly.yml @@ -0,0 +1,35 @@ +- job: + name: ceph-docker-nightly + node: small && trusty + project-type: freestyle + defaults: global + display-name: 'ceph-docker: Nightly tests for released containers' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - github: + url: https://github.com/ceph/ceph-docker + logrotate: + daysToKeep: -1 + numToKeep: -1 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + triggers: + - timed: '@daily' + + scm: + - git: + url: https://github.com/ceph/ceph-docker.git + branches: + - master + browser: auto + timeout: 20 + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build