diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a58b075a..641f1272 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,21 @@ jobs: - debian11 steps: + - name: Check Docker Version + run: docker --version + + - name: Check Docker Info + run: docker info + + - name: Enable Debug Output + run: | + sudo mkdir -p /etc/systemd/system/docker.service.d + echo '[Service]' | sudo tee /etc/systemd/system/docker.service.d/override.conf + echo 'Environment="DOCKER_OPTS=--debug"' | sudo tee -a /etc/systemd/system/docker.service.d/override.conf + sudo systemctl daemon-reload + sudo systemctl restart docker + sudo journalctl -u docker.service --no-pager --since "5 minutes ago" + - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} @@ -39,6 +54,8 @@ jobs: run: | pip install molecule molecule-plugins[docker] yamllint ansible-lint docker pip install openwisp-utils[qa] + # https://github.com/ansible-community/molecule-plugins/issues/256 + python -m pip install 'requests<2.32' - name: Install Ansible Galaxy dependencies run: ansible-galaxy collection install "community.general:>=3.6.0"