]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-pr-docs: add annotation to build result 1808/head
authorKefu Chai <kchai@redhat.com>
Tue, 4 May 2021 05:47:53 +0000 (13:47 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 5 May 2021 04:01:56 +0000 (12:01 +0800)
commit2ea9ba02c5fd60fbf6ae2bd1f63c2ef8967c4604
treebc311ba2ee4f420a844e1ca2d83dc2ba8187adc5
parent01968d02ab54b07eae57c357362d0b8a2e44e730
ceph-pr-docs: add annotation to build result

* do not "set -e", so the script does not exit immediately. instead
  use a variable of "succeed" to store true if the document is built
  successfully, and false otherwise
* feed the output of the sphinx-build to github-check tool, so it
  is able to parse and call the GitHub Check API to update the
  Check web page on the PR if the test fails.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-pr-docs/build/build
ceph-pr-docs/config/definitions/ceph-pr-docs.yml