mirror of
https://github.com/ceph/go-ceph
synced 2024-12-23 06:33:24 +00:00
CI: remove castxml from scripts and docs
Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
parent
cf77731927
commit
2ae01ab6bc
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user