Merge pull request #7676 from ietf-tools/main

ci: merge main to release
This commit is contained in:
Robert Sparks 2024-07-11 10:33:06 -05:00 committed by GitHub
commit 56972059d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View file

@ -1,14 +1,14 @@
#!/bin/bash #!/bin/bash -e
# #
# Run a celery worker # Run a celery worker
# #
echo "Running Datatracker checks..." echo "Running Datatracker checks..."
./ietf/manage.py check ./ietf/manage.py check
if ! ietf/manage.py migrate --skip-checks --check ; then if ! ietf/manage.py migrate --check ; then
echo "Unapplied migrations found, waiting to start..." echo "Unapplied migrations found, waiting to start..."
sleep 5 sleep 5
while ! ietf/manage.py migrate --skip-checks --check ; do while ! ietf/manage.py migrate --check ; do
echo "... still waiting for migrations..." echo "... still waiting for migrations..."
sleep 5 sleep 5
done done

View file

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash -e
echo "Running Datatracker checks..." echo "Running Datatracker checks..."
./ietf/manage.py check ./ietf/manage.py check
if ! ietf/manage.py migrate --skip-checks --check ; then if ! ietf/manage.py migrate --check ; then
echo "Unapplied migrations found, waiting to start..." echo "Unapplied migrations found, waiting to start..."
sleep 5 sleep 5
while ! ietf/manage.py migrate --skip-checks --check ; do while ! ietf/manage.py migrate --check ; do
echo "... still waiting for migrations..." echo "... still waiting for migrations..."
sleep 5 sleep 5
done done

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash -e
echo "Running Datatracker migrations..." echo "Running Datatracker migrations..."
./ietf/manage.py migrate --skip-checks --settings=settings_local ./ietf/manage.py migrate --settings=settings_local
echo "Done!" echo "Done!"