[Git][NTPsec/ntpsec][master] Remove python2 option testing from CentOS Stream 9 CI target

Matt Selsky (@selsky) gitlab at mg.gitlab.com
Thu Dec 29 08:41:43 UTC 2022



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
e419ae95 by Matt Selsky at 2022-12-29T03:39:09-05:00
Remove python2 option testing from CentOS Stream 9 CI target

Upstream has removed python2 support

- - - - -


1 changed file:

- .gitlab-opttest-ci.yml


Changes:

=====================================
.gitlab-opttest-ci.yml
=====================================
@@ -23,6 +23,16 @@ make-tarball:
   rules:
     - if: '$CI_PIPELINE_SOURCE == "schedule"'
 
+.option_tester_py3_only: &option_tester_py3_only
+  stage: test
+  needs: []
+  after_script:
+    - PYTHON=python3 bash tests/option-tester.sh
+  tags:
+    - gitlab-org
+  rules:
+    - if: '$CI_PIPELINE_SOURCE == "schedule"'
+
 alpine-edge-options-tester:
   <<: *option_tester
   image: alpine:edge
@@ -36,10 +46,10 @@ alpine-options-tester:
     - apk update && apk add gcc bison musl-dev openssl-dev libcap-dev python3-dev asciidoc libseccomp-dev bash
 
 centos-options-tester:
-  <<: *option_tester
+  <<: *option_tester_py3_only
   image: quay.io/centos/centos:stream9
   script:
-    - dnf -y --enablerepo=crb install bison gcc openssl-devel libcap-devel python3-devel python2-devel pps-tools-devel libseccomp-devel bash
+    - dnf -y --enablerepo=crb install bison gcc openssl-devel libcap-devel python3-devel pps-tools-devel libseccomp-devel bash
 
 fedora-latest-options-tester:
   image:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/e419ae955ee4a60bcfde148cc7f2677ceb62d3ee

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/e419ae955ee4a60bcfde148cc7f2677ceb62d3ee
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20221229/467cdb6d/attachment-0001.htm>


More information about the vc mailing list