Update apps/cic-eth/.gitlab-ci.yml

This commit is contained in:
Blair Vanderlugt 2021-05-21 17:35:56 +00:00
parent 559f386657
commit 830297d352

View File

@ -3,28 +3,30 @@
APP_NAME: cic-eth APP_NAME: cic-eth
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile
.cic_eth_changes_target:
rules:
- changes:
- $CONTEXT/$APP_NAME/*
# build-mr-cic-eth: # build-mr-cic-eth:
# extends: # extends:
# - .cic_eth_changes_target
# - .py_build_merge_request # - .py_build_merge_request
# - .cic_eth_variables # - .cic_eth_variables
build-mr-unittest-cic-eth: build-mr-unittest-cic-eth:
extends: extends:
- .cic_eth_changes_target
- .cic_eth_variables - .cic_eth_variables
- .py_build_unittest_merge_request - .py_build_unittest_merge_request
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- $CONTEXT/$APP_NAME/**/*
when: always
test-mr-unittest-cic-eth: test-mr-unittest-cic-eth:
extends: extends:
- .cic_eth_changes_target
- .cic_eth_variables - .cic_eth_variables
- .py_unittest_merge_request - .py_unittest_merge_request
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- $CONTEXT/$APP_NAME/**/*
when: always
build-push-cic-eth: build-push-cic-eth: