Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cria flow para corrigir o valor do redis do gtfs #285

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3b1f23d
cria flow para corrigir o valor do redis do gtfs
vtr363 Oct 24, 2024
ffde799
corrige parametro
vtr363 Oct 24, 2024
8ecbce8
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Oct 24, 2024
97d7807
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Oct 29, 2024
408e9e4
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Dec 19, 2024
3d7f94e
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Dec 20, 2024
3805a27
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Dec 20, 2024
41477a9
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Dec 27, 2024
1ce779d
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Dec 30, 2024
af9ab28
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 2, 2025
c1cf8ba
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 2, 2025
6052e6c
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 3, 2025
41d4dd4
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 6, 2025
9d6f43f
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 6, 2025
e518688
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 6, 2025
524c5f8
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 6, 2025
6f92b40
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 13, 2025
c12bd9a
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 13, 2025
66c0896
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 13, 2025
412d219
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 16, 2025
7b2f252
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 16, 2025
4736b80
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 16, 2025
c62c58d
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 21, 2025
fc3c98f
Merge branch 'main' into staging/atualiza-redis
mergify[bot] Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pipelines/migration/br_rj_riodejaneiro_gtfs/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,21 @@
]
gtfs_captura_nova.schedule = every_5_minutes

with Flow("SMTR: GTFS - atualiza redis") as gtfs_atualiza_redis:
data_index_param = Parameter("data_index", default=None)
update_last_captured_os(
dataset_id=constants.GTFS_DATASET_ID.value,
data_index=data_index_param,
)

gtfs_atualiza_redis.storage = GCS(constants.GCS_FLOWS_BUCKET.value)
gtfs_atualiza_redis.run_config = KubernetesRun(
image=constants.DOCKER_IMAGE.value, labels=[constants.RJ_SMTR_AGENT_LABEL.value]
)
gtfs_atualiza_redis.state_handlers = [
handler_inject_bd_credentials,
handler_initialize_sentry,
]
# with Flow(
# "SMTR: GTFS - Captura/Tratamento",
# # code_owners=["rodrigo", "carolinagomes"],
Expand Down
Loading