-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # src/dev/ci_setup/setup.sh
- Loading branch information
Spencer
authored
Mar 3, 2021
1 parent
6c63bb7
commit 3338b75
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