Marko Herkaliuk
09/07/2021, 9:18 AMimage=f"project_name/prefect:etl_tools-{sha}"
where sha is a git commit SHA. And I have a registration bash file that call prefect register --project etl -p "/flows/etl/**/**.py"
. Obvious that every commit to repo change SHA, change the image, and registration process bump version for all flows. There is a way to NOT bump all version and exclude image name from the idempotency key?Kevin Kho
flow.register()
, it takes in a version_group_id
which is a way to regularly update a flow. Docs here . Unfortunately, this is not available in the CLI, though I think we would accept a contribution if you’re interested? 😄
We are making changes btw to versioning in the future so that you specify your own versions when registering flowsMarko Herkaliuk
09/07/2021, 2:28 PMhow is the SHA populated there?by ENV in dockerfile,
# gets from docker build ci
ARG CI_COMMIT_SHA
ENV CI_COMMIT_SHA $CI_COMMIT_SHA
If you were usingthanks, i will read., it takes in aflow.register()
which is a way to regularly update a flow.version_group_id
We are making changes btw to versioning in the future so that you specify your own versions when registering flowsohh, sounds great