Commit 974fc4a4 authored by Fotis Soldatos's avatar Fotis Soldatos
Browse files

Merge branch 'ci/add-rules-to-visualize-coverage-job' into 'develop'

ci(automation): fix visualize_coverage automation job

See merge request teraflow-h2020/controller!81
parents 500a0a23 860d9575
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -73,6 +73,13 @@ visualize_coverage automation:
  artifacts:
    reports:
      cobertura: ${REPORTS_PATH}/cobertura.xml
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)'
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"'
    - changes:
        - src/$IMAGE_NAME/**
        - manifests/${IMAGE_NAME}service.yaml
        - .gitlab-ci.yml

# Deployment of automation service in Kubernetes Cluster
deploy automation: