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

Fixed issue with shared s3 buckets #221

Merged
merged 1 commit into from
May 10, 2024

Conversation

tkmcmaster
Copy link
Contributor

  • PPaasTestStatus.getAllStatus on the root s3 folder were finding tests from the shared subfolders on shared s3 buckets. It was then erroring when trying to load the status for those files
  • Added export constant for the shared folder which can be overridden by SHARED_ENVIRONMENT_PREFIX env
  • Added code to the getAllStatus function to ignore s3 keys that start with SHARED_ENVIRONMENT_PREFIX when our KEYSPACE_PREFIX is an empty string

image

- PPaasTestStatus.getAllStatus on the root s3 folder were finding tests from the shared subfolders on shared s3 buckets. It was then erroring when trying to load the status for those files
- Added export constant for the shared folder which can be overridden by SHARED_ENVIRONMENT_PREFIX env
- Added code to the getAllStatus function to ignore s3 keys that start with SHARED_ENVIRONMENT_PREFIX when our KEYSPACE_PREFIX is an empty string
@tkmcmaster tkmcmaster requested a review from a team May 9, 2024 19:47
@tkmcmaster tkmcmaster self-assigned this May 9, 2024
@tkmcmaster tkmcmaster merged commit 0221bff into master May 10, 2024
2 checks passed
@tkmcmaster tkmcmaster deleted the fix-historical-search-shared-s3 branch May 10, 2024 14:06
tkmcmaster added a commit that referenced this pull request May 10, 2024
- PPaasTestStatus.getAllStatus on the root s3 folder were finding tests from the shared subfolders on shared s3 buckets. It was then erroring when trying to load the status for those files
- Added export constant for the shared folder which can be overridden by SHARED_ENVIRONMENT_PREFIX env
- Added code to the getAllStatus function to ignore s3 keys that start with SHARED_ENVIRONMENT_PREFIX when our KEYSPACE_PREFIX is an empty string
tkmcmaster added a commit that referenced this pull request May 29, 2024
* Fixed issue with shared s3 buckets (#221)

- PPaasTestStatus.getAllStatus on the root s3 folder were finding tests from the shared subfolders on shared s3 buckets. It was then erroring when trying to load the status for those files
- Added export constant for the shared folder which can be overridden by SHARED_ENVIRONMENT_PREFIX env
- Added code to the getAllStatus function to ignore s3 keys that start with SHARED_ENVIRONMENT_PREFIX when our KEYSPACE_PREFIX is an empty string

* Update Dependencies 2024-05-29 (#223)

* Updated version and dependencies

- Updated Storybook and Axios versions

* Simplified _document for styled-components

* Added code to upload pewpew for the agent tests if it's not already there.

* Updated PR flows to add Node v22 testing

* Removed reference to IMDSv1 command since we're not using it
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.

None yet

2 participants