    conn.send("git reset --hard\n")
    conn.send("git fetch origin\n")
    conn.send(f"git checkout {commit}\n")
    conn.send("git clean -xdf\n")
    conn.send("git submodule update --init\n")
    conn.send("git submodule foreach --recursive git reset --hard\n")
    conn.send("git submodule foreach --recursive git clean -xdf\n")
 
</s> remove   key_file = open(os.path.join(os.path.dirname(__file__), "../../tools/ssh/key/id_rsa"))
 </s> add   key_file = open(os.path.join(os.path.dirname(__file__), "id_rsa")) </s> remove selfdrive/test/test_car_models.py
 </s> add  </s> remove     CI_PUSH = "${env.BRANCH_NAME == 'master' ? 'master-ci' : ''}"
 </s> add 
  conn.send("find . -maxdepth 1 -not -path './.git' -not -name '.' -not -name '..' -exec rm -rf '{}' \\;\n")
  conn.send(f"git reset --hard {commit}\n")
    conn.send("git reset --hard\n")
    conn.send("git fetch origin\n")
  conn.send("find . -maxdepth 1 -not -path './.git' -not -name '.' -not -name '..' -exec rm -rf '{}' \\;\n")
  conn.send(f"git reset --hard {commit}\n")
    conn.send(f"git checkout {commit}\n")
    conn.send("git clean -xdf\n")
    conn.send("git submodule update --init\n")
    conn.send("git submodule foreach --recursive git reset --hard\n")
    conn.send("git submodule foreach --recursive git clean -xdf\n")
keep add keep keep keep keep keep
 Build release2 and dashcam in CI (#1834)

* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key 
selfdrive/test/phone_ci.py