зеркало из https://github.com/mozilla/normandy.git
taskcluster: Use hg robustcheckout to clone mozilla-central. (#788)
This should help with #757.
This commit is contained in:
Родитель
dc93497778
Коммит
5b8d8e0599
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче