From 28ab44e6a657d0845752c82c914e5608d3463112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=90=D0=BD=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BF=D0=BE=D0=B2?= Date: Mon, 27 Oct 2025 11:18:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20.dockerignore=20=D1=81=20.github,=20=D1=83=D0=B4=D0=B0?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=B0=D0=BF=D0=BA=D0=B0=20.gi?= =?UTF-8?q?thub=20=D0=B8=D0=B7=20=D1=80=D0=B5=D0=BF=D0=BE=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 2 ++ .github/workflows/ansible-test.yml | 44 ------------------------------ 2 files changed, 2 insertions(+), 44 deletions(-) create mode 100644 .dockerignore delete mode 100644 .github/workflows/ansible-test.yml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..9aee960 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.github + diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml deleted file mode 100644 index b7a9614..0000000 --- a/.github/workflows/ansible-test.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Ansible Testing -on: [push, pull_request] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - name: Install dependencies - run: | - pip install ansible ansible-lint - ansible-galaxy collection install -r requirements.yml - - name: Run lint - run: make role lint - - test: - runs-on: ubuntu-latest - needs: lint - strategy: - matrix: - preset: [minimal, default, performance] - steps: - - uses: actions/checkout@v4 - - name: Setup Docker - run: | - sudo systemctl start docker - sudo usermod -aG docker $USER - - name: Run tests - run: make role test ${{ matrix.preset }} - - deploy-check: - runs-on: ubuntu-latest - needs: [lint, test] - if: github.ref == 'refs/heads/main' - steps: - - uses: actions/checkout@v4 - - name: Check deployment - run: make role deploy - env: - ANSIBLE_HOST_KEY_CHECKING: false