Skip to content

[build] Add image based on chainguard#183200

Merged
jbudz merged 10 commits intoelastic:mainfrom
jbudz:chainguard
May 14, 2024
Merged

[build] Add image based on chainguard#183200
jbudz merged 10 commits intoelastic:mainfrom
jbudz:chainguard

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented May 10, 2024

Adds a new docker image, kibana-chainguard using chainguard-base. For now this is only for testing, exact naming tbd.

Testing

docker load < kibana-chainguard-8.15.0-SNAPSHOT-docker-image-aarch64.tar.gz
docker run --rm docker.elastic.co/kibana/kibana-chainguard:8.15.0-SNAPSHOT

@jbudz jbudz added Team:Operations Kibana-Operations Team release_note:skip Skip the PR/issue when compiling release notes ci:build-all-platforms ci:build-os-packages labels May 10, 2024
@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented May 10, 2024

buildkite test this

@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented May 10, 2024

buildkite test this

@jbudz jbudz added the ci:project-deploy-elasticsearch Create an Elasticsearch Serverless project label May 13, 2024
@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented May 13, 2024

buildkite test this

@jbudz jbudz marked this pull request as ready for review May 13, 2024 17:11
@jbudz jbudz requested a review from a team as a code owner May 13, 2024 17:11
@jbudz jbudz requested a review from a team May 13, 2024 17:11
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@jbudz jbudz removed the ci:project-deploy-elasticsearch Create an Elasticsearch Serverless project label May 13, 2024
@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented May 13, 2024

buildkite test this

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label May 14, 2024
@jbudz jbudz removed the request for review from a team May 14, 2024 19:04
@jbudz jbudz removed the ci:project-deploy-observability Create an Observability project label May 14, 2024
@kibana-ci
Copy link
Copy Markdown

kibana-ci commented May 14, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #51 / lens app - TSVB Open in Lens Dashboard to TSVB to Lens should convert a by reference TSVB viz to a Lens viz

Metrics [docs]

Canvas Sharable Runtime

The Canvas "shareable runtime" is an bundle produced to enable running Canvas workpads outside of Kibana. This bundle is included in third-party webpages that embed canvas and therefor should be as slim as possible.

id before after diff
module count - 5407 +5407
total size - 8.8MB +8.8MB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz added the backport:all-open Backport to all branches that could still receive a release label May 14, 2024
@jbudz jbudz merged commit 6aa7987 into elastic:main May 14, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
7.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 7.17:
- Cleanup dockerfile (#183334)
- [build] Only use buildx if cross compiling (#128560)
- [ci] Enable cross compiled docker images (#128430)
- [build] Cross compile docker images (#128272)
- [ci] Verify docker contexts (#122897)
8.14 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 183200

Questions ?

Please refer to the Backport tool documentation

delanni added a commit that referenced this pull request May 15, 2024
## Summary
Increases step timeout for building the whole artifact collection by
15m.

With some recent additions ([chainguard
build](#183200) adds ~7m) and the
new infra overhead, we've gone from ~50-52 minutes to ~57-60 minutes
(this one timed out exactly on the last bit:
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/4295#018f7b4c-3629-4c4f-8d80-85b2552a43c4)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 15, 2024
## Summary
Increases step timeout for building the whole artifact collection by
15m.

With some recent additions ([chainguard
build](elastic#183200) adds ~7m) and the
new infra overhead, we've gone from ~50-52 minutes to ~57-60 minutes
(this one timed out exactly on the last bit:
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/4295#018f7b4c-3629-4c4f-8d80-85b2552a43c4)

(cherry picked from commit 834ea88)
delanni added a commit that referenced this pull request May 15, 2024
# Backport

This will backport the following commits from `main` to `8.14`:
- [[CI] Increase artifact build timeout
(#183482)](#183482)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-05-15T10:28:58Z","message":"[CI]
Increase artifact build timeout (#183482)\n\n## Summary\r\nIncreases
step timeout for building the whole artifact collection
by\r\n15m.\r\n\r\nWith some recent additions
([chainguard\r\nbuild](#183200)
adds ~7m) and the\r\nnew infra overhead, we've gone from ~50-52 minutes
to ~57-60 minutes\r\n(this one timed out exactly on the last
bit:\r\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/4295#018f7b4c-3629-4c4f-8d80-85b2552a43c4)","sha":"834ea8810cc092951977b647e9e0e77402a0be0d","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","skip-ci","backport:all-open","v8.15.0"],"title":"[CI]
Increase artifact build
timeout","number":183482,"url":"https://github.com/elastic/kibana/pull/183482","mergeCommit":{"message":"[CI]
Increase artifact build timeout (#183482)\n\n## Summary\r\nIncreases
step timeout for building the whole artifact collection
by\r\n15m.\r\n\r\nWith some recent additions
([chainguard\r\nbuild](#183200)
adds ~7m) and the\r\nnew infra overhead, we've gone from ~50-52 minutes
to ~57-60 minutes\r\n(this one timed out exactly on the last
bit:\r\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/4295#018f7b4c-3629-4c4f-8d80-85b2552a43c4)","sha":"834ea8810cc092951977b647e9e0e77402a0be0d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183482","number":183482,"mergeCommit":{"message":"[CI]
Increase artifact build timeout (#183482)\n\n## Summary\r\nIncreases
step timeout for building the whole artifact collection
by\r\n15m.\r\n\r\nWith some recent additions
([chainguard\r\nbuild](#183200)
adds ~7m) and the\r\nnew infra overhead, we've gone from ~50-52 minutes
to ~57-60 minutes\r\n(this one timed out exactly on the last
bit:\r\nhttps://buildkite.com/elastic/kibana-artifacts-snapshot/builds/4295#018f7b4c-3629-4c4f-8d80-85b2552a43c4)","sha":"834ea8810cc092951977b647e9e0e77402a0be0d"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
jbudz added a commit to jbudz/kibana that referenced this pull request May 15, 2024
Adds a new docker image, `kibana-chainguard` using
[chainguard-base](https://images.chainguard.dev/directory/image/chainguard-base).
For now this is only for testing, exact naming tbd.

Testing
```
docker load < kibana-chainguard-8.15.0-SNAPSHOT-docker-image-aarch64.tar.gz
docker run --rm docker.elastic.co/kibana/kibana-chainguard:8.15.0-SNAPSHOT
```
delanni added a commit that referenced this pull request May 15, 2024
@jbudz jbudz added backport:skip This PR does not require backporting and removed backport:all-open Backport to all branches that could still receive a release labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting ci:build-all-platforms ci:build-os-packages release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v8.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants