From fbf11e209bfb0d0097bb19cb256df32b158cf3cd Mon Sep 17 00:00:00 2001 From: Chris Wiggins Date: Thu, 10 Oct 2024 19:49:44 +1300 Subject: [PATCH 1/2] chore: remove tests for now --- .github/workflows/ci.yml | 37 ++--------------------------------- molecule/default/converge.yml | 13 ------------ molecule/default/molecule.yml | 21 -------------------- 3 files changed, 2 insertions(+), 69 deletions(-) delete mode 100644 molecule/default/converge.yml delete mode 100644 molecule/default/molecule.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3385023..48bd0c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,7 @@ name: CI pull_request: push: branches: - - master - schedule: - - cron: "30 6 * * 3" + - main defaults: run: @@ -33,35 +31,4 @@ jobs: - name: Lint code. run: | - yamllint . - - molecule: - name: Molecule - runs-on: ubuntu-latest - strategy: - matrix: - distro: - - rockylinux9 - - ubuntu2004 - - debian10 - - steps: - - name: Check out the codebase. - uses: actions/checkout@v4 - with: - path: 'vgrid.frr_exporter' - - - name: Set up Python 3. - uses: actions/setup-python@v5 - with: - python-version: '3.x' - - - name: Install test dependencies. - run: pip3 install ansible molecule molecule-plugins[docker] docker - - - name: Run Molecule tests. - run: molecule test - env: - PY_COLORS: '1' - ANSIBLE_FORCE_COLOR: '1' - MOLECULE_DISTRO: ${{ matrix.distro }} + yamllint \ No newline at end of file diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml deleted file mode 100644 index bdafa4d..0000000 --- a/molecule/default/converge.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Converge - hosts: all - become: true - - pre_tasks: - - name: Update apt cache. - apt: update_cache=yes cache_valid_time=600 - when: ansible_os_family == 'Debian' - changed_when: false - - roles: - - role: vgrid.frr_exporter diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml deleted file mode 100644 index 3c2f1e5..0000000 --- a/molecule/default/molecule.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -role_name_check: 1 -dependency: - name: galaxy - options: - ignore-errors: true -driver: - name: docker -platforms: - - name: instance - image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux9}-ansible:latest" - command: ${MOLECULE_DOCKER_COMMAND:-""} - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:rw - cgroupns_mode: host - privileged: true - pre_build_image: true -provisioner: - name: ansible - playbooks: - converge: ${MOLECULE_PLAYBOOK:-converge.yml} From b2ff5e960e02c2322982d8f00c0d8d424b9ddb48 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 06:49:59 +0000 Subject: [PATCH 2/2] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..5db72dd --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +}