Skip to content
Snippets Groups Projects
Commit 969d436c authored by Jakub Ružička's avatar Jakub Ružička
Browse files

WIP: CI: add test for new DoH implementation

parent ee7bff39
No related merge requests found
Pipeline #69058 failed with stages
in 3 hours and 42 seconds
......@@ -12,6 +12,7 @@ addons:
- libuv
- lmdb
- meson
- nghttp2
update: true
compiler:
- clang
......
---
# SPDX-License-Identifier: GPL-3.0-or-later
- name: doh2_config set up kresd.conf
blockinfile:
marker: -- {mark} ANSIBLE MANAGED BLOCK
block: |
net.listen('127.0.0.1', 44354, { kind = 'doh2' })
path: /etc/knot-resolver/kresd.conf
insertbefore: BOF
......@@ -26,7 +26,16 @@
- include: test_kres_cache_gc.yaml
- name: Test DoH
- name: Test DoH (new implementation)
block:
- include: configure_doh2.yaml
when: ansible_distribution in ["CentOS", "Fedora", "Debian", "Ubuntu"]
- include: restart_kresd.yaml
- include: test_doh2.yaml
when: distro in ["Fedora", "Debian", "CentOS"] or (distro == "Ubuntu" and ansible_distribution_major_version|int >= 18)
- name: Test DoH (Legacy)
block:
- name: Install knot-resolver-module-http
package:
......
---
# SPDX-License-Identifier: GPL-3.0-or-later
- name: doh2_test query localhost. A
get_url:
url: https://127.0.0.1:44354/doh?dns=1Y0BAAABAAAAAAAACWxvY2FsaG9zdAAAAQAB
sha256sum: e5c2710e6ecb78c089ab608ad5861b87be0d1c623c4d58b4eee3b21c06aa2008
dest: /tmp/doh_test
mode: 0644
validate_certs: false
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment