cic-internal-integration/apps/cic-ussd/.gitlab-ci.yml

28 lines
588 B
YAML
Raw Normal View History

2021-02-06 19:28:08 +01:00
.cic_ussd_variables:
variables:
APP_NAME: cic-ussd
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
2021-02-06 16:13:47 +01:00
2021-02-06 19:28:08 +01:00
build-mr-cic-ussd:
extends:
- .cic_ussd_changes_target
2021-02-06 19:28:08 +01:00
- .py_build_merge_request
- .cic_ussd_variables
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- apps/cic-ussd/**/*
when: always
2021-02-06 16:13:47 +01:00
2021-02-06 19:28:08 +01:00
build-push-cic-ussd:
extends:
- .py_build_push
- .cic_ussd_variables
rules:
- if: $CI_COMMIT_BRANCH == "master"
changes:
- apps/cic-ussd/**/*
when: always
2021-02-10 18:48:24 +01:00
2021-02-06 16:13:47 +01:00