mirror of
https://github.com/IEEE-SB-Passau/pelican-deployment-system.git
synced 2017-09-06 16:35:38 +02:00
add some maybe useful git env variables to example config
This commit is contained in:
@@ -15,6 +15,11 @@ logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s')
|
|||||||
|
|
||||||
# make sure git does not block giving pw prompts, git 2.3+ only
|
# make sure git does not block giving pw prompts, git 2.3+ only
|
||||||
os.environ["GIT_TERMINAL_PROMPT"] = "0"
|
os.environ["GIT_TERMINAL_PROMPT"] = "0"
|
||||||
|
os.environ["GIT_ASKPASS"] = "echo" # also to avoid interactiveness
|
||||||
|
os.environ["GIT_EDITOR"] = "true" # also to avoid interactiveness
|
||||||
|
os.environ["GIT_PAGER"] = "cat" # also to avoid interactiveness
|
||||||
|
# avoid system config, we want default behaviour
|
||||||
|
os.environ["GIT_CONFIG_NOSYSTEM"] = "yes"
|
||||||
|
|
||||||
# needs to be a byte like object
|
# needs to be a byte like object
|
||||||
GITHUB_SECRET = b"changetosomethingrandomlong"
|
GITHUB_SECRET = b"changetosomethingrandomlong"
|
||||||
|
|||||||
Reference in New Issue
Block a user