]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile: rule to upload + submit coverity job
authorSage Weil <sage.weil@dreamhost.com>
Sun, 21 Aug 2011 23:45:57 +0000 (16:45 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sun, 21 Aug 2011 23:45:57 +0000 (16:45 -0700)
You need to

 make project.tgz
 make submit-coverity

and have .coverity.build.pass with the right password in CWD
(ceph.git/src).

The submit-coverity rule doesn't do the project.tgz for you because it
always cleans+rebuilds every time.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/Makefile.am

index dabc29f714d884a4e9c5152502a5c50af6be0664..c277cc4f2ccfbef9a6006b2c1f86e4f7d6990ce2 100644 (file)
@@ -1387,3 +1387,6 @@ project.tgz: clean
        cov-build -e emit -o output make
        tar czvf project.tgz README emit output
 
+submit-coverity:
+       scp project.tgz ceph.newdream.net:ceph.newdream.net/coverity/`git describe`.tgz
+       echo "v2;ceph;"`cat .coverity.build.pass`";MAIL;http://ceph.newdream.net/coverity/"`git describe`.tgz | mail build@submit.scan.coverity.com