forked from phoenix/litellm-mirror
build(config.yml): reorder steps
This commit is contained in:
parent
4de9a1541d
commit
100fa97cc2
1 changed files with 3 additions and 3 deletions
|
@ -113,12 +113,12 @@ jobs:
|
||||||
sudo wget https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz
|
sudo wget https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz
|
||||||
sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz
|
sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz
|
||||||
sudo rm dockerize-linux-amd64-v0.6.1.tar.gz
|
sudo rm dockerize-linux-amd64-v0.6.1.tar.gz
|
||||||
- run:
|
|
||||||
name: Wait for app to be ready
|
|
||||||
command: dockerize -wait http://localhost:4000 -timeout 1m
|
|
||||||
- run:
|
- run:
|
||||||
name: Display container logs
|
name: Display container logs
|
||||||
command: docker logs my-app
|
command: docker logs my-app
|
||||||
|
- run:
|
||||||
|
name: Wait for app to be ready
|
||||||
|
command: dockerize -wait http://localhost:4000 -timeout 1m
|
||||||
- run:
|
- run:
|
||||||
name: Test the application
|
name: Test the application
|
||||||
command: curl -s "http://localhost:4000/health/readiness"
|
command: curl -s "http://localhost:4000/health/readiness"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue