Move alias from definitions in pipelines YAML
This commit is contained in:
parent
8d1dcda9bf
commit
a91edfafb3
|
|
@ -11,24 +11,25 @@ clone:
|
||||||
|
|
||||||
|
|
||||||
definitions:
|
definitions:
|
||||||
step: &unittest-python
|
|
||||||
name: Unittest python server code
|
|
||||||
caches:
|
|
||||||
- pip
|
|
||||||
services:
|
|
||||||
- postgres
|
|
||||||
script: # Modify the commands below to build your repository.
|
|
||||||
- pip install pipenv
|
|
||||||
- export SECRET_KEY=abcd1234
|
|
||||||
- export DATABASE_URL=postgres://postgres:postgres@localhost:5432/skillbox
|
|
||||||
- export DEBUG=True
|
|
||||||
- export USE_AWS=False
|
|
||||||
- pipenv install --dev --system
|
|
||||||
- ./server/run_unittests_coverage.sh
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
|
||||||
|
aliases:
|
||||||
|
- &unittest-python
|
||||||
|
name: Unittest python server code
|
||||||
|
caches:
|
||||||
|
- pip
|
||||||
|
services:
|
||||||
|
- postgres
|
||||||
|
script: # Modify the commands below to build your repository.
|
||||||
|
- pip install pipenv
|
||||||
|
- export SECRET_KEY=abcd1234
|
||||||
|
- export DATABASE_URL=postgres://postgres:postgres@localhost:5432/skillbox
|
||||||
|
- export DEBUG=True
|
||||||
|
- export USE_AWS=False
|
||||||
|
- pipenv install --dev --system
|
||||||
|
- ./server/run_unittests_coverage.sh
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue