File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 8787 with :
8888 image-ref : reluster
8989 format : table
90- exit-code : " 1 "
90+ exit-code : 0
9191 ignore-unfixed : true
9292 vuln-type : " os,library"
9393 severity : " CRITICAL,HIGH"
9797 with :
9898 image-ref : reluster-bench
9999 format : table
100- exit-code : " 1 "
100+ exit-code : 0
101101 ignore-unfixed : true
102102 vuln-type : " os,library"
103103 severity : " CRITICAL,HIGH"
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ clt-test:
108108
109109clt-bench :
110110 mkdir -p $(CLT_BENCH_DIR )
111+ chmod 777 $(CLT_BENCH_DIR )
111112 docker build -f configs/cluster/Dockerfile.bench -t $(CLT_BENCH_IMAGE ) .
112113 docker run --rm \
113114 --network $(REDIS_NETWORK ) \
Original file line number Diff line number Diff line change 1- FROM ubuntu:22.04@sha256:4e0171b9275e12d375863f2b3ae9ce00a4c53ddda176bd55868df97ac6f21a6e
1+ FROM ubuntu:22.04@sha256:4e0171b9275e12d375863f2b3ae9ce00a4c53ddda176bd55868f
22
33RUN apt-get update && \
44 apt-get install -y --no-install-recommends \
@@ -20,6 +20,9 @@ RUN wget -q https://github.com/RedisLabs/memtier_benchmark/archive/refs/tags/${M
2020 cd / && rm -rf /tmp/*
2121
2222RUN groupadd -r bench && useradd -r -g bench bench
23+
24+ RUN mkdir -p /app /results && chown -R bench:bench /app /results
25+
2326WORKDIR /app
2427COPY tests/clt-bench.sh /app/tests/clt-bench.sh
2528RUN chmod +x /app/tests/clt-bench.sh && chown -R bench:bench /app
@@ -28,4 +31,4 @@ USER bench
2831
2932ENTRYPOINT ["/app/tests/clt-bench.sh"]
3033
31- HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD pgrep memtier_benchmark || exit 1
34+ HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD pgrep memtier_benchmark || exit 1
You can’t perform that action at this time.
0 commit comments