This PR adds an alternate step in the elastic-stack-installers that the Independent Agent Release will use in order to get only the Elastic Agent windows installer (.msi) built.
The new pipeline step uses a new script that does the following:
Retrieve the MSI artifacts from the Build step
Moves the MSI artifacts to a new directory
Creates a .sha512 file for the MSI file
Saves the MSI and .sha512 artifacts using Buildkite's built-in upload functionality
Sets metadata in the calling pipeline if the TRIGGER_JOB_ID is set
The calling pipeline will then use this metadata to download the saved artifacts
This PR incorporates the changes from these two PRs, which should be closed in favor of this PR:
I tested this PR with this unified-release PR, and verified that the Independent Agent Staging pipeline successfully triggers this new pipeline step, and is able to download the MSI and .sha512 artifacts after this triggered pipeline finishes running.
This PR adds an alternate step in the
elastic-stack-installers
that the Independent Agent Release will use in order to get only the Elastic Agent windows installer (.msi
) built.The new pipeline step uses a new script that does the following:
.sha512
file for the MSI file.sha512
artifacts using Buildkite's built-in upload functionalityTRIGGER_JOB_ID
is setThis PR incorporates the changes from these two PRs, which should be closed in favor of this PR:
I tested this PR with this unified-release PR, and verified that the Independent Agent Staging pipeline successfully triggers this new pipeline step, and is able to download the MSI and
.sha512
artifacts after this triggered pipeline finishes running.Example of successful execution:
elastic-stack-installers
pipeline for this PR triggered by the above pipeline: https://buildkite.com/elastic/elastic-stack-installers/builds/5635