File tree Expand file tree Collapse file tree 16 files changed +873
-23
lines changed Expand file tree Collapse file tree 16 files changed +873
-23
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 6565 /home/runner/.ansible/roles
6666
6767 - name : " Run Molecule tests."
68- run : " pipenv run molecule test -s gitlab"
68+ run : " uv run molecule test -s gitlab"
6969 env :
7070 MOLECULE_IMAGE : " ${{ matrix.image }}"
7171 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 6666 /home/runner/.ansible/roles
6767
6868 - name : " Run Molecule tests."
69- run : " pipenv run molecule test -s gitlab_runner"
69+ run : " uv run molecule test -s gitlab_runner"
7070 env :
7171 MOLECULE_IMAGE : " ${{ matrix.image }}"
7272 AUTHENTICATION_TOKEN : " ${{ secrets.authentication_token }}"
Original file line number Diff line number Diff line change 6565 - name : " Run Molecule tests."
6666 # Haproxy tries to configure the nofile limit which is not allowed from within podman.
6767 # 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"
68+ run : " XDG_RUNTIME_DIR=/run/user/$UID uv run sudo prlimit --pid $$ --nofile=500000:500000 && uv run molecule test -s haproxy"
6969 env :
7070 MOLECULE_IMAGE : " ${{ matrix.image }}"
7171 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 5454 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5555
5656 - name : " Run Molecule tests."
57- run : " pipenv run molecule test -s keepalived"
57+ run : " uv run molecule test -s keepalived"
5858 env :
5959 MOLECULE_IMAGE : " ${{ matrix.image }}"
6060 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 6464 run : " podman network create --subnet 10.123.0.0/24 netplan_network"
6565
6666 - name : " Run Molecule tests."
67- run : " pipenv run molecule test -s netplan"
67+ run : " uv run molecule test -s netplan"
6868 env :
6969 MOLECULE_IMAGE : " ${{ matrix.image }}"
7070 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ 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 : Install uv
13+ uses : astral-sh/setup-uv@v5
14+ with :
15+ enable-cache : true
16+ cache-dependency-glob : " uv.lock"
1517
1618 - name : " Set up Python 3."
1719 uses : " actions/setup-python@v5"
18- id : " setup-python"
1920 with :
20- python-version : " 3.12"
21- cache : " pipenv"
21+ python-version-file : " .python-version"
2222
23- - name : " Install dependencies via pipenv ."
24- run : " pipenv install --dev"
23+ - name : " Install dependencies via uv ."
24+ run : uv sync --all-extras -- dev
2525 shell : " bash"
2626 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 6464 /home/runner/.ansible/roles
6565
6666 - name : " Run Molecule tests."
67- run : " pipenv run molecule test -s redis"
67+ run : " uv run molecule test -s redis"
6868 env :
6969 MOLECULE_IMAGE : " ${{ matrix.image }}"
7070 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 6565 /home/runner/.ansible/roles
6666
6767 - name : " Run Molecule tests."
68- run : " pipenv run molecule test -s ssh_keys"
68+ run : " uv run molecule test -s ssh_keys"
6969 env :
7070 MOLECULE_IMAGE : " ${{ matrix.image }}"
7171 working-directory : " ansible_collections/hifis/toolkit"
Original file line number Diff line number Diff line change 5656 uses : " ./ansible_collections/hifis/toolkit/.github/workflows/prepare-action"
5757
5858 - name : " Run Molecule tests."
59- run : " pipenv run molecule test -s unattended_upgrades"
59+ run : " uv run molecule test -s unattended_upgrades"
6060 env :
6161 MOLECULE_IMAGE : " ${{ matrix.image }}"
6262 working-directory : " ansible_collections/hifis/toolkit"
You can’t perform that action at this time.
0 commit comments