mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
This commit is contained in:
parent
e044137bd4
commit
4f0781737c
5 changed files with 14 additions and 23 deletions
|
@ -37,7 +37,7 @@ kibanaPipeline(timeoutMinutes: 210) {
|
|||
tasks([
|
||||
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh'),
|
||||
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh'),
|
||||
kibanaPipeline.scriptTask('Check Public API Docs', 'test/scripts/checks/plugin_public_api_docs.sh'),
|
||||
kibanaPipeline.scriptTask('Check Public API Docs', 'test/scripts/checks/baseline_plugin_public_api_docs.sh'),
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
9
test/scripts/checks/baseline_plugin_public_api_docs.sh
Executable file
9
test/scripts/checks/baseline_plugin_public_api_docs.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
###
|
||||
### rebuild plugin api docs to ensure it's not out of date
|
||||
###
|
||||
echo " -- building api docs"
|
||||
node scripts/build_api_docs
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
###
|
||||
### rebuild plugin api docs to ensure it's not out of date
|
||||
###
|
||||
echo " -- building api docs"
|
||||
node scripts/build_api_docs
|
||||
|
||||
###
|
||||
### verify no api changes
|
||||
###
|
||||
### GIT_CHANGES="$(git ls-files --modified)"
|
||||
|
||||
### if [ "$GIT_CHANGES" ]; then
|
||||
### echo -e "\n${RED}ERROR: 'node scripts/build_api_docs' caused changes to the following files:${C_RESET}\n"
|
||||
### echo -e "$GIT_CHANGES\n"
|
||||
### exit 1
|
||||
### fi
|
|
@ -12,3 +12,6 @@ checks-reporter-with-killswitch "Build TS Refs" \
|
|||
|
||||
checks-reporter-with-killswitch "Check Types" \
|
||||
node scripts/type_check
|
||||
|
||||
echo " -- building api docs"
|
||||
node scripts/build_api_docs
|
|
@ -11,8 +11,7 @@ def check() {
|
|||
kibanaPipeline.scriptTask('Check Doc API Changes', 'test/scripts/checks/doc_api_changes.sh'),
|
||||
kibanaPipeline.scriptTask('Check @kbn/pm Distributable', 'test/scripts/checks/kbn_pm_dist.sh'),
|
||||
kibanaPipeline.scriptTask('Check Plugin List Docs', 'test/scripts/checks/plugin_list_docs.sh'),
|
||||
kibanaPipeline.scriptTask('Check Public API Docs', 'test/scripts/checks/plugin_public_api_docs.sh'),
|
||||
kibanaPipeline.scriptTask('Check Types', 'test/scripts/checks/type_check.sh'),
|
||||
kibanaPipeline.scriptTask('Check Types and Public API Docs', 'test/scripts/checks/type_check_plugin_public_api_docs.sh'),
|
||||
kibanaPipeline.scriptTask('Check Bundle Limits', 'test/scripts/checks/bundle_limits.sh'),
|
||||
kibanaPipeline.scriptTask('Check i18n', 'test/scripts/checks/i18n.sh'),
|
||||
kibanaPipeline.scriptTask('Check File Casing', 'test/scripts/checks/file_casing.sh'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue