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(lambda): allow running a build file #30196

Merged
merged 42 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ad1bb87
start work
bergjaak May 13, 2024
0b96fbb
feat(Lambda): allow running a build file
bergjaak May 14, 2024
52d3ce4
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 14, 2024
4ddf6e1
clean up
bergjaak May 15, 2024
94b6685
clean up
bergjaak May 15, 2024
5412aaf
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 15, 2024
9869ea9
allow user to specify arguments that are passed to spawnSync
bergjaak May 15, 2024
c3212e8
allow bundling options
bergjaak May 15, 2024
a162e59
lil comment
bergjaak May 15, 2024
63a1959
nice testing
bergjaak May 15, 2024
12134f9
nice testsss
bergjaak May 15, 2024
46da5e1
make error message more helpful
bergjaak May 15, 2024
7eef2ee
integ test
bergjaak May 15, 2024
573756f
integ test
bergjaak May 15, 2024
2e21017
integ test
bergjaak May 15, 2024
3e89cf1
reeead me
bergjaak May 15, 2024
df987a9
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 15, 2024
90fa9a4
integ test is working
bergjaak May 15, 2024
a0610f6
integ test is working
bergjaak May 15, 2024
731c363
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 16, 2024
83b4238
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 16, 2024
f83234a
try the integ test without deleting any files
bergjaak May 16, 2024
dc8f61e
use bash for integ test... plz work"
bergjaak May 16, 2024
7cccfd8
stuff
bergjaak May 16, 2024
fa4bde2
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 16, 2024
916f92d
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 28, 2024
c0c324a
stuff
bergjaak May 28, 2024
870090b
don't change things that shouldn't change
bergjaak May 28, 2024
c193beb
don't change things that shouldn't change
bergjaak May 28, 2024
1e59d4a
fix readme
bergjaak May 28, 2024
a66abc1
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 30, 2024
58d2c86
add documentation
bergjaak May 30, 2024
6e4b2cc
add documentation
bergjaak May 30, 2024
70469ea
add documentation
bergjaak May 30, 2024
e5de5ff
add documentation
bergjaak May 30, 2024
a6bcad2
make rosetta happy please
bergjaak May 30, 2024
26b4b15
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 30, 2024
7200961
changes
bergjaak May 30, 2024
54fe929
changes
bergjaak May 30, 2024
63d0788
changes
bergjaak May 30, 2024
2732c24
Merge branch 'main' of github.com:aws/aws-cdk into bergjaak/18470
bergjaak May 30, 2024
86c345b
changes
bergjaak May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -euo pipefail

directoryOfThisScript=$(cd $(dirname $0) && pwd)
echo "directoryOfThisScript: $directoryOfThisScript"
cp "$directoryOfThisScript/custom_command_handler.js" "$directoryOfThisScript/../custom_command_output/mylambdafile.js"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export async function handler() {
return 'NICE';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Code gets placed in here from the integ.specifycode.ts test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading