From 1c032759052394546b33a2a51f0558850c64dd6c Mon Sep 17 00:00:00 2001 From: Jiri Danek Date: Fri, 22 Nov 2024 19:45:50 +0100 Subject: [PATCH] change pull policy --- .github/workflows/build-notebooks-TEMPLATE.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-notebooks-TEMPLATE.yaml b/.github/workflows/build-notebooks-TEMPLATE.yaml index 2c988a355..367c2933b 100644 --- a/.github/workflows/build-notebooks-TEMPLATE.yaml +++ b/.github/workflows/build-notebooks-TEMPLATE.yaml @@ -191,6 +191,14 @@ jobs: id: have-tests run: "ci/cached-builds/has_tests.py --target ${{ inputs.target }}" + - name: "Change pull policy to IfNotPresent" + run: | + set -Eeuxo pipefail + + find . -name "statefulset.yaml" -type f -exec \ + sed -i'' 's/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g' {} \; + git diff + # https://cri-o.io/ - name: Install cri-o if: ${{ steps.have-tests.outputs.tests == 'true' }}