Commit cc0d0fc5 authored by Okhin's avatar Okhin

Make message and collectstatic have been run in build stage, they're not needed in deploy

parent 58d4ceab
Pipeline #1123 passed with stages
in 1 minute and 42 seconds
...@@ -30,7 +30,6 @@ job build: ...@@ -30,7 +30,6 @@ job build:
- python manage.py makemessages --exclude env --locale fr - python manage.py makemessages --exclude env --locale fr
- python manage.py makemessages --exclude env --locale en - python manage.py makemessages --exclude env --locale en
- python manage.py makemessages --exclude env --locale de - python manage.py makemessages --exclude env --locale de
- python manage.py compilemessages --exclude env
artifacts: artifacts:
paths: paths:
- campaign/static - campaign/static
...@@ -54,8 +53,6 @@ job deploy preprod: ...@@ -54,8 +53,6 @@ job deploy preprod:
- pip install coverage - pip install coverage
- python /srv/piphone/campaign/setup.py install - python /srv/piphone/campaign/setup.py install
- python /srv/piphone/campaign/manage.py migrate - python /srv/piphone/campaign/manage.py migrate
- python /srv/piphone/campaign/manage.py collectstatic --noinput
- python /srv/piphone/campaign/manage.py compilemessages
- touch /srv/piphone/campaign.ready - touch /srv/piphone/campaign.ready
stage: deploy stage: deploy
tags: [preprod] tags: [preprod]
...@@ -75,8 +72,6 @@ job deploy prod: ...@@ -75,8 +72,6 @@ job deploy prod:
- pip install coverage - pip install coverage
- python /srv/piphone/campaign/setup.py install - python /srv/piphone/campaign/setup.py install
- python /srv/piphone/campaign/manage.py migrate - python /srv/piphone/campaign/manage.py migrate
- python /srv/piphone/campaign/manage.py collectstatic --noinput
- python /srv/piphone/campaign/manage.py compilemessages
- touch /srv/piphone/campaign.ready - touch /srv/piphone/campaign.ready
stage: deploy stage: deploy
tags: [piphone] tags: [piphone]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment