2021-02-05 21:49:15 +01:00
|
|
|
.contract_migration_variables:
|
2021-02-05 17:06:31 +01:00
|
|
|
variables:
|
|
|
|
APP_NAME: contract-migration
|
2021-07-08 01:49:39 +02:00
|
|
|
DOCKERFILE_PATH: docker/Dockerfile_ci
|
|
|
|
CONTEXT: apps/$APP_NAME
|
2021-02-05 16:53:15 +01:00
|
|
|
|
|
|
|
build-mr-contract-migration:
|
|
|
|
extends:
|
|
|
|
- .py_build_merge_request
|
2021-02-05 21:49:15 +01:00
|
|
|
- .contract_migration_variables
|
2021-07-06 21:51:53 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
|
changes:
|
2021-07-06 21:54:36 +02:00
|
|
|
- apps/contract-migration/**/*
|
2021-07-06 21:51:53 +02:00
|
|
|
when: always
|
2021-01-24 21:37:00 +01:00
|
|
|
|
2021-02-05 16:53:15 +01:00
|
|
|
build-push-contract-migration:
|
2021-01-24 21:37:00 +01:00
|
|
|
extends:
|
2021-02-05 16:53:15 +01:00
|
|
|
- .py_build_push
|
2021-02-05 21:49:15 +01:00
|
|
|
- .contract_migration_variables
|
2021-07-06 21:51:53 +02:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == "master"
|
|
|
|
changes:
|
2021-07-06 21:54:36 +02:00
|
|
|
- apps/contract-migration/**/*
|
2021-07-06 21:51:53 +02:00
|
|
|
when: always
|