From 1ca12e7f7aad16ef52597a617341cca4a86ec83e Mon Sep 17 00:00:00 2001 From: Tim Grelka Date: Sun, 15 Feb 2026 19:51:31 +0100 Subject: [PATCH 1/4] fix: update config key for input path --- roles/install-sources/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/install-sources/tasks/main.yml b/roles/install-sources/tasks/main.yml index 7aac047..f855c87 100644 --- a/roles/install-sources/tasks/main.yml +++ b/roles/install-sources/tasks/main.yml @@ -30,7 +30,7 @@ dest: "{{ destination_path }}/50ohm/config/config.json" content: > { - "content_path": "../50ohm-contents-dl" + "input": "../50ohm-contents-dl" } owner: "{{ fiftyohm_user }}" group: "{{ fiftyohm_group }}" From 91d044d3c0fb683674620cded4ad915de12103c8 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Mon, 16 Feb 2026 16:39:58 +0100 Subject: [PATCH 2/4] fix: add output directory to configuration and run `uv pip sync` every time --- roles/build-50ohm/tasks/prepare.yml | 3 +-- roles/install-sources/tasks/main.yml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/build-50ohm/tasks/prepare.yml b/roles/build-50ohm/tasks/prepare.yml index 9fa0baf..153c58b 100644 --- a/roles/build-50ohm/tasks/prepare.yml +++ b/roles/build-50ohm/tasks/prepare.yml @@ -5,9 +5,8 @@ creates: "{{ destination_path }}/50ohm/.venv" become_user: "{{ fiftyohm_user }}" -- name: Install dependencies with uv pip in {{ destination_path }}/50ohm +- name: Install or update dependencies with uv pip in {{ destination_path }}/50ohm ansible.builtin.command: uv pip sync requirements.txt args: chdir: "{{ destination_path }}/50ohm" - creates: "{{ destination_path }}/50ohm/.venv/lib/python3.*/site-packages/uv" become_user: "{{ fiftyohm_user }}" diff --git a/roles/install-sources/tasks/main.yml b/roles/install-sources/tasks/main.yml index f855c87..f709918 100644 --- a/roles/install-sources/tasks/main.yml +++ b/roles/install-sources/tasks/main.yml @@ -30,7 +30,8 @@ dest: "{{ destination_path }}/50ohm/config/config.json" content: > { - "input": "../50ohm-contents-dl" + "input": "../50ohm-contents-dl", + "output": "build" } owner: "{{ fiftyohm_user }}" group: "{{ fiftyohm_group }}" From b00013b7b853cc97c0dbee0abecb9afa1d040c26 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Mon, 16 Feb 2026 17:00:13 +0100 Subject: [PATCH 3/4] fix: Use `uv sync` instead to update all project requirements --- roles/build-50ohm/tasks/prepare.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/build-50ohm/tasks/prepare.yml b/roles/build-50ohm/tasks/prepare.yml index 153c58b..02d8434 100644 --- a/roles/build-50ohm/tasks/prepare.yml +++ b/roles/build-50ohm/tasks/prepare.yml @@ -5,8 +5,8 @@ creates: "{{ destination_path }}/50ohm/.venv" become_user: "{{ fiftyohm_user }}" -- name: Install or update dependencies with uv pip in {{ destination_path }}/50ohm - ansible.builtin.command: uv pip sync requirements.txt +- name: Install or update uv project in {{ destination_path }}/50ohm + ansible.builtin.command: uv sync args: chdir: "{{ destination_path }}/50ohm" become_user: "{{ fiftyohm_user }}" From aa612346988f9efdf59a6fe70918b8c92198483e Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Mon, 16 Feb 2026 17:02:56 +0100 Subject: [PATCH 4/4] fix: Run `uv sync` in the timer job as well --- roles/refresh-50ohm/files/refresh-50ohm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/refresh-50ohm/files/refresh-50ohm.sh b/roles/refresh-50ohm/files/refresh-50ohm.sh index 37e5c1e..fe6450d 100644 --- a/roles/refresh-50ohm/files/refresh-50ohm.sh +++ b/roles/refresh-50ohm/files/refresh-50ohm.sh @@ -4,4 +4,5 @@ set -euo pipefail git -C 50ohm pull git -C 50ohm-contents-dl pull cd 50ohm +uv sync uv run python3 ./build.py