From 43912a8b3a54b26a0443b9cc6c2b4d989b715a05 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Wed, 22 May 2024 13:20:32 +0400 Subject: [PATCH] ci: add dind Signed-off-by: Zakhar Bessarab --- .github/workflows/test.yml | 6 ++++++ Makefile | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a49030..363e808 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,12 @@ jobs: test: name: 'Test' runs-on: ubuntu-latest + services: + docker: + image: docker:dind + options: --privileged --shm-size=2g + volumes: + - /var/run/docker.sock:/var/run/docker.sock steps: - name: 'Checkout' uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 23d2e31..baf7550 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,6 @@ lint: yamllint roles playbooks; \ ansible-lint roles/ playbooks/ -activate-venv: - . .venv/bin/activate - molecule-converge-single: . .venv/bin/activate; \ cd roles/single && molecule converge -s docker