]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-container: add a nightly flag 1079/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 13 Jul 2018 12:49:11 +0000 (14:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 13 Jul 2018 13:03:12 +0000 (15:03 +0200)
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 <gabrioux@redhat.com>
ceph-container-nighlity/config/definitions/ceph-container-nightly.yml

index 0c412e80af249ef624ae7ee184da1ab42dfbc719..e7875050b0b8b0f2408e8e25bebea919704c553f 100644 (file)
@@ -56,6 +56,7 @@
       - inject:
           properties-content: |
             SCENARIO=ceph_ansible-{ceph-version}-{os}-{test}
+            NIGHTLY=TRUE
       - shell:
           !include-raw-escape:
             - ../../../scripts/build_utils.sh