summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/debian-buster/Dockerfile2
-rw-r--r--ci/respdiff/kresd.config1
-rw-r--r--ci/respdiff/respdiff-tcp.conf2
-rw-r--r--ci/respdiff/respdiff-tls.conf2
-rw-r--r--ci/respdiff/respdiff-udp.conf2
-rwxr-xr-xci/respdiff/restart-bind.sh1
-rwxr-xr-xci/respdiff/restart-kresd.sh2
-rwxr-xr-xci/respdiff/restart-unbound.sh2
-rwxr-xr-xci/respdiff/run-respdiff-tests.sh2
-rwxr-xr-xci/respdiff/start-resolvers.sh2
-rwxr-xr-xci/travis.py1
-rw-r--r--ci/turris/Dockerfile2
12 files changed, 21 insertions, 0 deletions
diff --git a/ci/debian-buster/Dockerfile b/ci/debian-buster/Dockerfile
index da651144..e2a78904 100644
--- a/ci/debian-buster/Dockerfile
+++ b/ci/debian-buster/Dockerfile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
FROM debian:buster
MAINTAINER Knot Resolver <knot-resolver@labs.nic.cz>
ARG KNOT_BRANCH=2.9
diff --git a/ci/respdiff/kresd.config b/ci/respdiff/kresd.config
index 583822b1..02fe5a7d 100644
--- a/ci/respdiff/kresd.config
+++ b/ci/respdiff/kresd.config
@@ -1,3 +1,4 @@
+-- SPDX-License-Identifier: GPL-3.0-or-later
-- Refer to manual: https://knot-resolver.readthedocs.io/en/stable/
-- Listen on localhost and external interface
net.listen('127.0.0.1', 5353)
diff --git a/ci/respdiff/respdiff-tcp.conf b/ci/respdiff/respdiff-tcp.conf
index 3d42c31b..b2d40ff4 100644
--- a/ci/respdiff/respdiff-tcp.conf
+++ b/ci/respdiff/respdiff-tcp.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
[sendrecv]
# in seconds
timeout = 11
diff --git a/ci/respdiff/respdiff-tls.conf b/ci/respdiff/respdiff-tls.conf
index 9f44cea7..1a50eabf 100644
--- a/ci/respdiff/respdiff-tls.conf
+++ b/ci/respdiff/respdiff-tls.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
[sendrecv]
# in seconds
timeout = 11
diff --git a/ci/respdiff/respdiff-udp.conf b/ci/respdiff/respdiff-udp.conf
index 4db7da04..35a69a9f 100644
--- a/ci/respdiff/respdiff-udp.conf
+++ b/ci/respdiff/respdiff-udp.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
[sendrecv]
# in seconds
timeout = 11
diff --git a/ci/respdiff/restart-bind.sh b/ci/respdiff/restart-bind.sh
index 89fd832b..d7b51576 100755
--- a/ci/respdiff/restart-bind.sh
+++ b/ci/respdiff/restart-bind.sh
@@ -1,2 +1,3 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
service bind9 restart
diff --git a/ci/respdiff/restart-kresd.sh b/ci/respdiff/restart-kresd.sh
index a1244837..4e9387cb 100755
--- a/ci/respdiff/restart-kresd.sh
+++ b/ci/respdiff/restart-kresd.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
+
exec > /dev/null
exec 2>&1
diff --git a/ci/respdiff/restart-unbound.sh b/ci/respdiff/restart-unbound.sh
index c9525c05..add24c9a 100755
--- a/ci/respdiff/restart-unbound.sh
+++ b/ci/respdiff/restart-unbound.sh
@@ -1,2 +1,4 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-3.0-or-later
+
service unbound restart
diff --git a/ci/respdiff/run-respdiff-tests.sh b/ci/respdiff/run-respdiff-tests.sh
index c55243f7..6de3c4ab 100755
--- a/ci/respdiff/run-respdiff-tests.sh
+++ b/ci/respdiff/run-respdiff-tests.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: GPL-3.0-or-later
+
# $1 == udp/tcp/tls, it selects configuration file to use
# respdiff scripts must be present in /var/opt/respdiff
set -o errexit -o nounset -o xtrace
diff --git a/ci/respdiff/start-resolvers.sh b/ci/respdiff/start-resolvers.sh
index a5655f76..f9aa695a 100755
--- a/ci/respdiff/start-resolvers.sh
+++ b/ci/respdiff/start-resolvers.sh
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
#run unbound
service unbound start && service unbound status;
# dig @localhost -p 53535
diff --git a/ci/travis.py b/ci/travis.py
index 99e60b2e..bf2fa819 100755
--- a/ci/travis.py
+++ b/ci/travis.py
@@ -1,4 +1,5 @@
#!/usr/bin/python3
+# SPDX-License-Identifier: GPL-3.0-or-later
import json
import time
import sys
diff --git a/ci/turris/Dockerfile b/ci/turris/Dockerfile
index e0267910..2176eece 100644
--- a/ci/turris/Dockerfile
+++ b/ci/turris/Dockerfile
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
FROM debian:stable
MAINTAINER Knot Resolver <knot-resolver@labs.nic.cz>
ARG SDK_NAME=OpenWrt-SDK*x86_64