-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chuck Atkins
committed
May 10, 2020
1 parent
4d41038
commit 5198ab1
Showing
3 changed files
with
32 additions
and
0 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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "${SOURCE_DIR}" ] | ||
then | ||
echo "Error: SOURCE_DIR is empty or undefined" | ||
exit 1 | ||
fi | ||
|
||
cd ${SOURCE_DIR} | ||
|
||
echo "ADIOS2_OLCF_GITLAB_DEPLOY_KEY_BASE64" | base64 -d > /tmp/deploykey | ||
|
||
env | sort | ||
|
||
|
||
GIT_SSH_COMMAND="ssh -i /tmp/deploykey -F /dev/null" | ||
if [ -n "${TRAVIS_PULL_REQUEST}" ] | ||
then | ||
git push -f [email protected]:ecpcitest/ADIOS2 HEAD:github/pr${TRAVIS_PULL_REQUEST} | ||
else | ||
echo Hello World | ||
fi | ||
|
||
|
||
exit 0 |
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