Skip to content

Commit b8b19f4

Browse files
authored
add sleeper hack for biz duplicate issue (#11)
* test * fix ci * fix sleeper script
1 parent d4f24aa commit b8b19f4

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Load CI Scripts
1717
command: |
1818
git clone [email protected]:fiverr/kubernetes.git /var/tmp/kubernetes
19-
pip3 install -U fiverrci==0.5.3 --extra-index-url $FIVERR_PYPI_ENDPOINT
19+
/var/tmp/kubernetes/scripts/ci/install_fiverrci.sh
2020
echo "export FIVERRCI_BUILDKIT=1" >> $BASH_ENV
2121
- run:
2222
name: Prepare docker version
@@ -64,4 +64,4 @@ workflows:
6464
- release_manifest:
6565
context: org-global
6666
requires:
67-
- release
67+
- release

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ RUN apk add --no-cache jansson libmicrohttpd libressl
1313
WORKDIR /usr/sbin/
1414
COPY --from=build-env /tmp/brubeck/brubeck /usr/sbin/
1515
COPY --from=build-env /tmp/brubeck/debian/biz.json /tmp/brubeck/debian/tech.json /etc/brubeck/
16+
COPY bizsleeper.sh /usr/sbin/
17+
RUN chmod 777 /usr/sbin/bizsleeper.sh
1618

17-
ENTRYPOINT [ "/usr/sbin/brubeck" ]
19+
ENTRYPOINT [ "/usr/sbin/brubeck" ]

bizsleeper.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
/bin/sleep 7
3+
/usr/sbin/brubeck --config /etc/config.json --log /dev/null

0 commit comments

Comments
 (0)