Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rolf Erik Sesseng Aas
tdt4242-base
Commits
3dc3c251
Commit
3dc3c251
authored
Apr 23, 2021
by
Sigurd Røstad Augdal
Browse files
Revert "Update .gitlab-ci.yml"
This reverts commit
3c4e7b3f
parent
3c4e7b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3dc3c251
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment