Skip to content

feat: add deploy host condition to the rules

What

  • Remove condition from the preflight check that fails the pipeline if $RUNWAY_DEPLOY_HOST != $CI_SERVER_HOST and it's not a dry-run. If we don't remove this condition then deployments on services that deploy on gitlab.com and ops will have failing jobs.
  • Add 3 new conditions to the rules to ensure we only deploy/monitor/destroy if $RUNWAY_DEPLOY_HOST == $CI_SERVER_HOST.

Why

To avoid having failed pipelines on example-service, which is a single service repository that deploys via both gitlab.com and ops.gitlab.net.

Merge request reports

Loading