Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! .gitlab-ci.yml: added docker image…
Browse files Browse the repository at this point in the history
… test
  • Loading branch information
alesmrazek committed Nov 14, 2024
1 parent c97d007 commit 1af570f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,14 @@ docker:test:run:
<<: *multi_platform
# needs:
# - docker:build:cross-platform
script:
before_script:
- docker volume create config
- cp etc/config/config.example.dind.yaml /var/lib/docker/volumes/config/_data/config.yaml
- docker volume create --opt type=tmpfs --opt device=tmpfs cache
script:
- >
docker run --rm -d --pid=host
docker run --rm -td
--name knot-resolver
--network host
-v config:/etc/knot-resolver
-v cache:/var/cache/knot-resolver
${GITLAB_REGISTRY}:${CI_COMMIT_REF_NAME}
Expand Down
10 changes: 10 additions & 0 deletions etc/config/config.example.dind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
workers: 2
logging:
level: info
network:
listen:
- interface: eth0@53
- interface: eth0@853
kind: dot
- interface: eth0@443
kind: doh2

0 comments on commit 1af570f

Please sign in to comment.