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 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 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 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 ## Contribution Guidelines

View File

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

View File

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