File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
.buildkite/pipeline-resource-definitions Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 6060 cronline : 0 22 * * * America/New_York
6161 message : Daily build
6262 branch : ' 8.19'
63- Daily build (7.17) :
64- cronline : 0 20 * * * America/New_York
65- message : Daily build
66- branch : ' 7.17'
6763 tags :
6864 - kibana
6965---
9187 SLACK_NOTIFICATIONS_CHANNEL : ' #kibana-operations-alerts'
9288 ELASTIC_SLACK_NOTIFICATIONS_ENABLED : ' true'
9389 allow_rebuilds : true
94- branch_configuration : main 9.2 9.1 8.19 7.17
90+ branch_configuration : main 9.2 9.1 8.19
9591 default_branch : main
9692 repository : elastic/kibana
9793 pipeline_file : .buildkite/pipelines/es_snapshots/promote.yml
@@ -140,7 +136,7 @@ spec:
140136 ELASTIC_SLACK_NOTIFICATIONS_ENABLED : ' true'
141137 REPORT_FAILED_TESTS_TO_GITHUB : ' true'
142138 allow_rebuilds : true
143- branch_configuration : main 9.2 9.1 8.19 7.17
139+ branch_configuration : main 9.2 9.1 8.19
144140 default_branch : main
145141 repository : elastic/kibana
146142 pipeline_file : .buildkite/pipelines/es_snapshots/verify.yml
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { REPO_ROOT } from '@kbn/repo-info';
1515import * as Eslint from './eslint' ;
1616import * as Stylelint from './stylelint' ;
1717import { getFilesForCommit , checkFileCasing } from './precommit_hook' ;
18- import { load as yamlLoad } from 'js-yaml' ;
18+ import { loadAll as yamlLoadAll } from 'js-yaml' ;
1919import { readFile } from 'fs/promises' ;
2020import { extname } from 'path' ;
2121
@@ -119,7 +119,7 @@ class YamlLintCheck extends PrecommitCheck {
119119 for ( const file of yamlFiles ) {
120120 try {
121121 const content = await readFile ( file . getAbsolutePath ( ) , 'utf8' ) ;
122- yamlLoad ( content , {
122+ yamlLoadAll ( content , {
123123 filename : file . getRelativePath ( ) ,
124124 } ) ;
125125 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments