Skip to content

Fix Dev Container KBN_DIR#195810

Merged
Ikuni17 merged 4 commits intoelastic:mainfrom
Ikuni17:dev/fix-dev-container-kbn-dir
Oct 29, 2024
Merged

Fix Dev Container KBN_DIR#195810
Ikuni17 merged 4 commits intoelastic:mainfrom
Ikuni17:dev/fix-dev-container-kbn-dir

Conversation

@Ikuni17
Copy link
Copy Markdown
Contributor

@Ikuni17 Ikuni17 commented Oct 10, 2024

Summary

In #193488, KBN_DIR was changed to be a dynamic variable. It wasn't being properly propagated through the build process in the Dockerfile and the full path to env.sh wasn't being set. This passes the directory as a build ARG as well to fix the path.

@Ikuni17 Ikuni17 added Team:Operations Kibana-Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Oct 10, 2024
@Ikuni17 Ikuni17 self-assigned this Oct 10, 2024
@Ikuni17 Ikuni17 requested a review from a team as a code owner October 10, 2024 17:36
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@Ikuni17 Ikuni17 added the v9.0.0 label Oct 10, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #18 / Description it renders
  • [job] [logs] Jest Tests #6 / edit package policy page modify agent policies should create agent policy with sys monitoring when new agent policy button is clicked
  • [job] [logs] Jest Tests #6 / edit package policy page modify agent policies should not remove managed policy when policies are modified
  • [job] [logs] Jest Tests #6 / edit package policy page should disable submit button on invalid form with empty package var
  • [job] [logs] Jest Tests #6 / edit package policy page should navigate on submit
  • [job] [logs] Jest Tests #6 / edit package policy page should show generic error on other statusCode on submit
  • [job] [logs] Jest Tests #6 / edit package policy page should show out of date error on 409 statusCode on submit

Metrics [docs]

✅ unchanged

History

cc @Ikuni17

@Ikuni17 Ikuni17 enabled auto-merge (squash) October 29, 2024 00:22
@Ikuni17 Ikuni17 merged commit 686b021 into elastic:main Oct 29, 2024
@Ikuni17 Ikuni17 deleted the dev/fix-dev-container-kbn-dir branch October 29, 2024 02:53
tiansivive pushed a commit to tiansivive/kibana that referenced this pull request Oct 29, 2024
## Summary

In elastic#193488, `KBN_DIR` was changed to be a dynamic variable. It wasn't
being properly propagated through the build process in the Dockerfile
and the full path to `env.sh` wasn't being set. This passes the
directory as a build `ARG` as well to fix the path.
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 release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants