]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/ci/install_format_tools.sh
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / ci / install_format_tools.sh
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/ci/install_format_tools.sh b/ceph/src/jaegertracing/opentelemetry-cpp/ci/install_format_tools.sh
new file mode 100755 (executable)
index 0000000..fc6960f
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Copyright The OpenTelemetry Authors
+# SPDX-License-Identifier: Apache-2.0
+
+set -e
+
+apt-get install -y clang-format-10 python3-pip git curl
+pip3 install cmake_format==0.6.13
+curl -L -o /usr/local/bin/buildifier https://github.com/bazelbuild/buildtools/releases/download/2.2.1/buildifier
+chmod +x /usr/local/bin/buildifier