From: Guillaume Abrioux Date: Fri, 13 Jul 2018 12:49:11 +0000 (+0200) Subject: ceph-container: add a nightly flag X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1079%2Fhead;p=ceph-build.git ceph-container: add a nightly flag In addition to ceph/ceph-container@fa0a1483d59c5a30e99f379e12a24239f91e7980 Adding this environment variable allows tests/tox.sh in ceph/ceph-container to know whether we are running in a nightly job. This is needed because ceph-container project checks if some code has been changed, if no, test is not run. Since in nightlies job will always enter this condition we must have a way to be aware if we are running a nightly so we can skip this test. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml b/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml index 0c412e80..e7875050 100644 --- a/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml +++ b/ceph-container-nighlity/config/definitions/ceph-container-nightly.yml @@ -56,6 +56,7 @@ - inject: properties-content: | SCENARIO=ceph_ansible-{ceph-version}-{os}-{test} + NIGHTLY=TRUE - shell: !include-raw-escape: - ../../../scripts/build_utils.sh