Make build functions more error-resilient #149

Closed
opened 2022-05-02 07:54:53 +02:00 by Jef Roosens · 2 comments

Currently the build_repo function fails the moment it encounters any sort of error with the Docker daemon. This seems to be causing my cron builds to just not work because they fail instantly. I've added some debug logs to hopefully see what's going on, but this functions should be improved to better handle temporary errors by the Docker daemon.

Currently the `build_repo` function fails the moment it encounters any sort of error with the Docker daemon. This seems to be causing my cron builds to just not work because they fail instantly. I've added some debug logs to hopefully see what's going on, but this functions should be improved to better handle temporary errors by the Docker daemon.
Jef Roosens added this to the 0.3.0 milestone 2022-05-02 07:54:53 +02:00
Jef Roosens added the
enhancement
label 2022-05-02 07:54:53 +02:00

This seems to be causing my cron builds to just not work because they fail instantly.

This was wrong actually. The real "bug" that caused it is #152, because my servers automatically clean their Docker daemon every 24 hours. This caused the builder image to be removed, causing the builds to fail.

> This seems to be causing my cron builds to just not work because they fail instantly. This was wrong actually. The real "bug" that caused it is #152, because my servers automatically clean their Docker daemon every 24 hours. This caused the builder image to be removed, causing the builds to fail.

Thanks to the refactor in #183 this issue might be fixed, as the refactor could also make the Docker code more resilient to errors.

Thanks to the refactor in #183 this issue might be fixed, as the refactor could also make the Docker code more resilient to errors.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#149
There is no content yet.