[Git][NTPsec/ntpsec][20k-Nov22-install-test-fix] 2 commits: CI: Force many python3 shebangs

James Browning gitlab at mg.gitlab.com
Thu Nov 26 23:32:41 UTC 2020



James Browning pushed to branch 20k-Nov22-install-test-fix at NTPsec / ntpsec


Commits:
25f6d515 by James Browning at 2020-11-26T15:31:40-08:00
CI: Force many python3 shebangs


- - - - -
e81d1431 by James Browning at 2020-11-26T15:32:02-08:00
CI: move things around


- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -40,7 +40,7 @@ alpine-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/alpine
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -54,7 +54,7 @@ alpine-edge-basic:
   <<: *job_definition_allow_failure
   image: $CI_REGISTRY/ntpsec/ntpsec/alpine-edge
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -109,7 +109,7 @@ debian-oldstable-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/debian-oldstable
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage --disable-nts build
+    - python3 ./waf configure --disable-doc --disable-manpage --disable-nts build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -123,7 +123,7 @@ debian-stable-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/debian-stable
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -137,7 +137,7 @@ debian-testing-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/debian-testing
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -151,7 +151,7 @@ debian-unstable-basic:
   <<: *job_definition_allow_failure
   image: $CI_REGISTRY/ntpsec/ntpsec/debian-unstable
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -165,7 +165,7 @@ ubuntu-latest-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/ubuntu-latest
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -179,7 +179,7 @@ ubuntu-rolling-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/ubuntu-rolling
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -193,7 +193,7 @@ ubuntu-devel-basic:
   <<: *job_definition_allow_failure
   image: $CI_REGISTRY/ntpsec/ntpsec/ubuntu-devel
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -251,7 +251,7 @@ centos-latest-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/centos-latest
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -265,7 +265,7 @@ fedora-latest-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/fedora-latest
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -279,7 +279,7 @@ fedora-rawhide-basic:
   <<: *job_definition_allow_failure
   image: $CI_REGISTRY/ntpsec/ntpsec/fedora-rawhide
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -313,21 +313,21 @@ clang-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/clang
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage --check-c-compiler=clang build
+    - python3 ./waf configure --disable-doc --disable-manpage --check-c-compiler=clang build --pyshebang "/usr/bin/env python3"
+    - python3 ./waf install
+    - python3 ./waf uninstall
 
 clang-refclocks:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/clang
   script:
     - python3 ./waf configure --disable-doc --disable-manpage --check-c-compiler=clang --refclock=all build
-    - python3 ./waf install
-    - python3 ./waf uninstall
 
 openSUSE-leap-basic:
   <<: *job_definition
   image: $CI_REGISTRY/ntpsec/ntpsec/opensuse-leap
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage --disable-nts build 
+    - python3 ./waf configure --disable-doc --disable-manpage --disable-nts build  --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -341,7 +341,7 @@ openSUSE-tumbleweed-basic:
   <<: *job_definition_allow_failure
   image: $CI_REGISTRY/ntpsec/ntpsec/opensuse-tumbleweed
   script:
-    - python3 ./waf configure --disable-doc --disable-manpage build
+    - python3 ./waf configure --disable-doc --disable-manpage build --pyshebang "/usr/bin/env python3"
     - python3 ./waf install
     - python3 ./waf uninstall
 
@@ -438,6 +438,12 @@ macos-basic:
   <<: *job_definition
   script:
     - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig python ./waf configure --disable-doc --disable-manpage build
+    - DESTDIR=build/prison python ./waf install
+    - DESTDIR=./prison python ./waf install
+    - DESTDIR=../prison python ./waf install
+    - python ./waf install
+    - python ./waf uninstall
+    - rm -rvf build/prison ./prison ../prison
   tags:
     - macos
   rules:
@@ -447,12 +453,6 @@ macos-refclocks:
   <<: *job_definition
   script:
     - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig python ./waf configure --disable-doc --disable-manpage --refclock=all build
-    - DESTDIR=build/prison python ./waf install
-    - DESTDIR=./prison python ./waf install
-    - DESTDIR=../prison python ./waf install
-    - python ./waf install
-    - python ./waf uninstall
-    - rm -rvf build/prison ./prison ../prison
   tags:
     - macos
   rules:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/81d8826b00a5956bb079426976dc83b0b23e3211...e81d1431d91b1ea53c887081a01ed41cbb0c5f34

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/81d8826b00a5956bb079426976dc83b0b23e3211...e81d1431d91b1ea53c887081a01ed41cbb0c5f34
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/20201126/d2d9ab4c/attachment-0001.htm>


More information about the vc mailing list