elastic / elastic-stack-installers

Windows MSI packages for Elastic stack
Apache License 2.0
2 stars 16 forks source link

Don't run snapshot DRA publish with PRs (#255) #256

Closed dliappis closed 8 months ago

dliappis commented 8 months ago

Backport of #255

Even though the dra publish script attempts to run the release manager in dry-run mode, there's no value allowing the step to run via PRs, because it fails since it's working with an unrecognized branch e.g. The specified project directory '/release/project-configs/test-prs' does not exist.

Example failure: https://buildkite.com/elastic/elastic-stack-installers/builds/3910#018dcc46-d6c9-4845-bf0f-be61a7dd307e/73-101

This commit skips the DRA publish step when the snapshot pipeline gets triggered by PRs.