Skip to content

Commit

Permalink
refactor: use jepsen-pikiwidb repo
Browse files Browse the repository at this point in the history
  • Loading branch information
longfar-ncy committed Jun 21, 2024
1 parent c2d34ec commit b77a3a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions jepsen/docker/control/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ RUN wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod +x /usr/bin/lein && \
lein self-install

ARG REPO-URL=https://github.com/OpenAtomFoundation/pikiwidb.git
RUN git clone ${REPO-URL}
RUN git clone https://github.com/longfar-ncy/jepsen-pikiwidb

ADD entrypoint.sh /entrypoint.sh
RUN chmod 0755 /entrypoint.sh
Expand Down
5 changes: 2 additions & 3 deletions jepsen/docker/control/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ echo "$KNOWN_HOSTS" | sed 's/\\n/\
/g' > /root/.ssh/known_hosts
chmod 0600 /root/.ssh/known_hosts

# cd /jepsen
# lein run serve
bash
cd /jepsen-pikiwidb
lein run serve
4 changes: 3 additions & 1 deletion jepsen/docker/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN apt-get update && \
net-tools \
ntpdate \
psmisc \
python \
python3 \
rsyslog \
sudo \
tar \
Expand All @@ -48,6 +48,8 @@ RUN apt-get update && \
&& \
apt-get remove -y --purge --auto-remove systemd

RUN git clone https://github.com/longfar-ncy/pikiwidb -b test/jepsen

ADD entrypoint.sh /entrypoint.sh
RUN chmod 0755 /entrypoint.sh

Expand Down

0 comments on commit b77a3a9

Please sign in to comment.