-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Arnob kumar saha <[email protected]>
- Loading branch information
1 parent
6536430
commit 34ab701
Showing
1 changed file
with
12 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
#!/bin/bash | ||
|
||
: ' | ||
This script takes two ENV GITHUB_USER & GITHUB_TOKEN | ||
You can get a PAT from github -> settings -> developer settings -> Create Personal access token | ||
' | ||
|
||
git config --global user.name "Arnob kumar saha" | ||
git config --global user.email [email protected] | ||
|
||
|
@@ -19,4 +24,10 @@ while true; do | |
echo "$line" | grep -q "$TEXT" && break | ||
done | ||
|
||
bash repo-clone.bash | ||
bash repo-clone.bash | ||
|
||
|
||
git config --global \ | ||
url."https://"$GITHUB_USER":"$GITHUB_TOKEN"@github.com".insteadOf \ | ||
"https://github.com" | ||
go env -w GOPRIVATE='github.com/appscode/*,go.appscode.dev/*,kubedb.dev/*,github.com/ak8sdb/*,kubeops.dev/*,go.bytebuilders.dev/*,kubepack.dev/*,kubestash.dev/*,stash.appscode.dev/*' |