-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 #42304
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
This commits adds support for an optional $VERSION_QUALIFIER env var in the packaging pipeline to allow building prerelease artifacts. Relates elastic/ingest-dev#4855
33a3eb4
to
d57958e
Compare
After a bit of back n forth this seems to work fine (https://buildkite.com/elastic/beats-packaging-pipeline/builds/2138#01946b34-0e11-40b0-9610-cc647d2bea1e) |
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.
Still LGTM. Thanks for testing it thoroughly.
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8)
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8) # Conflicts: # .buildkite/packaging.pipeline.yml
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8)
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8)
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8) Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8) Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8) Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
…tifacts (#42320) 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 https://github.com/elastic/ingest-dev/issues/4857 (cherry picked from commit c7b6ad8) --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
This fixes a small bug related to elastic#42304 ; when we (manually) trigger prerelease builds (by setting VERSION_QUALIFIER="...") we only want them to trigger staging builds and skip snapshot builds.
This fixes a small bug related to elastic#42304 ; when we (manually) trigger prerelease builds (by setting VERSION_QUALIFIER="...") we only want them to trigger staging builds and skip snapshot builds.
This fixes a small bug related to #42304 ; when we (manually) trigger prerelease builds (by setting VERSION_QUALIFIER="...") we only want them to trigger staging builds and skip snapshot builds.
…#42330) * Don't run packaging snapshot with prereleases (#42326) This fixes a small bug related to #42304 ; when we (manually) trigger prerelease builds (by setting VERSION_QUALIFIER="...") we only want them to trigger staging builds and skip snapshot builds. (cherry picked from commit a122a9f) # Conflicts: # .buildkite/packaging.pipeline.yml * fix merge conflicts --------- Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
Proposed commit message
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 to test this PR locally
Tested a staging build using this PR with
VERSION_QUALIFIER="alpha1"
(also passedDRA_BRANCH="main"
as this PR is based on main and we'd normally have tested alpha1 on main until 9.0 is cut): https://buildkite.com/elastic/beats-packaging-pipeline/builds/2138#01946b34-0e11-40b0-9610-cc647d2bea1eAlso tested a snapshot build (using
DRA_BRANCH="main"
andRUN_SNAPSHOT="true"
) to ensure that an empty--qualifier
option works as advertised by the release manager: https://buildkite.com/elastic/beats-packaging-pipeline/builds/2143Related issues
https://github.com/elastic/ingest-dev/issues/4857