gitlab-ci: don't explicitly install black/clang/gettext during checkpatch stage

"checkpatch" is based on the default image (currently fedora:33). It
already has these dependencies installed.
This commit is contained in:
Thomas Haller
2020-11-09 10:53:55 +01:00
parent 86d3022ef5
commit aab7cf2065
2 changed files with 0 additions and 2 deletions

View File

@@ -783,7 +783,6 @@ checkpatch:
- t_fedora:33 - t_fedora:33
stage: test stage: test
script: script:
- date '+%Y%m%d-%H%M%S'; dnf install -y git black gettext /usr/bin/xargs which clang
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set - date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc - date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh

View File

@@ -198,7 +198,6 @@ checkpatch:
- t_{{pages_build.name}}:{{pages_build.version}} - t_{{pages_build.name}}:{{pages_build.version}}
stage: test stage: test
script: script:
- date '+%Y%m%d-%H%M%S'; dnf install -y git black gettext /usr/bin/xargs which clang
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set - date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc - date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh