This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jenkins] convert baseline capture job to use tasks (elastic#93288)
Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # src/dev/ci_setup/setup.sh
- Loading branch information
Showing
3 changed files
with
84 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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 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,45 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
### | ||
### verify no git modifications | ||
### | ||
GIT_CHANGES="$(git ls-files --modified)" | ||
if [ "$GIT_CHANGES" ]; then | ||
echo -e "\n${RED}ERROR: 'yarn kbn bootstrap' caused changes to the following files:${C_RESET}\n" | ||
echo -e "$GIT_CHANGES\n" | ||
exit 1 | ||
fi | ||
|
||
### | ||
### rebuild kbn-pm distributable to ensure it's not out of date | ||
### | ||
echo " -- building kbn-pm distributable" | ||
yarn kbn run build -i @kbn/pm | ||
|
||
### | ||
### verify no git modifications | ||
### | ||
GIT_CHANGES="$(git ls-files --modified)" | ||
if [ "$GIT_CHANGES" ]; then | ||
echo -e "\n${RED}ERROR: 'yarn kbn run build -i @kbn/pm' caused changes to the following files:${C_RESET}\n" | ||
echo -e "$GIT_CHANGES\n" | ||
exit 1 | ||
fi | ||
|
||
### | ||
### rebuild plugin list to ensure it's not out of date | ||
### | ||
echo " -- building plugin list docs" | ||
node scripts/build_plugin_list_docs | ||
|
||
### | ||
### verify no git modifications | ||
### | ||
GIT_CHANGES="$(git ls-files --modified)" | ||
if [ "$GIT_CHANGES" ]; then | ||
echo -e "\n${RED}ERROR: 'node scripts/build_plugin_list_docs' caused changes to the following files:${C_RESET}\n" | ||
echo -e "$GIT_CHANGES\n" | ||
exit 1 | ||
fi |
This file contains 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