Skip to content

Allow job_run to trigger on every deployment #6314

Description

@aborsato

I am planning to use job_run resource to trigger a job that complements the deployment - crate/recreate tables, views, etc. This needs to run every deployment, not only once as the current semantics.

My ask is to have an option I can set to change the behavior to always run. Something like:

resources:
  job_runs:
    original_run:
      job_id: ${resources.jobs.original.id}
      job_parameters:
        catalog: main
      run_once: false # <--- HERE

This will allow us to define post-deployment work that can do more than just seeding data - schema evolution, data migration, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions