diff options
author | rexxnor <rexxnor+gnunet@brief.li> | 2019-03-06 20:36:40 +0100 |
---|---|---|
committer | rexxnor <rexxnor+gnunet@brief.li> | 2019-03-06 20:36:40 +0100 |
commit | 3dceb6ed1b35b25e2ba3dd3deb99bf49cbf2e8fb (patch) | |
tree | 2a7cc981743d23e9561cae9c840a0ac37e1e20ba | |
parent | f4246e9397adc7562bf1d6d742ae3d28cd60c34a (diff) | |
download | ascension-dnscurve_detection.tar.gz ascension-dnscurve_detection.zip |
updated ciscript to package including manpagednscurve_detection
-rw-r--r-- | .gitlab-ci.yml | 15 | ||||
-rw-r--r-- | ascension/test/basic_named.conf | 4 | ||||
-rw-r--r-- | ascension/test/test_ascension_simple.sh | 2 | ||||
-rw-r--r-- | helpers/ciscript.sh | 8 |
4 files changed, 13 insertions, 16 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c887403..62407cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -8,23 +8,22 @@ run-build_deb: | |||
8 | stage: build_deb | 8 | stage: build_deb |
9 | script: | 9 | script: |
10 | - apt update | 10 | - apt update |
11 | - apt install -y python-all python3-stdeb | 11 | - apt install -y python-all python3-stdeb git |
12 | # remove this | ||
13 | - python3 setup.py --command-package=stdeb.command sdist_dsc | 12 | - python3 setup.py --command-package=stdeb.command sdist_dsc |
14 | - cp helpers/ascension.1 deb_dist/ascension*/debian/ | 13 | - cd deb_dist/*/ || exit |
15 | - cd deb_dist/ascension*/ | 14 | - cp ../../helpers/ascension.1 debian/ascension.1 |
15 | - echo "debian/ascension.1" > debian/python3-ascension.manpages | ||
16 | - dh_installman | ||
16 | - dpkg-buildpackage -rfakeroot -uc -us | 17 | - dpkg-buildpackage -rfakeroot -uc -us |
17 | - apt update | 18 | - cd ../../ || exit |
18 | - apt install -y ../python3-ascension*.deb | 19 | - apt install -y ./deb_dist/python3-ascension*.deb |
19 | - ascension -h | 20 | - ascension -h |
20 | - cd ../../ | ||
21 | - bash helpers/gnunet-installer-0.11-debian.sh Production | 21 | - bash helpers/gnunet-installer-0.11-debian.sh Production |
22 | - apt install -y bind9 dnsutils procps | 22 | - apt install -y bind9 dnsutils procps |
23 | - gnunet-arm -Esq | 23 | - gnunet-arm -Esq |
24 | - cd ascension/test/ | 24 | - cd ascension/test/ |
25 | - bash test_ascension_simple.sh | 25 | - bash test_ascension_simple.sh |
26 | - gnunet-arm -e | 26 | - gnunet-arm -e |
27 | - cd ../../ | ||
28 | artifacts: | 27 | artifacts: |
29 | paths: | 28 | paths: |
30 | - deb_dist/python3-ascension*.deb | 29 | - deb_dist/python3-ascension*.deb |
diff --git a/ascension/test/basic_named.conf b/ascension/test/basic_named.conf index 920e7af..608e7cb 100644 --- a/ascension/test/basic_named.conf +++ b/ascension/test/basic_named.conf | |||
@@ -8,10 +8,6 @@ options { | |||
8 | // Add this for no IPv4: | 8 | // Add this for no IPv4: |
9 | // listen-on { none; }; | 9 | // listen-on { none; }; |
10 | 10 | ||
11 | allow-recursion { 127.0.0.1; }; | ||
12 | allow-transfer { 127.0.0.1; }; | ||
13 | allow-update { none; }; | ||
14 | |||
15 | version none; | 11 | version none; |
16 | hostname none; | 12 | hostname none; |
17 | server-id none; | 13 | server-id none; |
diff --git a/ascension/test/test_ascension_simple.sh b/ascension/test/test_ascension_simple.sh index 47fd298..b3cc123 100644 --- a/ascension/test/test_ascension_simple.sh +++ b/ascension/test/test_ascension_simple.sh | |||
@@ -32,7 +32,7 @@ if ! [ -x "$(command -v gnunet-arm)" ]; then | |||
32 | exit 1 | 32 | exit 1 |
33 | fi | 33 | fi |
34 | 34 | ||
35 | gnunet-arm -T 1s -I | 35 | gnunet-arm -T 1s -I -q 2>&1 /dev/null |
36 | if [ "$?" -ne 0 ]; then | 36 | if [ "$?" -ne 0 ]; then |
37 | echo "The gnunet peer is not running" >&2 | 37 | echo "The gnunet peer is not running" >&2 |
38 | exit 1 | 38 | exit 1 |
diff --git a/helpers/ciscript.sh b/helpers/ciscript.sh index 30774d3..3ad40e1 100644 --- a/helpers/ciscript.sh +++ b/helpers/ciscript.sh | |||
@@ -5,10 +5,12 @@ | |||
5 | apt update | 5 | apt update |
6 | apt install -y python-all python3-stdeb git | 6 | apt install -y python-all python3-stdeb git |
7 | python3 setup.py --command-package=stdeb.command sdist_dsc | 7 | python3 setup.py --command-package=stdeb.command sdist_dsc |
8 | cd deb_dist/*/ | 8 | cd deb_dist/*/ || exit |
9 | cp helpers/ascension.1 deb_dist/ascension*/debian/ | 9 | cp ../../helpers/ascension.1 debian/ascension.1 |
10 | echo "debian/ascension.1" > debian/python3-ascension.manpages | ||
11 | dh_installman | ||
10 | dpkg-buildpackage -rfakeroot -uc -us | 12 | dpkg-buildpackage -rfakeroot -uc -us |
11 | cd ../../ | 13 | cd ../../ || exit |
12 | apt install -y ./deb_dist/python3-ascension*.deb | 14 | apt install -y ./deb_dist/python3-ascension*.deb |
13 | ascension -h | 15 | ascension -h |
14 | bash helpers/gnunet-installer-0.11-debian.sh Production | 16 | bash helpers/gnunet-installer-0.11-debian.sh Production |