taskcluster: Use hg robustcheckout to clone mozilla-central. (#788)

This should help with #757.
This commit is contained in:
Mike Cooper 2017-06-02 14:56:10 -07:00 коммит произвёл Michael Kelly
Родитель dc93497778
Коммит 5b8d8e0599
6 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -22,7 +22,7 @@ tasks:
payload:
env:
maxRunTime: 300 # 5 minutes
image: mozilla/normandy-taskcluster:latest
image: mozilla/normandy-taskcluster:v2
features:
taskclusterProxy: true
command:

Просмотреть файл

@ -1,5 +1,6 @@
FROM ubuntu:zesty
WORKDIR /root
ENV CACHEBUST=2017-05-31
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-transport-https \
curl \
@ -25,3 +26,7 @@ RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN curl -O https://hg.mozilla.org/mozilla-central/raw-file/tip/python/mozboot/bin/bootstrap.py && \
python2.7 bootstrap.py --no-interactive --application-choice=browser_artifact_mode
RUN hg clone https://hg.mozilla.org/hgcustom/version-control-tools/
COPY dot.hgrc ./.hgrc

Просмотреть файл

@ -5,5 +5,5 @@ is not currently built in any automation, and must be manually updated if
changes are made.
It's primary purpose is to install the packages needed to succesfully build
recipe-client-addon and mozilla-central. It's canonical location is
recipe-client-addon and mozilla-central. It's canonical image name is
mozilla/normandy-taskcluster.

Просмотреть файл

@ -70,7 +70,7 @@ def main():
'deadline': fromNow('1 day'),
'expires': fromNow('365 days'),
'payload': {
'image': 'mozilla/normandy-taskcluster:latest',
'image': 'mozilla/normandy-taskcluster:v2',
'command': [
'/bin/bash',
'-c',

Просмотреть файл

@ -6,7 +6,7 @@ export SHELL=$(which bash)
# Creates mozilla-central
echo 'Downloading mozilla-central...'
hg clone http://hg.mozilla.org/mozilla-central/
hg robustcheckout http://hg.mozilla.org/mozilla-central/ mozilla-central --branch default
echo 'Pulling tags from mozilla/normandy repo on Github...'
pushd normandy

Просмотреть файл

@ -6,7 +6,7 @@ export SHELL=$(which bash)
# Creates mozilla-central
echo 'Downloading mozilla-central...'
hg clone http://hg.mozilla.org/mozilla-central/
hg robustcheckout http://hg.mozilla.org/mozilla-central/ mozilla-central --branch default
echo 'Pulling tags from mozilla/normandy repo on Github...'
pushd normandy