Vivekanand Nagarajan
10/29/2024, 8:59 PMBianca Hoch
10/30/2024, 7:17 PM.from_source()
. If you make changes to the flow code in that repository, it should be reflected in the future runs of that flow.Bianca Hoch
10/30/2024, 7:19 PMVivekanand Nagarajan
10/30/2024, 8:42 PMBianca Hoch
10/30/2024, 10:01 PMI was wondering if there is a way I am able to deploy the flow changes as part of a pull request rather than merging the pull request.Hmmm, I'll need to get back to you about this one. I know we have a few CI/CD examples here that use GitHub actions to automatically deploy your prefect flows after pushing changes to a branch.
Bianca Hoch
10/30/2024, 10:13 PMWhat is the point of specifying the docker image in the worker-pool if the changes only from the GithubRepo are incorporated as part of the pull requestIf you're referring to the docker image field in the work pool base template, that's to specify the default image to use for flows submitted to a containerized work pool (ECS, ACI, Cloud Run, etc.). Let's say you just want to pull code from GitHub using
.from_source
, and you don't specify a particular image for a flow. Whatever image you have set as the default for your work pool will be used whenever the container for the flow run is spun up in your execution environment.Vivekanand Nagarajan
10/30/2024, 11:01 PMVivekanand Nagarajan
10/30/2024, 11:02 PM.from_source()
. github repo overrides the image specified in the worker-pool