Files
firefox/testing/docker/builder/bin/checkout-gecko
T
d2623a315c Bug 1132562 - Use workspace directory so autoclobber can function with caches r=wcosta
- Move builder scripts into tree proper instead of baked into docker images
2015-02-24 08:26:48 -08:00

17 lines
475 B
Bash

#! /bin/bash -ex
# Ensure we have at least enough to check gecko out...
test $GECKO_BASE_REPOSITORY
# Workspace to checkout gecko into...
WORKSPACE=$1
mkdir -p $WORKSPACE
# Note that tc-vcs requires only the first two arguments so others are optional.
# This is intended to make it easier to clone local directories.
buildbot_step "Clone gecko" tc-vcs checkout $WORKSPACE/gecko \
$GECKO_BASE_REPOSITORY \
$GECKO_HEAD_REPOSITORY \
$GECKO_HEAD_REV \
$GECKO_HEAD_REF