Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend: allow configuring S3_REGION #1357

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Jan 13, 2025

See: getodk/central#870

What has been done to verify that this works as intended?

A new, very simple e2e test has been added, and it's run multiple times with different config.

Why is this the best possible solution? Were any other approaches considered?

It's simple, and there are no obvious alternatives.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Allows users to configure regions. Should not have impact if region is not specified.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

Yes: getodk/docs#1912

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@alxndrsn alxndrsn marked this pull request as draft January 13, 2025 09:03

// given
// randomise attDir to ensure re-runs do not use the same generated files
await setup(0, { bigFiles: 1, bigFileSizeMb: 0.01, attDir: tmp.dirSync().name });
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename bigFiles to randomFiles?

@alxndrsn alxndrsn marked this pull request as ready for review January 13, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant