]> granicus.if.org Git - graphviz/commitdiff
CI: upgrade linting jobs from Ubtuntu 21.10 to 22.04
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 16 Jul 2022 16:31:36 +0000 (09:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Jul 2022 01:47:54 +0000 (18:47 -0700)
Ubuntu 21.10 was EOLed on 2022-07-14.¹

¹ https://wiki.ubuntu.com/Releases

.gitlab-ci.yml

index 32a5c15e5a7014803a9844e565283c14c3ed8bb4..a4e5fadc997bafc26f9df739c9cd1db55e884c02 100644 (file)
@@ -1351,10 +1351,10 @@ docker_push_ubuntu-22.04:
     - docker_build_ubuntu-22.04
 
 lint_clang_format:
-  image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
+  image: "$CI_REGISTRY_IMAGE/ubuntu-22.04:$CI_COMMIT_SHA"
   stage: test
   needs:
-    - docker_build_ubuntu-21.10
+    - docker_build_ubuntu-22.04
   script:
     # output some info into the logs for debugging
     - clang-format --version
@@ -1366,30 +1366,30 @@ lint_clang_format:
     - tags
 
 lint_cmake_format:
-  image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
+  image: "$CI_REGISTRY_IMAGE/ubuntu-22.04:$CI_COMMIT_SHA"
   stage: test
   needs:
-    - docker_build_ubuntu-21.10
+    - docker_build_ubuntu-22.04
   script:
     - git ls-files -z -- '**/CMakeLists.txt' '**/*.cmake' '**/*.cmake.in' | xargs -0 -- python3 -m cmakelang.lint
   except:
     - tags
 
 lint_html:
-  image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
+  image: "$CI_REGISTRY_IMAGE/ubuntu-22.04:$CI_COMMIT_SHA"
   stage: test
   needs:
-    - docker_build_ubuntu-21.10
+    - docker_build_ubuntu-22.04
   script:
     - git ls-files -z -- '**/*.html' | xargs -0 -- xmllint --nonet --noout --html --valid
   except:
     - tags
 
 lint_pylint:
-  image: "$CI_REGISTRY_IMAGE/ubuntu-21.10:$CI_COMMIT_SHA"
+  image: "$CI_REGISTRY_IMAGE/ubuntu-22.04:$CI_COMMIT_SHA"
   stage: test
   needs:
-    - docker_build_ubuntu-21.10
+    - docker_build_ubuntu-22.04
   script:
     - python3 -m pylint --rcfile=.pylintrc --disable=fixme `find . -name '*.py' | xargs`
   except: