---
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_TAG'
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
stages:
- test
- publish
include:
- local: '/.gitlab/ci/templates/docker.gitlab-ci.yml'
- local: '/.gitlab/ci/test-env.gitlab-ci.yml'
- local: '/.gitlab/ci/playbook.gitlab-ci.yml'