]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/images/debian-11: drop go
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 7 Oct 2022 13:24:00 +0000 (15:24 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 10 Oct 2022 13:36:50 +0000 (15:36 +0200)
I don't know how to fix building the image with it.
A few things were tried around different go versions (from -backports).

.gitlab-ci.yml
ci/images/debian-11/Dockerfile
ci/images/lxc-debian-11/Dockerfile

index 071b33bfe27b07e84705d6fa955a3e0bf8f0a71e..affeb71d241bee2df6816603554144aca969a393 100644 (file)
@@ -99,7 +99,7 @@ build:
     - meson build_ci --default-library=static --prefix=$PREFIX -Dwerror=true -Dextra_tests=enabled
     - ninja -C build_ci
     - ninja -C build_ci install >/dev/null
-    - ${MESON_TEST} --suite unit --suite config --suite dnstap --no-suite snowflake
+    - ${MESON_TEST} --suite unit --suite config --no-suite snowflake
 
 build-knot32:
   <<: *build
@@ -108,7 +108,7 @@ build-knot32:
     - meson build_ci_knot32 --default-library=static --prefix=$PREFIX -Dwerror=true -Dextra_tests=enabled
     - ninja -C build_ci_knot32
     - ninja -C build_ci_knot32 install >/dev/null
-    - ${MESON_TEST} --suite unit --suite config --suite dnstap --no-suite snowflake
+    - ${MESON_TEST} --suite unit --suite config --no-suite snowflake
 
 build-asan:
   <<: *build
@@ -119,7 +119,7 @@ build-asan:
     - ninja -C build_ci_asan install >/dev/null
       # TODO _leaks: not sure what exactly is wrong in leak detection on config tests
       # TODO skip_asan: all three of these disappear locally when using gcc 9.1 (except some leaks)
-    - MESON_TESTTHREADS=1 ASAN_OPTIONS=detect_leaks=0 ${MESON_TEST} --suite unit --suite config --suite dnstap --no-suite skip_asan --no-suite snowflake
+    - MESON_TESTTHREADS=1 ASAN_OPTIONS=detect_leaks=0 ${MESON_TEST} --suite unit --suite config --no-suite skip_asan --no-suite snowflake
 
 build:macOS:
   <<: *nodep
index be22a2ad6bb92f5e96bd3f3430abad2e3b4ca8a8..4ed7cff6a6b4a6c97a11ce1af39f89f8a9cad1e0 100644 (file)
@@ -21,9 +21,10 @@ RUN apt-get install -y -qqq git make cmake pkg-config meson \
 
 # Build and testing deps for Resolver's dnstap module (go stuff is just for testing)
 RUN apt-get install -y -qqq \
-       protobuf-c-compiler libprotobuf-c-dev libfstrm-dev \
-       golang-any
-RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap,golang/protobuf/proto}"
+       protobuf-c-compiler libprotobuf-c-dev libfstrm-dev
+# Maintaining the go stuff in CI really seems more trouble than worth.
+#      golang-any
+#RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap,golang/protobuf/proto}"
 
 # documentation dependencies
 RUN apt-get install -y -qqq doxygen python3-sphinx python3-breathe python3-sphinx-rtd-theme
index 663c609474c63e2302c3629559a73298986919ec..82b0ad6b3570175c3d8eb02fe45606cb27f2e568 100644 (file)
@@ -18,9 +18,10 @@ RUN apt-get install -y -qqq git make cmake pkg-config meson \
 
 # Build and testing deps for Resolver's dnstap module (go stuff is just for testing)
 RUN apt-get install -y -qqq \
-       protobuf-c-compiler libprotobuf-c-dev libfstrm-dev \
-       golang-any
-RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap,golang/protobuf/proto}"
+       protobuf-c-compiler libprotobuf-c-dev libfstrm-dev
+# Maintaining the go stuff in CI really seems more trouble than worth.
+#      golang-any
+#RUN bash -c "go get github.com/{FiloSottile/gvt,cloudflare/dns,dnstap/golang-dnstap,golang/protobuf/proto}"
 
 # documentation dependencies
 RUN apt-get install -y -qqq doxygen python3-sphinx python3-breathe python3-sphinx-rtd-theme