mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[build] Add FIPS image annotation / comments (#176555)
The user has to download and dig through build logs to find out the tag for a FIPS image. This makes it available as a build annotation and in a PR comment.
This commit is contained in:
parent
54c772a620
commit
786d3167f9
1 changed files with 11 additions and 0 deletions
|
@ -33,3 +33,14 @@ docker logout docker.elastic.co
|
|||
# Moving to `target/` first will keep `buildkite-agent` from including directories in the artifact name
|
||||
cd "$KIBANA_DIR/target"
|
||||
buildkite-agent artifact upload "./*docker-image*.tar.gz"
|
||||
|
||||
KIBANA_UBI_FIPS_IMAGE="docker.elastic.co/kibana-ci/kibana-ubi-fips:$FULL_VERSION-$BUILDKITE_COMMIT"
|
||||
|
||||
cat <<EOF | buildkite-agent annotate --style "info" --context fips
|
||||
### Kibana FIPS Image
|
||||
|
||||
UBI image: \`$KIBANA_UBI_FIPS_IMAGE\`
|
||||
EOF
|
||||
|
||||
buildkite-agent meta-data set pr_comment:build_fips:head "* Kibana UBI FIPS Image: \`$KIBANA_UBI_FIPS_IMAGE\`"
|
||||
buildkite-agent meta-data set pr_comment:early_comment_job_id "$BUILDKITE_JOB_ID"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue