Closed Bug 1745292 Opened 4 years ago Closed 4 years ago

Allow using moto server as Lando's S3 bucket

Categories

(Conduit :: Lando, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

References

(Blocks 1 open bug)

Details

(Keywords: conduit-triaged)

Right now when developing Lando a user must create a real S3 bucket and use real AWS credentials to upload artifacts to the bucket. It's quite simple to set up a moto server (there is even an official Docker image we can use!) for use in some basic testing. This will require a few changes in mozilla-conduit/lando-api and a few changes in mozilla-conduit/suite.

Note that moto stores all it's data in-memory, so it's not suitable for some long-lived incantation of suite. It works well enough for simple tests and landings though, so it's worth having as an option for running a quick test.

Out of scope for this bug is using moto to mock s3/AWS in our unit tests, which moto supports quite well. For now we'll focus on setting up the mock server for use in suite based testing.

Keywords: conduit-triaged
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.