Refactor gitlab ci pipeline to use `rules` instead of `only/except` statements
Summary
Gitlab is deprecating only/except
statements, so lets replace it with a rules
one.
More info: https://about.gitlab.com/releases/2020/05/06/gitlab-com-13-0-breaking-changes/
Docs: https://docs.gitlab.com/ee/ci/yaml/#rules
Acceptance Criteria
-
Verify the pipelines and their jobs for unit tests and review environment deployments still work
Assumptions and Questions
- This change does not require QE involvement because it has no direct impact on their e2e/vortex/etc process.
Edited by Brad Smith