From dc0768ceac2c79ffe79f69038b44749740564231 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 11 May 2026 17:33:41 +0200 Subject: [PATCH] fix(web-svc-simpleicons): nest local build tag under simpleicons to skip mirror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop standalone `application:` entry from meta/services.yml — discovery iterated it and tried to mirror the locally-built `simpleicons-server` image upstream, which fails (image only exists after the role builds). Move the tag/version into `simpleicons.local_image` / `local_version`; nested keys aren't seen by `iter_role_images`, so mirror discovery now only picks up the upstream `node:latest` base. Co-Authored-By: Claude Opus 4.7 --- roles/web-svc-simpleicons/meta/services.yml | 7 ++----- roles/web-svc-simpleicons/vars/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/roles/web-svc-simpleicons/meta/services.yml b/roles/web-svc-simpleicons/meta/services.yml index fbb20d952a..2510b99412 100644 --- a/roles/web-svc-simpleicons/meta/services.yml +++ b/roles/web-svc-simpleicons/meta/services.yml @@ -31,6 +31,8 @@ simpleicons: shared: true image: node version: latest + local_image: simpleicons-server + local_version: latest min_storage: 1GB cpus: 0.5 mem_reservation: 126m @@ -40,11 +42,6 @@ simpleicons: local: http: 8044 lifecycle: beta -# nocheck: dynamic-flag -# nocheck: playwright-service-flag — local build tag for the application container -application: - image: simpleicons-server - version: latest prometheus: enabled: "{{ 'web-app-prometheus' in group_names }}" shared: "{{ 'web-app-prometheus' in group_names }}" diff --git a/roles/web-svc-simpleicons/vars/main.yml b/roles/web-svc-simpleicons/vars/main.yml index 1b4424c0a9..1a77a99686 100644 --- a/roles/web-svc-simpleicons/vars/main.yml +++ b/roles/web-svc-simpleicons/vars/main.yml @@ -7,5 +7,5 @@ SIMPLEICONS_HOST_SERVER_FILE: "{{ [ lookup('container', application_id, 'directo SIMPLEICONS_HOST_PACKAGE_FILE: "{{ [ lookup('container', application_id, 'directories.config'), 'package.json' ] | path_join }}" SIMPLEICONS_IMAGE: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.image') }}" SIMPLEICONS_VERSION: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.version') }}" -SIMPLEICONS_LOCAL_IMAGE: "{{ lookup('config', application_id, 'services.application.image') }}" -SIMPLEICONS_LOCAL_VERSION: "{{ lookup('config', application_id, 'services.application.version') }}" +SIMPLEICONS_LOCAL_IMAGE: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.local_image') }}" +SIMPLEICONS_LOCAL_VERSION: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.local_version') }}"