Skip to content

Commit 3b7537e

Browse files
committed
add image pull policy
* cause image pull to always happen so that the latest image of the current tag is used * add some test text to show this new policy working
1 parent 19bec9a commit 3b7537e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

prefect.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ deployments:
3232
container_create_kwargs:
3333
userns_mode: "keep-id:uid=402958,gid=402958" # workflow-chx:workflow-chx
3434
auto_remove: true
35+
image_pull_policy: Always
3536
name: chx-work-pool-docker

processing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def process_run(ref):
2525
full_uid = run.start["uid"]
2626
logger.info(f"{full_uid = }")
2727
logger.info("Do something with this uid")
28+
logger.info("Now do something else with this uid")
2829
# Do some additional processing or call otehr python processing functions
2930

3031

0 commit comments

Comments
 (0)