Feature/add action for veda deploy#47
Merged
abarciauskas-bgse merged 42 commits intodevelopfrom May 21, 2025
Merged
Conversation
|
📚 Documentation preview will be available at: https://developmentseed.github.io/titiler-cmr/pr-previews/pr-47/ Status: ✅ Preview is ready! |
| @cached( # type: ignore | ||
| TTLCache(maxsize=100, ttl=60), | ||
| key=lambda auth, daac: hashkey(auth.tokens[0]["access_token"], daac), | ||
| key=lambda auth, daac: hashkey(auth.token["access_token"], daac), |
Contributor
Author
There was a problem hiding this comment.
A fix to update the API following earthaccess-dev/earthaccess#782, however we are using iam, as an S3_AUTH_STRATEGY, not edl, so when deployed without the iam as the TITILER_CMR_S3_AUTH_STRATEGY the API will break because no earthaccess username and password is configured to get a token.
1 task
hrodmn
approved these changes
May 21, 2025
Contributor
There was a problem hiding this comment.
Maybe leave a note in the README to check out the AWS deployment in veda-deploy
Co-authored-by: Henry Rodman <henry.rodman@gmail.com>
…opmentseed/titiler-cmr into feature/add-action-for-veda-deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares titiler-cmr for deployment via veda-deploy
I tested this via another branch (test-deploy) which includes a deploy action similar to the deploy jobs in veda-deploy's deploy.yml. Using this branch the API was successfully deployed via the github action to https://qk8nnctpcc.execute-api.us-west-2.amazonaws.com/. The API endpoint was verified to be working for this one for the MiCASA dataset.