Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! .gitlab-ci.yml: added docker image test
Browse files Browse the repository at this point in the history
  • Loading branch information
alesmrazek committed Nov 14, 2024
1 parent 8d8adc4 commit c97d007
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,20 +250,22 @@ docker:test:run:
# needs:
# - docker:build:cross-platform
script:
- docker run -d --network host ${GITLAB_REGISTRY}:${CI_COMMIT_REF_NAME}
# - docker volume create config
# - docker volume create --opt type=tmpfs --opt device=tmpfs cache
# - >
# docker run --rm -d --pid=host
# --name knot-resolver
# --network host
# -v config:/etc/knot-resolver
# -v cache:/var/cache/knot-resolver
# ${GITLAB_REGISTRY}:${CI_COMMIT_REF_NAME}
- docker volume create config
- docker volume create --opt type=tmpfs --opt device=tmpfs cache
- >
docker run --rm -d --pid=host
--name knot-resolver
--network host
-v config:/etc/knot-resolver
-v cache:/var/cache/knot-resolver
${GITLAB_REGISTRY}:${CI_COMMIT_REF_NAME}
- docker ps
- ls /sys/class/net
- cat /etc/hosts
- docker exec -it knot-resolver kresctl stop
tags:
- ${PLATFORM}
- dind


docker:test:
Expand Down

0 comments on commit c97d007

Please sign in to comment.