- python3.6
- python-requests
- GitHub Public Access Token
  
    
      This file contains hidden or 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
    
  
  
    
  | change-ns () { | |
| namespace=$1 | |
| if [ -z "${namespace}" ] | |
| then | |
| namespace="default" | |
| fi | |
| context=$(kubectl config current-context) | |
| kubectl config set-context "${context}" --namespace "${namespace}" > /dev/null | |
| yellow="\033[1;93m" | |
| green="\033[1;92m" | 
In gitserver we may clone a repo if it receives a request to one of the following endpoints:
- /execor- /archive: If any of the allowed exec commands (- gitCmdAllowList) are "executed" on a repo through we may clone the repo in maybeStartClone
- /repo-update: If a request to update a repo is received and it is not cloned, then we will clone a repo
- /repo-clone: If a request to clone the repo is received
- /search: If a search is made in a repo and the repo is not cloned
  
    
      This file contains hidden or 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
    
  
  
    
  | {} | 
OlderNewer