Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal

MozReview-Commit-ID: 9QkTPyP7izS

--HG--
extra : rebase_source : 4784a5af43e806f2ec017fe16d930b3845fe2dde
This commit is contained in:
Sylvestre Ledru 2018-05-09 21:57:36 +02:00
parent 4631824f9c
commit 4f1403c359
4 changed files with 13 additions and 2 deletions

View File

@ -7,8 +7,8 @@ path:taskcluster/
path:python/mozbuild/mozbuild/action/tooltool.py
path:testing/config/tooltool-manifests/linux64/releng.manifest
path:testing/mozharness/external_tools/robustcheckout.py
path:tools/lint/spell/codespell_requirements.txt
path:tools/lint/eslint/eslint-plugin-mozilla/manifest.tt
path:tools/lint/eslint/manifest.tt
path:tools/lint/python/flake8_requirements.txt
path:tools/lint/tox/tox_requirements.txt

View File

@ -30,6 +30,8 @@ ADD topsrcdir/tools/lint/eslint/manifest.tt /tmp/eslint.tt
ADD topsrcdir/tools/lint/eslint/eslint-plugin-mozilla/manifest.tt /tmp/eslint-plugin-mozilla.tt
# %include tools/lint/python/flake8_requirements.txt
ADD topsrcdir/tools/lint/python/flake8_requirements.txt /tmp/flake8_requirements.txt
# %include tools/lint/spell/codespell_requirements.txt
ADD topsrcdir/tools/lint/spell/codespell_requirements.txt /tmp/codespell_requirements.txt
# %include tools/lint/tox/tox_requirements.txt
ADD topsrcdir/tools/lint/tox/tox_requirements.txt /tmp/tox_requirements.txt
RUN bash /tmp/system-setup.sh

View File

@ -10,7 +10,6 @@ mkdir -p /setup
cd /setup
apt_packages=()
apt_packages+=('codespell')
apt_packages+=('curl')
apt_packages+=('locales')
apt_packages+=('git')
@ -88,6 +87,14 @@ cd /setup
pip install --require-hashes -r /tmp/flake8_requirements.txt
###
# codespell Setup
###
cd /setup
pip install --require-hashes -r /tmp/codespell_requirements.txt
###
# tox Setup
###

View File

@ -42,6 +42,8 @@ ADD topsrcdir/tools/lint/eslint/manifest.tt /tmp/eslint.tt
ADD topsrcdir/tools/lint/eslint/eslint-plugin-mozilla/manifest.tt /tmp/eslint-plugin-mozilla.tt
# %include tools/lint/python/flake8_requirements.txt
ADD topsrcdir/tools/lint/python/flake8_requirements.txt /tmp/flake8_requirements.txt
# %include tools/lint/spell/codespell_requirements.txt
ADD topsrcdir/tools/lint/spell/codespell_requirements.txt /tmp/codespell_requirements.txt
# %include tools/lint/tox/tox_requirements.txt
ADD topsrcdir/tools/lint/tox/tox_requirements.txt /tmp/tox_requirements.txt
RUN bash /tmp/system-setup.sh