-
Notifications
You must be signed in to change notification settings - Fork 21
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
CMR-10282: Migrating from serverless framework to CDK #388
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #388 +/- ##
==========================================
+ Coverage 88.42% 88.57% +0.15%
==========================================
Files 24 24
Lines 1218 1217 -1
Branches 269 258 -11
==========================================
+ Hits 1077 1078 +1
+ Misses 141 139 -2 ☔ View full report in Codecov by Sentry. |
docker build -t $dockerTag . | ||
|
||
# Convenience function to invoke `docker run` with appropriate env vars instead of baking them into image | ||
dockerRun() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently deployments are done via bamboo-specs
on CMR stac will need to update that repo to put these new variables or otherwise remove cmr-stac
from the bamboo specs deployment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated bamboo specs so different env deployments are decoupled that way as this makes it through envs we can just push an update to the bamboo build plan
Needing to fix a content-encoding issue where passing the |
"watch": "onchange 'src/**' -- npm run run-synth-dev", | ||
"start:api": "sam local start-api -t ./cdk/cmr-stac/cdk.out/cmr-stac-dev.template.json --warm-containers LAZY --port 3000 --docker-network host", | ||
"prestart": "npm run run-synth-dev ", | ||
"start": "node start.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command doesn't work for me.
➜ npm start
> [email protected] prestart
> npm run run-synth-dev
> [email protected] run-synth-dev
> cd cdk/cmr-stac-dev && npm run cdk synth -- --quiet
> [email protected] cdk
> cdk synth --quiet
sh: cdk: command not found
The preinstall script runs on cdk/cmr-stac
, not cdk/cmr-stac-dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fixed now
87b2887
to
05f62e2
Compare
CMR-10282: Fix install up gh actions CMR-10282: Fix tests and prettier CMR-10282: Fix prettier CMR-10282: Move ajv-formats to dev deps; use linter consistently CMR-10282: Fix encoding issue from compression; more consistent env variables CMR-10282: Update dep remove comment CMR-10282: PR comments CMR-10282: Make these const values since they don't need to be updated for dev stack CMR-10282: Flip back the suffix CMR-10282: Remove log suffix from docs bucket CMR-10282: Removing names CMR-10282: Add bucket policy to s3 CMR-10282: Fix spacing; run prettier CMR-10282: Migrating from serverless framework to CDK CMR-10282: stac is at least running CMR-10282: Local env and compiled prod cdk working CMR-10282: Working deployment CMR-10282: Obfuscate destination arn, add bucket deployment for the documentation upload CMR-10282: Remove serverless its deploying on top of the serverless deployment successfully EDSC-10282: Update the names of the path to try to get it working in SIT CMR-10282: Cleaning up CMR-10282: Working cleaning up more serverless things CMR-10282: Fixing non-null linter warnings by ignoring cdk files CMR-10282: Fix the tsconfig issues and get tests running CMR-10282: More cleanup CMR-10282: Remove unused env var remove expresswrapper.js CMR-10282: Cleaning up more CMR-10282: use cdk lib CMR-10282: Remove debugging lines CMR-10282: Simplify dev stack
311a136
to
f8e9053
Compare
Overview
What is the feature?
Migrate away from
serverless
framework to instead usingaws-cdk
this also bumps node to node 22What is the Solution?
Replaces
serverless
withaws-cdk
What areas of the application does this impact?
Infrastructure of the application
Testing
Reproduction steps
Attachments
Please include relevant screenshots or files that would be helpful in reviewing and verifying this change.
Checklist