[Git][NTPsec/ntpsec][master] 4 commits: Consolidate macOS CI target definition behind "macos_saas_runners"
Matt Selsky (@selsky)
gitlab at mg.gitlab.com
Mon Jun 19 22:59:07 UTC 2023
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
96501fdf by Matt Selsky at 2023-06-19T16:23:31-04:00
Consolidate macOS CI target definition behind "macos_saas_runners"
- - - - -
1d1e182f by Matt Selsky at 2023-06-19T17:08:21-04:00
Update Debian stable CI targets to stop using python 2
Python 2 support was removed from Debian bookworm and this became "stable" on 2023-06-10
- - - - -
fe305984 by Matt Selsky at 2023-06-19T17:14:23-04:00
Update Debian oldstable CI target to use updated package names for py2
- - - - -
6dd3a4ac by Matt Selsky at 2023-06-19T17:24:24-04:00
Update openSUSE Leap CI target to be python3-only
openSUSE Leap 15.5 removed python 2 support per
https://code.opensuse.org/leap/features/issue/15 and it was released on
2023-06-07 per https://en.opensuse.org/Portal:15.5
- - - - -
4 changed files:
- .dockerfiles/debian-stable-i386
- .dockerfiles/debian-stable-mdns
- .gitlab-ci.yml
- .gitlab-opttest-ci.yml
Changes:
=====================================
.dockerfiles/debian-stable-i386
=====================================
@@ -5,4 +5,4 @@
FROM i386/debian:stable-slim
RUN apt-get update
-RUN apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python-dev libbsd-dev
+RUN apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python3-dev libbsd-dev
=====================================
.dockerfiles/debian-stable-mdns
=====================================
@@ -5,4 +5,4 @@
FROM debian:stable-slim
RUN apt-get update
-RUN apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python-dev libbsd-dev libavahi-compat-libdnssd-dev
+RUN apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python3-dev libbsd-dev libavahi-compat-libdnssd-dev
=====================================
.gitlab-ci.yml
=====================================
@@ -34,6 +34,11 @@ include:
<<: *job_definition
allow_failure: true
+.macos_saas_runners:
+ tags:
+ - saas-macos-medium-m1
+ image: macos-12-xcode-14
+
alpine-basic:
<<: *job_definition
image: $CI_REGISTRY/ntpsec/ntpsec/alpine
@@ -371,7 +376,8 @@ coverity-scan:
macos-basic:
<<: *job_definition
- image: macos-12-xcode-14
+ extends:
+ - .macos_saas_runners
script:
- PKG_CONFIG_PATH=${HOMEBREW_PREFIX}/opt/openssl/lib/pkgconfig python ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
- DESTDIR=build/prison python ./waf install
@@ -380,18 +386,15 @@ macos-basic:
- sudo python ./waf install
- sudo python ./waf uninstall
- rm -rvf build/prison ./prison ../prison
- tags:
- - saas-macos-medium-m1
rules:
- if: '$CI_COMMIT_BRANCH && $CI_PROJECT_PATH == "NTPsec/ntpsec"'
macos-refclocks:
<<: *job_definition
- image: macos-12-xcode-14
+ extends:
+ - .macos_saas_runners
script:
- PKG_CONFIG_PATH=${HOMEBREW_PREFIX}/opt/openssl/lib/pkgconfig python ./waf configure --disable-doc --disable-manpage --refclock=all build || cat build/config.log
- tags:
- - saas-macos-medium-m1
rules:
- if: '$CI_COMMIT_BRANCH && $CI_PROJECT_PATH == "NTPsec/ntpsec"'
=====================================
.gitlab-opttest-ci.yml
=====================================
@@ -58,11 +58,11 @@ fedora-latest-options-tester:
<<: *option_tester
opensuse-leap-options-tester:
- <<: *option_tester
+ <<: *option_tester_py3_only
image: opensuse/leap
allow_failure: true
script:
- - zypper -n install bison gcc libopenssl-devel libcap-devel pps-tools-devel python-devel python-curses libseccomp-devel python3-devel python3-curses bash
+ - zypper -n install bison gcc libopenssl-devel libcap-devel pps-tools-devel libseccomp-devel python3-devel python3-curses bash
gentoo-options-tester:
<<: *option_tester
@@ -125,7 +125,7 @@ freebsd-options-tester:
needs: []
script:
- apt-get update
- - apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python-dev python-minimal libseccomp-dev bash pkg-config python3-dev python3-minimal
+ - apt-get install -y netbase bison gcc libssl-dev libcap-dev pps-tools python2-dev python2-minimal libseccomp-dev bash pkg-config python3-dev python3-minimal
- PYTHON=python bash tests/option-tester.sh
- PYTHON=python3 bash tests/option-tester.sh
tags:
@@ -135,7 +135,7 @@ freebsd-options-tester:
debian-i386-options-tester:
image: i386/debian:stable-slim
- <<: *deb_option_tester
+ <<: *deb_option_tester_py3_only
debian-oldstable-options-tester:
image: debian:oldstable-slim
@@ -143,7 +143,7 @@ debian-oldstable-options-tester:
debian-stable-options-tester:
image: debian:stable-slim
- <<: *deb_option_tester
+ <<: *deb_option_tester_py3_only
debian-testing-options-tester:
image: debian:testing-slim
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/205ba274ceada869f99a69c61e23460ac8a5a92e...6dd3a4acd52f30a0a52fea6f42447fd91f2fb9b9
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/205ba274ceada869f99a69c61e23460ac8a5a92e...6dd3a4acd52f30a0a52fea6f42447fd91f2fb9b9
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/20230619/a6f17881/attachment-0001.htm>
More information about the vc
mailing list