update tested branches

old-commit-hash: 116bb0b52486d5b5d5fcf682b1353d48126ea157
This commit is contained in:
Adeeb Shihadeh
2021-07-23 15:47:00 -07:00
parent 9c94423b50
commit 54270d569c
2 changed files with 6 additions and 4 deletions
+4 -1
View File
@@ -7,6 +7,9 @@ from common.basedir import BASEDIR
from selfdrive.swaglog import cloudlog
TESTED_BRANCHES = ['devel', 'release2-staging', 'release3-staging', 'dashcam-staging', 'release2', 'release3', 'dashcam']
def run_cmd(cmd: List[str]) -> str:
return subprocess.check_output(cmd, encoding='utf8').strip()
@@ -60,7 +63,7 @@ commit = get_git_commit()
if (origin is not None) and (branch is not None):
try:
comma_remote = origin.startswith('git@github.com:commaai') or origin.startswith('https://github.com/commaai')
tested_branch = get_git_branch() in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']
tested_branch = get_git_branch() in TESTED_BRANCHES
dirty = False