-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Google Cloud Run is the new Cloud Functions (#1483)
* cloud runnin Signed-off-by: Joe Elliott <[email protected]> * changelog Signed-off-by: Joe Elliott <[email protected]> * e2e cleanup Signed-off-by: Joe Elliott <[email protected]> * Improved serverless readme Signed-off-by: Joe Elliott <[email protected]> * Updated docs Signed-off-by: Joe Elliott <[email protected]> * fixed timestamps Signed-off-by: Joe Elliott <[email protected]> * Lambda and cloud run at 1.17 Signed-off-by: Joe Elliott <[email protected]>
- Loading branch information
1 parent
da138b1
commit b59263c
Showing
22 changed files
with
488 additions
and
636 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 |
---|---|---|
|
@@ -69,9 +69,6 @@ jobs: | |
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Add buildpack commands for serverless testing | ||
uses: buildpacks/github-actions/[email protected] | ||
|
||
- name: Test | ||
run: make test-e2e-serverless | ||
|
||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
# | ||
# docker run -p 8080:8080 tempo-serverless | ||
# | ||
# to exercise the function | ||
# curl http://localhost:8080/?start=1000&end=1001&... | ||
# | ||
|
||
# | ||
# build the serverless container image | ||
# | ||
# todo: FROM scratch saves ~5MB which could be meaningful in a serverless setting, but using scratch gave strange errors on query. | ||
FROM alpine:3.15 as certs | ||
RUN apk --update add ca-certificates | ||
COPY ./main /main | ||
ENTRYPOINT ["/main"] |
Oops, something went wrong.