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

feat: release stac-browser and fixes #256

Merged
merged 51 commits into from
Dec 11, 2023
Merged

feat: release stac-browser and fixes #256

merged 51 commits into from
Dec 11, 2023

Conversation

anayeaye
Copy link
Collaborator

@anayeaye anayeaye commented Nov 28, 2023

What

  • New eoapi-cdk construct for deploying a radiant earth stac-browser
  • Updates to github actions versions to resolve node version warnings
  • Adds support for externally triggered deployment actions
  • Adds bootstrap-qualifier support for deploying to an aws account with a non-standard cdk toolkit
  • Fixes permissions boundary construct
  • Deployment requires an updated aws-cdk version

Note: I cancelled the latest run of pre-release step to avoid creating a new release tag--this shows up as a warning in the automated checks on this PR.

smohiudd and others added 10 commits November 22, 2023 11:09
Include app context config for bootstrap qualifier.
A managed policy is needed for permission boundary
Include github action to be used for production deployment with `veda-deploy`
- Upgrade to github actions to resolve outdated node version warnings
- Add cdk deploy output to file to resolve set-output warning
- Conventional PR linter if not not updated: we may need to remove or
replace if this [upgrade
PR](CondeNast/conventional-pull-request-action#19)
is not accepted. For now, there is a warning in the pr action about
forcing linter to run on an upgraded node version.

Parent issue NASA-IMPACT/veda-architecture#345
@anayeaye anayeaye marked this pull request as draft November 28, 2023 00:30
…nable deploying a stac browser for a stac-api with a custom subdomain
)

## What
### Added
- Add [eoapi-cdk construct
](https://github.com/developmentseed/eoapi-cdk/tree/main)for deploying a
[radiant earth
stac-browser](https://github.com/radiantearth/stac-browser)
- Supports stacks that are deployed with either a custom subdomain (i.e.
`<stage>-stac.delta-backend.com`) or cloudfront with custom routes (i.e.
`<cfdomain>.com/api/stac`).
- Add a construct to provision a new s3 website if an existing bucket is
not provided in configuration
### Changed
- aws-cdk-lib(s) version update
- routes construct updated to use the bucket from the new s3 website
construct as origin (instead of just an existing bucket).
- Docs updated
> **Note 1.**
There is a hack in the PR to work around a sequencing issue: neither the
https app id nor the stac api construct url are available at the time
that the eoapi-construct builds the stac-browser (i.e. this is not a
valid url string for the stac catalog:
`https://${Token[TOKEN.189]}.execute-api.uswest-2.amazonaws.com`). To
work around this we are able to infer what the STAC catalog url will be
based on configuration for the cloudfront or subdomain.

> **Note 2.**
based on work introduced in pr #222 (with updates for current
veda-backend)
### Source issue
NASA-IMPACT/veda-architecture#305
## How tested
- [x] deployed a test stack with cloudfront & browser
- [x] pre-deploy cdk diff looks good (runner builds stac-browser)
- [x] tested custom domain case (i.e. `<stage>-stac.delta-backend.com`)
@anayeaye anayeaye marked this pull request as ready for review December 6, 2023 16:35
@anayeaye anayeaye changed the title feat: incremental release [wip] feat: release stac-browser and fixes Dec 6, 2023
@anayeaye anayeaye merged commit 0ce5c2e into main Dec 11, 2023
7 of 8 checks passed
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