-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Programmatic Serverless #350
Open
seanspeaks
wants to merge
1
commit into
add-frigg-start-command-and-migrate-some-helpers
Choose a base branch
from
introduce-programmatic-serverless
base: add-frigg-start-command-and-migrate-some-helpers
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add Programmatic Serverless #350
seanspeaks
wants to merge
1
commit into
add-frigg-start-command-and-migrate-some-helpers
from
introduce-programmatic-serverless
Conversation
This file contains 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
…ction that does a lot of things for us. 1. Creates all of the default routers, integration, auth, user, entity 2. Creates the serverless.yml definition programmatically based on configured integrations 3. Adds a new router, queue, and queue worker for every integration by default 4. Adds a websocket handler just because we can? Largely for demos but useful in a lot of other contexts too. 5. Sets the stage for iterating TODO: [] Need to figure out if this works with a locally defined serverless.yml / whether we should support that [] Webpack was having a lot of issues due to it being referenced from a different scope/directory... really unclear how to resolve this, but probably critical due to build size [] Add some more override options to the serverless.yml definition based on the overall Frigg App definition provided [] Get the Frigg App definition handled at root instead of in the backend, so we can also run the frontend at the same time (if it exists) [] Tests, tests, and more tests needed [] This needs to be tested for build and deploy. Unclear if it does yet, though running sls offline usually indicates we're alright [] Check defaults and have different defaults for when someone wants KMS Key vs. env, when they want to use Secrets Manager, and probably a few others that are common/critical (like domain management and VPC stuff). [] More TODOs but those will become apparent when working through the tests and using the `frigg start` command [] add options to frigg-start? [] support for TS?
This was referenced Oct 17, 2024
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Oct 17, 2024
Open
Quality Gate failedFailed conditions |
seanspeaks
changed the title
Okay, this is the doozy. We are now adding a createInfrastructure function that does a lot of things for us. 1. Creates all of the default routers, integration, auth, user, entity 2. Creates the serverless.yml definition programmatically based on configured integrations 3. Adds a new router, queue, and queue worker for every integration by default 4. Adds a websocket handler just because we can? Largely for demos but useful in a lot of other contexts too. 5. Sets the stage for iterating
Add Programmatic Serverless
Oct 17, 2024
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.
Infrastructure Creation and Serverless Configuration
This update introduces a
createFriggInfrastructure
function that significantly enhances the application's infrastructure setup:TODO:
sls offline
.frigg start
command usage.frigg-start
command.