QTai
11/15/2024, 1:56 PMMarvin
11/15/2024, 1:56 PMQTai
11/15/2024, 1:58 PMMarvin
11/15/2024, 1:58 PMprefect work-pool update
command to update the work pool's base job template from a JSON file within your CI/CD pipeline. For example, the command to update a work pool's base template with a file named base-job-template.json
would look like this:
prefect work-pool update --file base-job-template.json
3. Base Job Template Structure: A base job template consists of a job_configuration
section and a variables
section. The job_configuration
section can use placeholders (indicated by double curly braces like {{ variable_name }}
) which are interpolated with values from the variables
section.
You can find more detailed information and examples of managing work pools and base job templates in the Prefect documentation here: Work Pools Prefect Documentation.
Learning the ropes of Prefect can be a bit like navigating the stars—or just setting your alarm correctly for the next morning—but once you've got it, it shines brilliantly!QTai
11/15/2024, 2:27 PMMarvin
11/15/2024, 2:27 PM