зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1496190 - Pre: Fail automation builds that check out l10n repos. r=Pike,Callek
Differential Revision: https://phabricator.services.mozilla.com/D15777 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2027f25d2b
Коммит
e9a9a7afd8
|
@ -183,14 +183,22 @@ L10N_CO = $(error You need to use either hg or git)
|
|||
endif
|
||||
endif
|
||||
|
||||
|
||||
merge-%: IS_LANGUAGE_REPACK=1
|
||||
merge-%: AB_CD=$*
|
||||
merge-%:
|
||||
# For nightly builds, we automatically check out missing localizations
|
||||
# from l10n-central.
|
||||
# from l10n-central. We never automatically check out in automation:
|
||||
# automation builds check out revisions that have been signed-off by
|
||||
# l10n drivers prior to use.
|
||||
ifdef MOZ_AUTOMATION
|
||||
if ! test -d $(L10NBASEDIR)/$(AB_CD) ; then \
|
||||
echo 'Error: Automation requires l10n repositories to be checked out: $(L10NBASEDIR)/$(AB_CD)' ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
endif
|
||||
ifdef NIGHTLY_BUILD
|
||||
@if ! test -d $(L10NBASEDIR)/$(AB_CD) ; then \
|
||||
if ! test -d $(L10NBASEDIR)/$(AB_CD) ; then \
|
||||
echo 'Checking out $(L10NBASEDIR)/$(AB_CD)' ; \
|
||||
$(NSINSTALL) -D $(L10NBASEDIR) ; \
|
||||
$(L10N_CO) ; \
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче