Skip to content

Commit

Permalink
change pull policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Nov 22, 2024
1 parent e4a46cf commit 1c03275
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-notebooks-TEMPLATE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 1c03275

Please sign in to comment.