-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(ci): Streamline CI setup to split bundle, layer, tarball generation #20396
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
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
7203205
perf(aws-serverless): Speed up Lambda layer build with tarball-based …
mydea b57849c
chore(ci): Do not build AWS lambda layer in build step
mydea b26d4fb
Revert "perf(aws-serverless): Speed up Lambda layer build with tarbal…
mydea df7849c
ensure extension is run for tarball as well
mydea 3500c6b
avoid build dev change
mydea d8898a4
better dependency graph
mydea 7ffc0b8
fix job
mydea 7ca058d
only run layer build when needed
mydea 943eb4b
fix path
mydea fc5fbff
use path directly
mydea cab77a9
ensure tarball depends on extension
mydea f1e1d97
build and cache extension
mydea 19230d7
avoid unnecessary build cache
mydea 120b10d
chore(ci): Streamline tarball packaging & e2e test matrix generation
mydea e21af88
use npx for test matrix thing
mydea 15bf4bf
avoid glob usage so no dependencies are needed
mydea 2d07da5
avoid ts dependency for test matrix
mydea b7953ea
use nx command via npx
mydea 644dd41
Revert "use nx command via npx"
mydea b48b2aa
run it in build step
mydea aaa69ac
fix linting
mydea 298e074
better path handling for artifacts
mydea 670bfe5
better nx cache
mydea 49638b4
cache per-branch
mydea 3782d42
reset cache before storing it???
mydea a6360e7
store cache in .nx and cache this??
mydea 1d0acab
no need to reset cache
mydea a2bcf03
fix types cache for nestjs
mydea d583772
small cleanup and improvements
mydea e00bfb9
fix linting
mydea a5ecde2
Merge branch 'fn/faster-lambda-layer-build' into fn/ci-test-structure
mydea 17a5abe
full split
mydea e2a4045
Merge branch 'develop' into fn/ci-test-structure
mydea b580d38
fix angular deps
mydea d714b3b
more unique cache key
mydea dff1b97
rename artifcact
mydea 97f5c7b
better nx cache restoration
mydea 63c48e5
fixes for ci and size limit
mydea cc08ca3
fix nx cache config
mydea e3f2a7e
rename build back
mydea 85288bd
swap order
mydea 640fa43
fix artifacts
mydea ca59f42
Merge branch 'develop' into fn/ci-test-structure
mydea 5e3ed42
small fixes
mydea 3cfdd1e
fixes
mydea c36e943
more fixes
mydea 4f8cd17
fix gatsby nx config
mydea d963894
remove condition for bundle build
mydea 334404e
fix lint
mydea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,5 +85,24 @@ | |
| "volta": { | ||
| "extends": "../../package.json" | ||
| }, | ||
| "nx": { | ||
| "targets": { | ||
| "build:types": { | ||
| "inputs": [ | ||
| "production", | ||
| "^production" | ||
| ], | ||
| "dependsOn": [ | ||
| "^build:types" | ||
| ], | ||
| "outputs": [ | ||
| "{projectRoot}/build/types", | ||
| "{projectRoot}/build/types-ts3.8", | ||
| "{projectRoot}/*.d.ts" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this was not properly cached before, but we generate types into the root directory here. |
||
| ], | ||
| "cache": true | ||
| } | ||
| } | ||
| }, | ||
| "sideEffects": false | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.