-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow use of version qualifier for staging artifacts #4328
Conversation
This pull request does not have a backport label. Could you fix it @pchila? 🙏
|
|
41c5424
to
48f3c4e
Compare
48f3c4e
to
4db0d39
Compare
3d524b4
to
a05e7c2
Compare
a05e7c2
to
e0545a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more comments with reasoning in .buildkite/pipeline.package.mbp.yml
would be nice
ea7b973
to
e5ac727
Compare
e5ac727
to
a6f9934
Compare
Thanks, added a few comments in 6a3dd69, I hope they help clarify a little (also updated the PR description) |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88)
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88)
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88)
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88) Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
This commit is a follow-up to elastic#4328 and fixes a bug for main where staging main artifacts will be products for every merge commit, thus overriding manual builds using VERSION_QUALIFIER.
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88) Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging. Closes: - #4325 - https://github.com/elastic/ingest-dev/issues/4859 --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com> (cherry picked from commit 29c1d88) Co-authored-by: Paolo Chilà <paolo.chila@elastic.co>
This commit fixes a bug in elastic#4328 running snapshot instead of staging for x86-64 and also ensures staging on main can be build when VERSION_QUALIFIER is set.
This commit fixes a bug in #4328 running snapshot instead of staging for x86-64 and also ensures staging on main can be build when VERSION_QUALIFIER is set.
What is the problem this PR solves?
This commits adds support for an optional $VERSION_QUALIFIER env var/build option in the packaging pipeline to allow building prerelease artifacts from staging.
How does this PR solve the problem?
DRA_BRANCH
env var and skip snapshot builds when VERSION_QUALIFIER is presentHow to test this PR locally
Using this PR and the pipeline https://buildkite.com/elastic/fleet-server-package-mbp with
pull/4328/merge
and options:results in a successful 9.0.0-alpha1 artifacts, example: https://buildkite.com/elastic/fleet-server-package-mbp/builds/1526
Also a test without VERSION_QUALIFIER https://buildkite.com/elastic/fleet-server-package-mbp/builds/1525 produces the expected artifacts (note that when branch is main, i.e. not when testing using this PR, and there is no version qualifier defined, the staging dra publish is skipped, per design).
Related issues
Closes: