Closed peterdudfield closed 1 year ago
Now deployed on ECS, but get the following error /bin/sh: 1: [poetry,: not found
@simlmx would you be able to look at this?
ECS task: https://eu-west-1.console.aws.amazon.com/ecs/v2/task-definitions/database_clean_up/1/json?region=eu-west-1 cloudwatch: https://eu-west-1.console.aws.amazon.com/cloudwatch/home?region=eu-west-1#logsV2:log-groups/log-group/$252Faws$252Fecs$252Fdatabase_clean_up$252F/log-events/streaming$252Fdatabase_clean_up$252Fb7f8ac56ff794deebb1000711a0321dc
I think it might need a fix on https://github.com/openclimatefix/pv-site-production/blob/main/infrastructure/Dockerfile.database-cleanup
Maybe adding -date to default to 3 days before 0 I will make a PR for this
Fixed and it works in the Dev environment now (See #56 mainly and also #57 and #58 ).
Detailed Description
Move forecast data older than 3 days to s3
Context
Possible Implementation