-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[serverless] Improve integration tests UX, add ability to skip test (#…
- Loading branch information
Showing
31 changed files
with
252 additions
and
308 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
echo "Building C# Lambda functions" | ||
cd src/csharp-tests | ||
dotnet restore --verbosity quiet | ||
set +e #set this so we don't exit if the tools are already installed | ||
dotnet tool install -g Amazon.Lambda.Tools --framework netcoreapp3.1 --verbosity quiet | ||
set -e | ||
dotnet lambda package --configuration Release --framework netcoreapp3.1 --verbosity quiet --output-package bin/Release/netcoreapp3.1/handler.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
echo "Building Go functions" | ||
go_test_dirs=("metric" "log" "timeout" "trace") | ||
cd src | ||
for go_dir in "${go_test_dirs[@]}"; do | ||
env GOOS=linux go build -ldflags="-s -w" -o bin/"$go_dir" go-tests/"$go_dir"/main.go | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
echo "Building Java Lambda Functions" | ||
java_test_dirs=("metric" "trace" "log" "timeout" "error") | ||
cd src | ||
for java_dir in "${java_test_dirs[@]}"; do | ||
mvn package -q -f java-tests/"${java_dir}"/pom.xml | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
echo "Building recorder extension" | ||
cd recorder-extension | ||
GOOS=linux GOARCH=amd64 go build -o extensions/recorder-extension main.go | ||
zip -rq ext.zip extensions/* -x ".*" -x "__MACOSX" -x "extensions/.*" |
Oops, something went wrong.