-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Improve quick checks #237905
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
Merged
Merged
Improve quick checks #237905
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
895cef0
Always run CI when plugin READMEs change
delanni 4f8d4fe
bootstrap .buildkite upon yarn kbn bootstrap
delanni f418e46
collect stashed changes and commit&push them after quick-checks
delanni 70074d1
check_for_changed_files with STASH_QUICKCHECK_CHANGES=true will stash…
delanni 7a28edd
set STASH_QUICKCHECK_CHANGES=true in the quickcheck runner
delanni 6cd0ae4
break multiple quickchecks
delanni 83552e7
try only stashing tracked files
delanni 9b759a8
Merge branch 'main' into improve-quick-checks
delanni 02763bd
make file-changing quick checks run on one thread, push once all is done
delanni 36703e2
fix quick check message setup
delanni 383809b
fix typecheck issue
delanni e6b98ad
turn on change collection, fail auto-corrected quick-check steps
delanni e5ccf77
Merge branch 'main' into improve-quick-checks
delanni 68b10ae
Merge branch 'main' into improve-quick-checks
delanni d2deb86
commit changes after the quick-checks ran
delanni c5d3d2b
correctly break checks with changed files
delanni 8d78f91
remove function to collect and commit together
delanni 5309854
Changes from node scripts/lint_ts_projects --fix
kibanamachine 1d84aac
re-add sleep before exiting
delanni 4227b2e
Changes from node scripts/build_plugin_list_docs
kibanamachine cf2c820
Changes from node scripts/generate codeowners
kibanamachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| [ | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/ts_projects.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/packages.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/verify_notice.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/plugin_list_docs.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/event_log.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/telemetry.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/jest_configs.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/bundle_limits.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/i18n.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/file_casing.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/licenses.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/test_projects.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/test_hardening.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/ftr_configs.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/yarn_deduplicate.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/prettier_topology.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/renovate.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/native_modules.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/test_files_missing_owner.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/styled_components_mapping.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/dependencies_missing_owner.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/validate_pipelines.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/check_scout_config.sh" | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/dependencies_diff.sh", | ||
| "mayChangeFiles": true | ||
| }, | ||
| { | ||
| "script": ".buildkite/scripts/steps/checks/verify_codeowners.sh", | ||
| "mayChangeFiles": true | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the "Elastic License | ||
| * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side | ||
| * Public License v 1"; you may not use this file except in compliance with, at | ||
| * your election, the "Elastic License 2.0", the "GNU Affero General Public | ||
| * License v3.0 only", or the "Server Side Public License, v 1". | ||
| */ | ||
|
|
||
| import { run } from '../../lib/spawn.mjs'; | ||
| import { REPO_ROOT } from '../../lib/paths.mjs'; | ||
| import { resolve } from 'path'; | ||
|
|
||
| /** | ||
| * Bootstraps the the .buildkite directory | ||
| * @return {Promise<*>} | ||
| */ | ||
| export function bootstrapBuildkite() { | ||
| return run('npm', ['i'], { cwd: resolve(REPO_ROOT, '.buildkite') }); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lodash
partitionis good for this.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will end up with similar readability, I'll stick to this for now