parent
b5fafe4c34
commit
8f734aedbc
@ -12,6 +12,11 @@ jobs:
|
||||
- name: Run Docker containers
|
||||
run: docker compose up -d
|
||||
- name: Check migration version
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
version=$(docker compose run --rm migrations version 2>&1 | tail -1 | awk '{print $(NF)}')
|
||||
[[ $version = 21 ]]
|
||||
while
|
||||
version=$(docker compose run --rm migrations version 2>&1 | tail -1 | awk '{print $(NF)}')
|
||||
[[ $version != 21 ]]; do
|
||||
echo "Incorrect version: $version"
|
||||
echo "Retrying..."
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user