Skip to content

Commit a3b5f70

Browse files
committed
Using new usage scenario syntax
1 parent da105ac commit a3b5f70

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
@@ -22,9 +22,9 @@ services:
2222
dockerfile: ./Dockerfile
2323
shell: bash
2424
setup-commands:
25-
- /venv/bin/python manage.py migrate
26-
- /venv/bin/python manage.py load_initial_data
27-
- wget --recursive --spider --no-directories http://app:8000/ -o warmup.log || true
25+
- command: /venv/bin/python manage.py migrate
26+
- command: /venv/bin/python manage.py load_initial_data
27+
- command: wget --recursive --spider --no-directories http://app:8000/ -o warmup.log || true
2828
# wget issues an error code 8 due to some images returning 404. We could catch the code 8 specifically, but
2929
# it would not tell us if these are the known images or some other problems with the sever occured.
3030
# 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)