Skip to content
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

[kbn-pm] Add uid check #145769

Merged
merged 2 commits into from
Nov 18, 2022
Merged

[kbn-pm] Add uid check #145769

merged 2 commits into from
Nov 18, 2022

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Nov 18, 2022

This adds the uid check we use in the kibana entrypoint to kbn-pm. yarn kbn bootstrap will exit if the uid is 0.

This adds the uid check we use in the kibana entrypoint to kbn-pm.
`yarn kbn bootstrap` will exit if the uid is 0.
@jbudz jbudz added Team:Operations Team label for Operations Team backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 18, 2022
@elasticmachine
Copy link
Contributor

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

@jbudz jbudz added the release_note:skip Skip the PR/issue when compiling release notes label Nov 18, 2022
@jbudz
Copy link
Member Author

jbudz commented Nov 18, 2022

03d489d moved the check to after the symlink/process wrapper. The check was running twice otherwise.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 442 448 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 519 525 +6
total +20

History

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

@jbudz jbudz merged commit 454ca83 into elastic:main Nov 18, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 18, 2022
This adds the uid check we use in the kibana entrypoint to kbn-pm. `yarn
kbn bootstrap` will exit if the uid is 0.

(cherry picked from commit 454ca83)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 18, 2022
# Backport

This will backport the following commits from `main` to `8.6`:
- [[kbn-pm] Add uid check
(#145769)](#145769)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jonathan
Budzenski","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2022-11-18T21:35:06Z","message":"[kbn-pm]
Add uid check (#145769)\n\nThis adds the uid check we use in the kibana
entrypoint to kbn-pm. `yarn\r\nkbn bootstrap` will exit if the uid is
0.","sha":"454ca83ff3038daf463007a193cfee25c80950e9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","v8.7.0"],"number":145769,"url":"https://github.com/elastic/kibana/pull/145769","mergeCommit":{"message":"[kbn-pm]
Add uid check (#145769)\n\nThis adds the uid check we use in the kibana
entrypoint to kbn-pm. `yarn\r\nkbn bootstrap` will exit if the uid is
0.","sha":"454ca83ff3038daf463007a193cfee25c80950e9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145769","number":145769,"mergeCommit":{"message":"[kbn-pm]
Add uid check (#145769)\n\nThis adds the uid check we use in the kibana
entrypoint to kbn-pm. `yarn\r\nkbn bootstrap` will exit if the uid is
0.","sha":"454ca83ff3038daf463007a193cfee25c80950e9"}}]}] BACKPORT-->

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.6.0 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants