Agregados requerimientos y separados por dev y prod
This commit is contained in:
@@ -10,7 +10,7 @@ before_script:
|
|||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt -r requirements-dev.text
|
||||||
- ./lint.sh
|
- ./lint.sh
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -eu
|
|||||||
# Activate venv
|
# Activate venv
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
# Install all requirements
|
# Install all requirements
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt -r requirements-dev.txt
|
||||||
|
|
||||||
|
|
||||||
# Collect static files
|
# Collect static files
|
||||||
|
|||||||
2
requirements-dev.txt
Normal file
2
requirements-dev.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
pylint # Linting
|
||||||
|
pylint-exit # Maps pylint exit codes to something sane for linux
|
||||||
1
requirements-prod.txt
Normal file
1
requirements-prod.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
gunicorn # To run the server on production
|
||||||
@@ -7,5 +7,4 @@ ratelimit # To rate limit request to musicbrainz
|
|||||||
redis # To comunicate with redis
|
redis # To comunicate with redis
|
||||||
requests # Saner request library
|
requests # Saner request library
|
||||||
blake3 # To use blake3 hashing, since python seeds every hash on hashlib and is different between instances
|
blake3 # To use blake3 hashing, since python seeds every hash on hashlib and is different between instances
|
||||||
gunicorn # To run the server on production
|
|
||||||
country_list # To transform country codes to their names
|
country_list # To transform country codes to their names
|
||||||
Reference in New Issue
Block a user