Thomas Pedersen
10/20/2022, 7:27 AMAnna Geller
10/20/2022, 12:55 PMa flow could potentially run on an older version if the images haven't been updated on the agentthe agent doesn't need to know about the image -- you would typically update the image tag from your CI/CD so regarding #2 it shouldn't necessarily require you to create a new block, but update the image tag on the existing block; you could also leverage versioning on deployments + --infra-overrides to do that easily:
prefect deployment build flows/healthcheck.py:healthcheck --name xxx -q default -sb s3/default -ib docker-container/default --override image=new_image_tag
Thomas Pedersen
10/21/2022, 8:54 AMAnna Geller
10/21/2022, 11:28 AMThomas Pedersen
10/24/2022, 2:20 PMrun_config = DockerRun(
host_config={
"binds": {
f"/etc/preheat/{branch}": {
"bind": "/etc/preheat",
"mode": "ro",
},
f"/var/cache/preheat/{branch}": {
"bind": "/var/cache/preheat",
"mode": "rw",
},
},
"mem_limit": _RAM_LIMIT_DOCKER,
"memswap_limit": _RAM_LIMIT_DOCKER,
},
In Prefect 2, this no longer seems possible?Anna Geller
10/24/2022, 2:41 PMThomas Pedersen
10/25/2022, 5:08 AM