2021-02-05 21:49:15 +01:00
|
|
|
.cic_eth_variables:
|
2021-02-05 17:06:31 +01:00
|
|
|
variables:
|
|
|
|
APP_NAME: cic-eth
|
|
|
|
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
|
2021-02-05 16:53:15 +01:00
|
|
|
|
2021-02-10 04:03:35 +01:00
|
|
|
.cic_eth_changes_target:
|
2021-02-01 18:12:51 +01:00
|
|
|
rules:
|
|
|
|
- changes:
|
2021-02-05 16:53:15 +01:00
|
|
|
- $CONTEXT/$APP_NAME/*
|
|
|
|
|
|
|
|
build-mr-cic-eth:
|
|
|
|
extends:
|
2021-02-10 04:03:35 +01:00
|
|
|
- .cic_eth_changes_target
|
2021-02-05 16:53:15 +01:00
|
|
|
- .py_build_merge_request
|
2021-02-05 21:49:15 +01:00
|
|
|
- .cic_eth_variables
|
2021-05-20 17:50:19 +02:00
|
|
|
variables:
|
2021-05-21 17:06:38 +02:00
|
|
|
PYTHONPATH: .
|
2021-05-20 16:59:19 +02:00
|
|
|
after_script:
|
2021-05-20 17:50:19 +02:00
|
|
|
- pip install -r test_requirements.txt
|
|
|
|
- pytest tests/unit/
|
|
|
|
- pytest tests/task/
|
|
|
|
- pytest tests/filters/
|
2021-02-01 18:12:51 +01:00
|
|
|
|
2021-02-05 16:53:15 +01:00
|
|
|
build-push-cic-eth:
|
2021-02-01 18:12:51 +01:00
|
|
|
extends:
|
2021-02-05 16:53:15 +01:00
|
|
|
- .py_build_push
|
2021-02-05 21:49:15 +01:00
|
|
|
- .cic_eth_variables
|
2021-02-05 16:53:15 +01:00
|
|
|
|
2021-02-04 05:36:32 +01:00
|
|
|
|