Skip to content
Snippets Groups Projects

multiple instances for one service; deployment scripts generator

Merged Zhiqiang Xie requested to merge zxie into main
7 files
+ 105
27
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 6
4
@@ -67,7 +67,7 @@ RUN wget -q -P /tmp \
WORKDIR /root/thrift-0.16.0
RUN ./bootstrap.sh &&\
./configure --without-java --without-python --without-go &&\
make &&\
make -j &&\
make install
RUN git clone -b v1.1.0 --recurse-submodules https://github.com/open-telemetry/opentelemetry-cpp /root/opentelemetry
@@ -80,20 +80,22 @@ RUN mkdir build &&\
-DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR \
-DCMAKE_INSTALL_PREFIX=$MY_INSTALL_DIR \
.. &&\
make &&\
make -j &&\
make install
RUN mkdir -p -m 0700 /root/.ssh && ssh-keyscan gitlab.mpi-sws.org >> ~/.ssh/known_hosts
RUN --mount=type=ssh git clone git-rts@gitlab.mpi-sws.org:cld/tracing/hindsight.git /root/hindsight
# COPY hindsight/ /root/hindsight
WORKDIR /root/hindsight
RUN cd client &&\
make &&\
make -j &&\
make install
RUN cd agent &&\
go build cmd/agent2/main.go &&\
mv main /hindsight_agent
RUN --mount=type=ssh git clone git-rts@gitlab.mpi-sws.org:cld/tracing/hindsight-grpc.git /root/hindsight-grpc
# COPY hindsight-grpc/ /root/hindsight-grpc
WORKDIR /root/hindsight-grpc
RUN mkdir build &&\
cd build &&\
@@ -101,6 +103,6 @@ RUN mkdir build &&\
-DCMAKE_PREFIX_PATH=$MY_INSTALL_DIR \
-DCMAKE_BUILD_TYPE=Release \
.. &&\
make
make -j
# Todo: run a server instrumented by a tracer alongwith a hindsight agent
\ No newline at end of file
Loading