From 601990ca0716d2331501cb634f8a1beda29024db Mon Sep 17 00:00:00 2001 From: "Ivan.Makeev" Date: Wed, 20 Nov 2024 12:33:29 +0400 Subject: [PATCH] fix python-dependencies image to rebuild if lib/python/requirements.txt changed (and remove redundant fromCacheVersion) Signed-off-by: Ivan.Makeev --- .werf/python-deps.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.werf/python-deps.yaml b/.werf/python-deps.yaml index 3df743c5..33bb2655 100644 --- a/.werf/python-deps.yaml +++ b/.werf/python-deps.yaml @@ -2,12 +2,15 @@ --- image: python-dependencies from: registry.deckhouse.io/base_images/alpine:3.16.3 -fromCacheVersion: 20240901190343 + git: - add: / to: / includePaths: - lib/python + stageDependencies: + setup: + - lib/python/requirements.txt shell: beforeInstall: - apk add --no-cache python3 py3-pip