dyrector-io / dyrectorio

dyrector.io is a self-hosted continuous delivery & deployment platform with version management.
https://dyrectorio.com
Apache License 2.0
1.18k stars 91 forks source link

Refactor golang package builder to options #859

Open gerimate opened 9 months ago

gerimate commented 9 months ago

We would like to refactor the existing code to follow a more idiomatic builder pattern for our present Docker container builder (golang/pkg/builder/container) in go. This will involve creating a new package named golang/pkg/builder/decker and implementing unit and integration tests to ensure the functionality remains intact. This is a reusable library for spawning docker containers with an interface for runtime independent extensibility.

Proposed Changes

Additional Details

This refactor aims to make the codebase more idiomatic and maintainable. Other components of the stack shouldn't be modified. This is a fairly large task, but it doesn't involve the whole builder, so it's expected that new issues will be introduced regarding this refactor.

Definition of Done

Atharva1723 commented 9 months ago

Can I work on this issue ?

polaroi8d commented 9 months ago

@Atharva1723 for sure, I've assigned the issue to you.