-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jrivero/remove_the_longest_token_ever
- Loading branch information
Showing
3 changed files
with
10 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
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 |
---|---|---|
|
@@ -28,18 +28,6 @@ if [[ -z $(ssh -T [email protected] 2>&1 | grep successfully) ]]; then | |
fi | ||
fi | ||
|
||
GITHUB_TOKEN_FILE="/var/lib/jenkins/.github_token" | ||
if [[ ! -f ${GITHUB_TOKEN_FILE} ]]; then | ||
echo "The hub cli tool needs a valid token at file ${GITHUB_TOKEN_FILE}" | ||
echo "The file was not found" | ||
exit 1 | ||
fi | ||
|
||
set +x # keep password secret | ||
export GITHUB_TOKEN=`cat $GITHUB_TOKEN_FILE` | ||
set -x # back to debug | ||
echo '# END SECTION' | ||
|
||
echo '# BEGIN SECTION: download linuxbrew' | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | ||
echo '# END SECTION' | ||
|