Skip to content
Snippets Groups Projects
Commit 6e3f19bb authored by Sigurd Røstad Augdal's avatar Sigurd Røstad Augdal
Browse files

Merge branch 'revert-3c4e7b3f' into 'master'

Revert "Update .gitlab-ci.yml"

See merge request !12
parents 3c4e7b3f 3dc3c251
Branches master
No related tags found
1 merge request!12Revert "Update .gitlab-ci.yml"
Pipeline #131478 failed with stages
in 4 minutes and 17 seconds
......@@ -18,18 +18,6 @@ build-job:
- apt-get update -qy
- pip3 install -r requirements.txt
- python manage.py migrate
# Import credential variables
- ARG DJANGO_SUPERUSER_USERNAME
- ARG DJANGO_SUPERUSER_PASSWORD
- ARG DJANGO_SUPERUSER_EMAIL
# Create superuser
- RUN DJANGO_SUPERUSER_USERNAME=${DJANGO_SUPERUSER_USERNAME} \
DJANGO_SUPERUSER_PASSWORD=${DJANGO_SUPERUSER_PASSWORD} \
DJANGO_SUPERUSER_EMAIL=${DJANGO_SUPERUSER_EMAIL} \
python manage.py createsuperuser --noinput || \
- echo "WARNING: This error is ignored as it most likely is 'That username is already taken.'"
- echo "WARNING: If you wish to alter the user credentials, then delete the user first."
- python manage.py loaddata seed.json
test-backend:
stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment