loci/scripts/clone_project.sh
Sam Yaple a0ff102c54 Add requirements support to generic dockerfile
If the bindep changes upstream merge, then we can collapse alot of this
into bindep.txt file as well. For now, manually declaring is fine.

Change-Id: I682948b9480a19291f12a827cd3f4afdb943db8e
2017-10-01 01:02:31 -04:00

10 lines
157 B
Bash
Executable File

#!/bin/bash
set -eux
git clone ${PROJECT_REPO} /tmp/${PROJECT}
pushd /tmp/${PROJECT}
git fetch ${PROJECT_REPO} ${PROJECT_REF}
git checkout FETCH_HEAD
popd