SABER
update_webhook_branchname.py File Reference

Go to the source code of this file.

Namespaces

 update_webhook_branchname
 

Variables

 update_webhook_branchname.branchName = sys.argv[1]
 
 update_webhook_branchname.commitId = sys.argv[2]
 
list update_webhook_branchname.repoList = ["atlas", "oops", "ioda", "ufo", "soca", "fv3-jedi", "mpas-jedi"]
 
 update_webhook_branchname.token = os.getenv('GIT_PASS', '...')
 
 update_webhook_branchname.g = Github(token)
 
list update_webhook_branchname.ownerList = ["JCSDA", "jcsda-internal"]
 
 update_webhook_branchname.saberRepo = g.get_repo("jcsda/saber")
 
bool update_webhook_branchname.branchExists = True
 
 update_webhook_branchname.repo = g.get_repo(f"{owner}/{repoName}")
 
 update_webhook_branchname.branchList = list(repo.get_branches())
 
string update_webhook_branchname.stageDescription = branchName+" exists in "+owner+'/'+ repoName
 
 update_webhook_branchname.commitStatus