Skip to content

Commit

Permalink
adiciona state_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellcassius committed Sep 12, 2024
1 parent 698f370 commit 641a7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/janitor/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from prefect.storage import GCS
from prefect.utilities.edges import unmapped
from prefeitura_rio.pipelines_utils.custom import Flow
from prefeitura_rio.pipelines_utils.state_handlers import ( # handler_inject_bd_credentials,
from prefeitura_rio.pipelines_utils.state_handlers import ( handler_inject_bd_credentials,
handler_initialize_sentry,
)

Expand Down Expand Up @@ -34,7 +34,7 @@
image=emd_constants.DOCKER_IMAGE.value,
labels=[emd_constants.RJ_SMTR_DEV_AGENT_LABEL.value],
)
janitor_flow.state_handlers = [handler_initialize_sentry]
janitor_flow.state_handlers = [handler_initialize_sentry, handler_inject_bd_credentials]
janitor_flow.schedule = every_5_minutes

# # trigger cd
Expand Down

0 comments on commit 641a7b8

Please sign in to comment.