mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
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:
parent
4631824f9c
commit
4f1403c359
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
###
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user