forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[percy] only execute percy setup when necessary (elastic#39043)
- Loading branch information
Spencer
authored
Jun 16, 2019
1 parent
5d90300
commit 9c1bdb9
Showing
4 changed files
with
21 additions
and
14 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,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
### | ||
### skip chomium download, use the system chrome install | ||
### | ||
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true | ||
PUPPETEER_EXECUTABLE_PATH="$(command -v google-chrome-stable)" | ||
export PUPPETEER_EXECUTABLE_PATH | ||
|
||
### | ||
### Set Percy parallel build support environment vars | ||
### | ||
eval "$(node ./src/dev/ci_setup/get_percy_env)" | ||
echo " -- PERCY_PARALLEL_NONCE='$PERCY_PARALLEL_NONCE'" | ||
echo " -- PERCY_PARALLEL_TOTAL='$PERCY_PARALLEL_TOTAL'" |
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