fully wire up temporal. add startup script test to ensure temporal is running

This commit is contained in:
Grant Limberg 2023-08-29 16:43:05 -07:00
parent d865c42ef8
commit 60fb8c941a
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
4 changed files with 11 additions and 6 deletions

View file

@ -21,6 +21,6 @@ RUN apt -y install \
curl \
google-perftools \
libgoogle-perftools-dev \
protobuf-compiler
protobuf-compiler
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

View file

@ -3,6 +3,7 @@ FROM ubuntu:jammy
RUN apt update && apt upgrade -y
RUN apt -y install \
netcat \
postgresql-client \
postgresql-client-common \
libjemalloc2 \
@ -11,5 +12,4 @@ RUN apt -y install \
binutils \
linux-tools-gke \
perf-tools-unstable \
google-perftools \
netcat
google-perftools

View file

@ -101,7 +101,7 @@ else
fi
echo "Waiting for temporal"
while ! nc -z ${ZT_TEMPORAL_HOST} ${ZTC_TEMPORAL_PORT}; do
while ! nc -z ${ZT_TEMPORAL_HOST} ${ZT_TEMPORAL_PORT}; do
echo "waiting...";
sleep 1;
done