Skip to content
Snippets Groups Projects
Commit e0237e02 authored by dmitriysafronov's avatar dmitriysafronov
Browse files

ci: update from template

parent 25b58e85
Branches
Tags
No related merge requests found
......@@ -6,12 +6,6 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/.requirements"
schedule:
interval: "weekly"
labels:
- "dependencies"
- package-ecosystem: "github-actions"
directory: "/.github/workflows"
schedule:
......
......@@ -21,11 +21,21 @@ jobs:
name: lint
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
max-parallel: 2
fail-fast: true
matrix:
ansible: ["9", "11"]
python: ["3.10", "3.12"]
python: ["3.10", "3.x"]
ansible: ["9", "latest"]
experimental: [false]
include:
- python: "3.x"
ansible: "9"
experimental: true
exclude:
- python: "3.x"
ansible: "9"
experimental: false
steps:
- name: Check out the codebase
......@@ -42,6 +52,7 @@ jobs:
run: pip install --upgrade pip wheel
- name: Install test dependencies
id: deps
run: pip install -r .requirements/${{ matrix.ansible }}.txt
- name: Run ansible-lint
......
# Requirements for ansible 11
ansible >=11, <12
ansible-lint
# Requirements for ansible latest
ansible
ansible-lint
......@@ -5,6 +5,10 @@ git \
https://github.com/dmitriysafronov/ansible_role-template.git \
.update
LATEST_TAG="$(git -C .update tag | grep -e '^v' | sort -V | tail -n 1)"
git -C .update -c advice.detachedHead=false checkout ${LATEST_TAG}
if [[ -s .update/update.list ]]; then
rsync -av \
--include-from=.update/update.list \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment