mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 03:38:09 +02:00
gitlab-ci: use "nm-python-black-format.sh" script on "check-tree"
This commit is contained in:
parent
12299ee91e
commit
bb605eabc6
2 changed files with 7 additions and 7 deletions
|
|
@ -47,11 +47,11 @@ variables:
|
||||||
#
|
#
|
||||||
# This is done by running `ci-fairy generate-template` and possibly bump
|
# This is done by running `ci-fairy generate-template` and possibly bump
|
||||||
# ".default_tag".
|
# ".default_tag".
|
||||||
FEDORA_TAG: '2022-03-15.0-a017895d3124'
|
FEDORA_TAG: '2022-03-15.0-7b3d39bfc5ca'
|
||||||
UBUNTU_TAG: '2022-03-15.0-0d592fa70bc5'
|
UBUNTU_TAG: '2022-03-15.0-2cd0d40675ab'
|
||||||
DEBIAN_TAG: '2022-03-15.0-0d592fa70bc5'
|
DEBIAN_TAG: '2022-03-15.0-2cd0d40675ab'
|
||||||
CENTOS_TAG: '2022-03-15.0-a017895d3124'
|
CENTOS_TAG: '2022-03-15.0-7b3d39bfc5ca'
|
||||||
ALPINE_TAG: '2022-03-15.0-65bef47ff3ce'
|
ALPINE_TAG: '2022-03-15.0-17672b94a192'
|
||||||
|
|
||||||
FEDORA_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
FEDORA_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
||||||
UBUNTU_EXEC: 'bash .gitlab-ci/debian-install.sh'
|
UBUNTU_EXEC: 'bash .gitlab-ci/debian-install.sh'
|
||||||
|
|
@ -980,7 +980,7 @@ check-tree:
|
||||||
- "fedora:35@container-prep"
|
- "fedora:35@container-prep"
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
||||||
- 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 -n
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
||||||
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
|
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ check-tree:
|
||||||
- "{{pages_build.name}}:{{pages_build.version}}@container-prep"
|
- "{{pages_build.name}}:{{pages_build.version}}@container-prep"
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
||||||
- 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 -n
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
||||||
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
|
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue