[8.17] [ci] Minor quick-checks updates (#215856) (#217443)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[ci] Minor quick-checks updates
(#215856)](https://github.com/elastic/kibana/pull/215856)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-04-08T07:26:14Z","message":"[ci]
Minor quick-checks updates (#215856)\n\n## Summary\n1 - `node
scripts/prettier_topology_check` occasionally breaks with\n`.gitignore`
not being available, it's required for a globby
call.\n(https://buildkite.com/elastic/kibana-on-merge/builds/64944#0195c874-c2b0-436c-9752-91a6118dde9d)\n\n2
- some scripts are run together by `yarn kbn run-in-packages` -
this\nscript only logs AFTER a script finished successfully; when a
script\nlike this fails, the failing script is not logged. This change
logs\nbefore to see what the error is.
(ref:\nhttps://elastic.slack.com/archives/C5UDAFZQU/p1742824259264329)","sha":"08c5f0799d2ed1a23f0b12adbaad1e49235fc30e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[ci]
Minor quick-checks
updates","number":215856,"url":"https://github.com/elastic/kibana/pull/215856","mergeCommit":{"message":"[ci]
Minor quick-checks updates (#215856)\n\n## Summary\n1 - `node
scripts/prettier_topology_check` occasionally breaks with\n`.gitignore`
not being available, it's required for a globby
call.\n(https://buildkite.com/elastic/kibana-on-merge/builds/64944#0195c874-c2b0-436c-9752-91a6118dde9d)\n\n2
- some scripts are run together by `yarn kbn run-in-packages` -
this\nscript only logs AFTER a script finished successfully; when a
script\nlike this fails, the failing script is not logged. This change
logs\nbefore to see what the error is.
(ref:\nhttps://elastic.slack.com/archives/C5UDAFZQU/p1742824259264329)","sha":"08c5f0799d2ed1a23f0b12adbaad1e49235fc30e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215856","number":215856,"mergeCommit":{"message":"[ci]
Minor quick-checks updates (#215856)\n\n## Summary\n1 - `node
scripts/prettier_topology_check` occasionally breaks with\n`.gitignore`
not being available, it's required for a globby
call.\n(https://buildkite.com/elastic/kibana-on-merge/builds/64944#0195c874-c2b0-436c-9752-91a6118dde9d)\n\n2
- some scripts are run together by `yarn kbn run-in-packages` -
this\nscript only logs AFTER a script finished successfully; when a
script\nlike this fails, the failing script is not logged. This change
logs\nbefore to see what the error is.
(ref:\nhttps://elastic.slack.com/archives/C5UDAFZQU/p1742824259264329)","sha":"08c5f0799d2ed1a23f0b12adbaad1e49235fc30e"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
This commit is contained in:
Kibana Machine 2025-04-08 11:22:27 +02:00 committed by GitHub
parent 8e36d35b2e
commit cc42b2c35a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo --- Check Prettier Configuration Topology
node scripts/prettier_topology_check
retry 3 3 node scripts/prettier_topology_check

View file

@ -53,7 +53,7 @@ export const command = {
continue;
}
log.debug(
log.info(
`running [${scriptName}] script in [${pkg.name}]`,
scriptArgs.length ? `with args [${scriptArgs.join(' ')}]` : ''
);