summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-04-01 13:50:19 +0200
committerThomas Haller <thaller@redhat.com>2022-04-01 14:02:23 +0200
commitbb605eabc6aa761bf10fe3d9eb1bd15a01065edd (patch)
tree92ee682d376c0b34d63d243c6ac6d5429422052c
parent12299ee91e7950f3ee68057b0888fa34c02f1a29 (diff)
downloadNetworkManager-bb605eabc6aa761bf10fe3d9eb1bd15a01065edd.tar.gz
gitlab-ci: use "nm-python-black-format.sh" script on "check-tree"
-rw-r--r--.gitlab-ci.yml12
-rw-r--r--.gitlab-ci/ci.template2
2 files changed, 7 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f174141494..7cfa3c734a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,11 +47,11 @@ variables:
#
# This is done by running `ci-fairy generate-template` and possibly bump
# ".default_tag".
- FEDORA_TAG: '2022-03-15.0-a017895d3124'
- UBUNTU_TAG: '2022-03-15.0-0d592fa70bc5'
- DEBIAN_TAG: '2022-03-15.0-0d592fa70bc5'
- CENTOS_TAG: '2022-03-15.0-a017895d3124'
- ALPINE_TAG: '2022-03-15.0-65bef47ff3ce'
+ FEDORA_TAG: '2022-03-15.0-7b3d39bfc5ca'
+ UBUNTU_TAG: '2022-03-15.0-2cd0d40675ab'
+ DEBIAN_TAG: '2022-03-15.0-2cd0d40675ab'
+ CENTOS_TAG: '2022-03-15.0-7b3d39bfc5ca'
+ ALPINE_TAG: '2022-03-15.0-17672b94a192'
FEDORA_EXEC: 'bash .gitlab-ci/fedora-install.sh'
UBUNTU_EXEC: 'bash .gitlab-ci/debian-install.sh'
@@ -980,7 +980,7 @@ check-tree:
- "fedora:35@container-prep"
stage: test
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'; contrib/scripts/nm-code-format.sh -n
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template
index e85752e839..68b35849d4 100644
--- a/.gitlab-ci/ci.template
+++ b/.gitlab-ci/ci.template
@@ -220,7 +220,7 @@ check-tree:
- "{{pages_build.name}}:{{pages_build.version}}@container-prep"
stage: test
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'; contrib/scripts/nm-code-format.sh -n
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code