Skip to content

Commit 0a742e8

Browse files
committed
Using new usage scenario syntax
1 parent d533bf2 commit 0a742e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

usage_scenario_warm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ services:
2828
dockerfile: ./Dockerfile
2929
shell: bash
3030
setup-commands:
31-
- /venv/bin/python manage.py migrate
32-
- /venv/bin/python manage.py load_initial_data
33-
- wget --recursive --spider --no-directories http://app:8000/ -o warmup.log || true
31+
- command: /venv/bin/python manage.py migrate
32+
- command: /venv/bin/python manage.py load_initial_data
33+
- command: wget --recursive --spider --no-directories http://app:8000/ -o warmup.log || true
3434
# wget issues an error code 8 due to some images returning 404. We could catch the code 8 specifically, but
3535
# it would not tell us if these are the known images or some other problems with the sever occured.
3636
# Sadly this call is very flaky and might still show up as successful even if cache warmup did not really work :(

0 commit comments

Comments
 (0)