Skip to content

Commit 9ff937b

Browse files
Python lambda template (#348)
1 parent 806a3f3 commit 9ff937b

File tree

15 files changed

+1057
-3
lines changed

15 files changed

+1057
-3
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
# NOTE: order here matters!
2626
files: |
2727
python-hello-world.zip
28+
python-hello-world-lambda.zip
2829
python-hello-world-lambda-cdk.zip
2930
python-tour-of-restate.zip
3031
python-tour-of-orchestration.zip
@@ -111,10 +112,17 @@ jobs:
111112
with:
112113
source-directory: typescript/templates/cloudflare-worker
113114
destination-repo: cloudflare-workers-template
114-
copy-lambda-template:
115-
name: Copy lambda template to lambda-template repo
115+
copy-ts-lambda-template:
116+
name: Copy Typescript Lambda template to lambda-typescript-template repo
116117
uses: ./.github/workflows/copy-to-repo.yml
117118
secrets: inherit
118119
with:
119120
source-directory: typescript/templates/lambda
120-
destination-repo: lambda-typescript-template
121+
destination-repo: lambda-typescript-template
122+
copy-py-lambda-template:
123+
name: Copy Python Lambda template to lambda-python-template repo
124+
uses: ./.github/workflows/copy-to-repo.yml
125+
secrets: inherit
126+
with:
127+
source-directory: python/templates/lambda
128+
destination-repo: lambda-python-template

.tools/prepare_release_zip.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ create_release_zip python/end-to-end-applications/rag-ingestion python-rag-inges
2323
create_release_zip python/integrations/deployment-lambda-cdk python-hello-world-lambda-cdk
2424
create_release_zip python/patterns-use-cases python-patterns-use-cases
2525
create_release_zip python/templates/python python-hello-world
26+
create_release_zip python/templates/lambda python-hello-world-lambda
2627
create_release_zip python/tutorials/tour-of-restate-python python-tour-of-restate
2728
create_release_zip python/tutorials/tour-of-orchestration-python python-tour-of-orchestration
2829
create_release_zip python/tutorials/tour-of-workflows-python python-tour-of-workflows

.tools/update_python_examples.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function search_and_replace_version() {
1818
}
1919

2020
search_and_replace_version $PROJECT_ROOT/python/templates/python
21+
search_and_replace_version $PROJECT_ROOT/python/templates/lambda
2122
search_and_replace_version $PROJECT_ROOT/python/basics
2223
search_and_replace_version $PROJECT_ROOT/python/patterns-use-cases
2324
search_and_replace_version $PROJECT_ROOT/python/tutorials/tour-of-restate-python

0 commit comments

Comments
 (0)