Skip to content

Commit

Permalink
Verify successfull migration in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed May 31, 2021
1 parent 377c7c3 commit 4b27126
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend-project/contrib/github/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ docker-compose run --rm backend bash -c 'wait-for-it -t 600 frontend:8000'
# keep OpenAPI specs for build-artifact
docker-compose run backend python -W ignore manage.py generate_swagger -f yaml > openapi.yaml
docker-compose run backend python -W ignore manage.py generate_swagger -f json > openapi.json

# Verify successfull migration of data
docker-compose run --rm backend python manage.py migrate_v1

0 comments on commit 4b27126

Please sign in to comment.