Skip to content

Improve git init integrity by deleting existing dirs #15

@lkrzyzanek

Description

@lkrzyzanek

It may happen (OOM) that init container is killed but data are not consistent. It's not enough just to check if the directory is not empty. It's needed to do clean git clone.

In that case all directories should be deleted and git clone performed from scratch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions