CI: remove castxml from scripts and docs

Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
Sven Anderson 2021-10-20 00:21:16 +09:00 committed by mergify[bot]
parent cf77731927
commit 2ae01ab6bc
3 changed files with 8 additions and 11 deletions

View File

@ -242,7 +242,7 @@ require `gofmt` as well as [revive](https://github.com/mgechev/revive).
A custom tool called `implements` is available under `contrib/implements`. This
tool is designed to help compare what is available in ceph vs. go-ceph. It
checks both the "Implements" sections in the comments as well as the code
itself. It requires the [castxml](https://github.com/CastXML/CastXML) CLI tool.
itself.
## Contribution Guidelines

View File

@ -241,15 +241,13 @@ pre_all_tests() {
}
implements_tool() {
if command -v castxml >/dev/null ; then
mkdir -p "${RESULTS_DIR}"
show ./implements --list \
--report-json "${RESULTS_DIR}/implements.json" \
--report-text "${RESULTS_DIR}/implements.txt" \
cephfs rados rbd cephfs/admin rbd/admin rgw/admin common/admin/manager
# output the brief summary info onto stdout
grep '^[A-Z]' "${RESULTS_DIR}/implements.txt"
fi
mkdir -p "${RESULTS_DIR}"
show ./implements --list \
--report-json "${RESULTS_DIR}/implements.json" \
--report-text "${RESULTS_DIR}/implements.txt" \
cephfs rados rbd cephfs/admin rbd/admin rgw/admin common/admin/manager
# output the brief summary info onto stdout
grep '^[A-Z]' "${RESULTS_DIR}/implements.txt"
}
post_all_tests() {

View File

@ -20,7 +20,6 @@ RUN true && \
git wget curl make \
/usr/bin/cc /usr/bin/c++ \
"libcephfs-devel-${cv}" "librados-devel-${cv}" "librbd-devel-${cv}" && \
(dnf install -y 'castxml >= 0.4.3' || true) && \
yum clean all && \
true