File tree Expand file tree Collapse file tree 20 files changed +887
-1154
lines changed Expand file tree Collapse file tree 20 files changed +887
-1154
lines changed Original file line number Diff line number Diff line change 55
66---
77version : 2
8+ enable-beta-ecosystems : true
89updates :
910
1011 - package-ecosystem : " github-actions"
@@ -18,7 +19,7 @@ updates:
1819 # Check for updates to GitHub Actions every weekday
1920 interval : " daily"
2021
21- - package-ecosystem : " pip "
22+ - package-ecosystem : " uv "
2223 directory : " /"
2324 schedule :
2425 # Check for updates to pip packages every weekday
Original file line number Diff line number Diff line change 4949 - " ghcr.io/hifis-net/debian-systemd:11"
5050
5151 steps :
52- - name : " Check out the codebase."
53- uses : " actions/checkout@v4"
54- with :
55- path : " ansible_collections/hifis/toolkit"
56-
5752 - name : " Prepare the job environment."
5853 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5954
6560 /home/runner/.ansible/roles
6661
6762 - name : " Run Molecule tests."
68- run : " pipenv run molecule test -s gitlab"
63+ run : " uv run molecule test -s gitlab"
6964 env :
7065 MOLECULE_IMAGE : " ${{ matrix.image }}"
7166 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 5050 - " ghcr.io/hifis-net/debian-systemd:12"
5151
5252 steps :
53- - name : " Check out the codebase."
54- uses : " actions/checkout@v4"
55- with :
56- path : " ansible_collections/hifis/toolkit"
57-
5853 - name : " Prepare the job environment."
5954 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
6055
6661 /home/runner/.ansible/roles
6762
6863 - name : " Run Molecule tests."
69- run : " pipenv run molecule test -s gitlab_runner"
64+ run : " uv run molecule test -s gitlab_runner"
7065 env :
7166 MOLECULE_IMAGE : " ${{ matrix.image }}"
7267 AUTHENTICATION_TOKEN : " ${{ secrets.authentication_token }}"
Original file line number Diff line number Diff line change 4747 - " ghcr.io/hifis-net/debian-systemd:12"
4848
4949 steps :
50- - name : " Check out the codebase."
51- uses : " actions/checkout@v4"
52- with :
53- path : " ansible_collections/hifis/toolkit"
54-
5550 - name : " Prepare the job environment."
5651 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5752
6560 - name : " Run Molecule tests."
6661 # Haproxy tries to configure the nofile limit which is not allowed from within podman.
6762 # This approach increased the limit beforehand.
68- run : " XDG_RUNTIME_DIR=/run/user/$UID pipenv run sudo prlimit --pid $$ --nofile=500000:500000 && pipenv run molecule test -s haproxy"
63+ run : " XDG_RUNTIME_DIR=/run/user/$UID uv run sudo prlimit --pid $$ --nofile=500000:500000 && uv run molecule test -s haproxy"
6964 env :
7065 MOLECULE_IMAGE : " ${{ matrix.image }}"
7166 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change @@ -45,16 +45,11 @@ jobs:
4545 - " ghcr.io/hifis-net/ubuntu-systemd:20.04"
4646
4747 steps :
48- - name : " Check out the codebase."
49- uses : " actions/checkout@v4"
50- with :
51- path : " ansible_collections/hifis/toolkit"
52-
5348 - name : " Prepare the job environment."
5449 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5550
5651 - name : " Run Molecule tests."
57- run : " pipenv run molecule test -s keepalived"
52+ run : " uv run molecule test -s keepalived"
5853 env :
5954 MOLECULE_IMAGE : " ${{ matrix.image }}"
6055 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 4545 - " ghcr.io/hifis-net/ubuntu-systemd:24.04"
4646
4747 steps :
48- - name : " Check out the codebase."
49- uses : " actions/checkout@v4"
50- with :
51- path : " ansible_collections/hifis/toolkit"
52-
5348 - name : " Prepare the job environment."
5449 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5550
6459 run : " podman network create --subnet 10.123.0.0/24 netplan_network"
6560
6661 - name : " Run Molecule tests."
67- run : " pipenv run molecule test -s netplan"
62+ run : " uv run molecule test -s netplan"
6863 env :
6964 MOLECULE_IMAGE : " ${{ matrix.image }}"
7065 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change @@ -9,18 +9,23 @@ description: "Install the necessary dependencies for jobs."
99runs :
1010 using : " composite"
1111 steps :
12- - name : " Install pipenv."
13- run : " pipx install pipenv"
14- shell : " bash"
12+ - name : " Check out the codebase."
13+ uses : " actions/checkout@v4"
14+ with :
15+ path : " ansible_collections/hifis/toolkit"
16+
17+ - name : " Install uv"
18+ uses : " astral-sh/setup-uv@v5"
19+ with :
20+ enable-cache : true
21+ cache-dependency-glob : " **/uv.lock"
1522
1623 - name : " Set up Python 3."
1724 uses : " actions/setup-python@v5"
18- id : " setup-python"
1925 with :
20- python-version : " 3.12"
21- cache : " pipenv"
26+ python-version-file : " .python-version"
2227
23- - name : " Install dependencies via pipenv ."
24- run : " pipenv install --dev"
28+ - name : " Install dependencies via uv ."
29+ run : " uv sync --all-extras --dev"
2530 shell : " bash"
2631 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 4848 - " ghcr.io/hifis-net/ubuntu-systemd:24.04"
4949
5050 steps :
51- - name : " Check out the codebase."
52- uses : " actions/checkout@v4"
53- with :
54- path : " ansible_collections/hifis/toolkit"
55-
5651 - name : " Prepare the job environment."
5752 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5853
6459 /home/runner/.ansible/roles
6560
6661 - name : " Run Molecule tests."
67- run : " pipenv run molecule test -s redis"
62+ run : " uv run molecule test -s redis"
6863 env :
6964 MOLECULE_IMAGE : " ${{ matrix.image }}"
7065 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 4949 - " ghcr.io/hifis-net/debian-systemd:12"
5050
5151 steps :
52- - name : " Check out the codebase."
53- uses : " actions/checkout@v4"
54- with :
55- path : " ansible_collections/hifis/toolkit"
56-
5752 - name : " Prepare the job environment."
5853 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5954
6560 /home/runner/.ansible/roles
6661
6762 - name : " Run Molecule tests."
68- run : " pipenv run molecule test -s ssh_keys"
63+ run : " uv run molecule test -s ssh_keys"
6964 env :
7065 MOLECULE_IMAGE : " ${{ matrix.image }}"
7166 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change @@ -47,16 +47,11 @@ jobs:
4747 - " ghcr.io/hifis-net/debian-systemd:11"
4848
4949 steps :
50- - name : " Check out the codebase."
51- uses : " actions/checkout@v4"
52- with :
53- path : " ansible_collections/hifis/toolkit"
54-
5550 - name : " Prepare the job environment."
5651 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5752
5853 - name : " Run Molecule tests."
59- run : " pipenv run molecule test -s unattended_upgrades"
54+ run : " uv run molecule test -s unattended_upgrades"
6055 env :
6156 MOLECULE_IMAGE : " ${{ matrix.image }}"
6257 working-directory : " ansible_collections/hifis/toolkit"
You can’t perform that action at this time.
0 commit comments