Skip to content

Add tests for src/gardenlinux/s3 #122

Closed

Description

@yeoldegrove

What would you like to be added:

A similar test setup as for the OCI/registry classes would be nice to have in the S3 classes as well.
https://garagehq.deuxfleurs.fr/documentation/quick-start/ or deploying a small Minio instance https://min.io/docs/minio/container/index.html (or maybe even mocking minio calls https://pypi.org/project/pytest-minio-mock/) could be possible options.

Why is this needed:

Testing out new developments or bugs in the src/gardenlinux/s3 code before deploying them.

Activity

  1. added this to the 2025-06 milestone on Jun 16, 2025
  2. modified the milestones: 2025-06, 2025-07 on Jul 23, 2025
  3. ByteOtter commented on Jul 30, 2025

    @ByteOtter
    Contributor

    Turns out that the minio library you mentioned does not support boto3 and from what I could gather doesnt work with the Bucket class implementation we have.
    I found another module that would most likely work: https://github.com/getmoto/moto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions