Skip to content

Commit 3f303c3

Browse files
authored
Use --build for docker compose (#366)
1 parent 119c2f1 commit 3f303c3

File tree

2 files changed

+4
-4
lines changed
  • federation-v1/scenarios

2 files changed

+4
-4
lines changed

federation-v1/scenarios/constant-vus-over-time/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on_error(){
2727

2828
trap 'on_error' ERR
2929

30-
docker compose $COMPOSE_FLAGS up -d --wait --force-recreate
30+
docker compose $COMPOSE_FLAGS up -d --wait --force-recreate --build
3131

3232
if [[ -z "${CI}" ]]; then
3333
trap "docker compose $COMPOSE_FLAGS down && exit 0" INT
@@ -58,4 +58,4 @@ if [[ -z "${CI}" ]]; then
5858
echo "Done, you can find some stats in Grafana: http://localhost:3000/d/01npcT44k/k6?orgId=1&from=${START_TIME}000&to=${END_TIME}000"
5959
echo "You can close this and terminate all running services by using Ctrl+C"
6060
while true; do sleep 10; done
61-
fi
61+
fi

federation-v1/scenarios/ramping-vus/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on_error(){
2727

2828
trap 'on_error' ERR
2929

30-
docker compose $COMPOSE_FLAGS up -d --wait --force-recreate
30+
docker compose $COMPOSE_FLAGS up -d --wait --force-recreate --build
3131

3232
if [[ -z "${CI}" ]]; then
3333
trap "docker compose $COMPOSE_FLAGS down && exit 0" INT
@@ -58,4 +58,4 @@ if [[ -z "${CI}" ]]; then
5858
echo "Done, you can find some stats in Grafana: http://localhost:3000/d/01npcT44k/k6?orgId=1&from=${START_TIME}000&to=${END_TIME}000"
5959
echo "You can close this and terminate all running services by using Ctrl+C"
6060
while true; do sleep 10; done
61-
fi
61+
fi

0 commit comments

Comments
 (0)