From 999d17c384d76eaab3326243a51029463d0e9996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 9 Sep 2024 08:45:00 +0300 Subject: [PATCH] rosdump: Use codemowers/git image --- rosdump/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rosdump/application.yml b/rosdump/application.yml index d5be50e..321cc72 100644 --- a/rosdump/application.yml +++ b/rosdump/application.yml @@ -21,7 +21,7 @@ data: ssh rosdump@$target '/export' | grep -v '^# serial number =' | grep -v '^#.* by RouterOS' > $target git add $target done - if [[ `git status --porcelain` ]]; then + if [[ `git status --porcelain` ]]; then echo "Attempting Git check in" git commit -m "$(git diff --cached --shortstat)" git push @@ -62,8 +62,8 @@ spec: restartPolicy: OnFailure containers: - name: rosdump - image: harbor.k-space.ee/k-space/microscript-base - imagePullPolicy: Always + image: codemowers/git + imagePullPolicy: IfNotPresent args: - bash - /config/script.sh