Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 13 additions & 7 deletions .github/workflows/build_test_invoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ jobs:
- version: '3.13'
type: 'Invoke'
file: 'tests/integration/build_invoke/python/test_python_3_13.py'
- version: '3.14'
type: 'Test'
file: 'tests/integration/unit_test/test_unit_test_python3_14.py'
- version: '3.14'
type: 'Invoke'
file: 'tests/integration/build_invoke/python/test_python_3_14.py'
# - version: '3.14'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# - version: '3.14'
# - version: '3.14' - TODO: Re-enable the test once SAM-T support python 3.14

# type: 'Test'
# file: 'tests/integration/unit_test/test_unit_test_python3_14.py'
# - version: '3.14'
# type: 'Invoke'
# file: 'tests/integration/build_invoke/python/test_python_3_14.py'
env:
PYTHON_VERSION_INSTALL: ${{ matrix.version }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -369,12 +369,18 @@ jobs:
- version: '8'
type: 'Invoke'
file: 'tests/integration/build_invoke/dotnet/test_build_invoke_dotnet8.py'
- version: '10'
type: 'Test'
file: 'tests/integration/unit_test/test_unit_test_dotnet10.py'
# - version: '10'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# - version: '10'
# - version: '10' TODO: To re-enable when SAM CLI support dotNet 10

# type: 'Invoke'
# file: 'tests/integration/build_invoke/dotnet/test_build_invoke_dotnet10.py'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we not fully adding this? Do these test not work?

@bnusunny bnusunny Dec 16, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invoke test depends on sam cli. Without merging dotnet10 support into aws-sam-cli develop branch, this test will fail. We will enable it after sam cli adds dotnet10 support.

steps:
- uses: actions/checkout@v3
name: Checkout PR
- uses: ./.github/actions/aws-sam-cli-develop
name: Install develop version of AWS SAM CLI
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v5
name: Setup dotnet ${{ matrix.version }}
with:
dotnet-version: ${{ matrix.version }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN mv $GRAAL_FOLDERNAME /usr/lib/graalvm
RUN rm -rf $GRAAL_FOLDERNAME

# Maven
ENV MVN_VERSION 3.9.11
ENV MVN_VERSION 3.9.12
ENV MVN_FOLDERNAME apache-maven-${MVN_VERSION}
ENV MVN_FILENAME apache-maven-${MVN_VERSION}-bin.tar.gz
RUN curl -4 -L https://dlcdn.apache.org/maven/maven-3/${MVN_VERSION}/binaries/${MVN_FILENAME} | tar -xvz
Expand Down
17 changes: 8 additions & 9 deletions al2/graalvm/17/maven/{{cookiecutter.project_name}}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ RUN yum -y update \
zlib-devel glibc-static libcxx libcxx-devel llvm-toolset-7 zlib-static \
&& rm -rf /var/cache/yum

# Maven
ENV MVN_VERSION 3.9.12
ENV MVN_FOLDERNAME apache-maven-${MVN_VERSION}
ENV MVN_FILENAME apache-maven-${MVN_VERSION}-bin.tar.gz
RUN curl -4 -L https://dlcdn.apache.org/maven/maven-3/${MVN_VERSION}/binaries/${MVN_FILENAME} | tar -xvz
RUN mv $MVN_FOLDERNAME /usr/lib/maven
RUN rm -rf $MVN_FOLDERNAME

# Graal VM
ENV JAVA_VERSION java17
ENV GRAAL_VERSION 22.1.0
Expand All @@ -23,15 +31,6 @@ RUN curl -4 -L https://github.com/graalvm/graalvm-ce-builds/releases/download/vm
RUN mv $GRAAL_FOLDERNAME /usr/lib/graalvm
RUN rm -rf $GRAAL_FOLDERNAME


# Maven
ENV MVN_VERSION 3.9.11
ENV MVN_FOLDERNAME apache-maven-${MVN_VERSION}
ENV MVN_FILENAME apache-maven-${MVN_VERSION}-bin.tar.gz
RUN curl -4 -L https://dlcdn.apache.org/maven/maven-3/${MVN_VERSION}/binaries/${MVN_FILENAME} | tar -xvz
RUN mv $MVN_FOLDERNAME /usr/lib/maven
RUN rm -rf $MVN_FOLDERNAME

# AWS Lambda Builders
RUN cd /tmp \
&& wget https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz \
Expand Down
168 changes: 168 additions & 0 deletions dotnet10/cw-event/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@

# Created by https://www.gitignore.io/api/osx,linux,python,windows

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### OSX ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule.*

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk


# End of https://www.gitignore.io/api/osx,linux,python,windows
15 changes: 15 additions & 0 deletions dotnet10/cw-event/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Cookiecutter .NET 8 CloudWatch Events Quick Start Application

A cookiecutter template to create a .NET Core CloudWatch Events Quick Start Application using [Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model).

## Requirements

* [AWS SAM CLI](https://github.com/awslabs/aws-sam-cli)

## Usage

Access this template by running `sam init` and choosing it from the list of available templates.

# Credits

* This project has been generated with [Cookiecutter](https://github.com/audreyr/cookiecutter)
13 changes: 13 additions & 0 deletions dotnet10/cw-event/cookiecutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"project_name": "Name of the project",
"runtime": "dotnet10",
"architectures": {
"value": [
"x86_64", "arm64"
]
},
"_copy_without_render": [
".gitignore"
]

}
2 changes: 2 additions & 0 deletions dotnet10/cw-event/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install]
prefix=

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this suppose to be like this?

Loading
Loading