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

SAM CLI Rust template for helloworld and S3 (using aws-sdk-rust) #129

Closed
wants to merge 3 commits into from
Closed

SAM CLI Rust template for helloworld and S3 (using aws-sdk-rust) #129

wants to merge 3 commits into from

Conversation

brainstorm
Copy link

Will eventually fix issue #54, WIP.

This is hopefully the first draft to walk towards a solution for the following long-standing Rust SAM-CLI UX issues on AWS SAM, championed by @softprops:

aws/aws-lambda-builders#174

And hopefully address my own Apple Silicon ring cross-compiling and its related ongoing S3-locally-backed sam local start-api issues.

A working example can be found in https://github.com/umccr/s3-rust-noodles-bam.

This PR is a work in progress prompted by @jfuss helping addressing the aforementioned S3 SAM local issue, so that AWS has a simple SAM-CLI Rust template to iterate on top of.

@brainstorm brainstorm marked this pull request as ready for review August 5, 2021 23:39
@brainstorm
Copy link
Author

brainstorm commented Aug 5, 2021

Still in draft, moved it to ready for review only to see how many tests break (quite a few surely will), but I just realised that CI/CD is CodeBuild (buildspec.yml) so this will not get tested (by AWS) until merged?

How shall I test it locally (with pytest)? I don't see any pointer(s) in the readme :-S

At least I made sure that the Rust bits compile and sam build as they should.

@brainstorm
Copy link
Author

Nevermind, the AWS Rust team is doing a great job with cargo-lambda, SAM is not strictly needed anymore, AFAICT.

@brainstorm brainstorm closed this Apr 4, 2022
mndeveci added a commit to mndeveci/aws-sam-cli-app-templates that referenced this pull request May 18, 2023
* Onboarded ruby3.2

* Update manifest-v2.json

Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>

* Migrate Ruby3.2 to Github Actions.

* Update manifest-v2.json

Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>

* Add Ruby3.2 hello-img to manifest-v2.json.

* Do not test lint for Ruby3.2.

* Update README.md for Ruby3.2 hello-img cookiecutter project.

* Remove buildspecs folder as it is no longer used.

* Update commands in README.md for cookiecutter projects.

* Update paths in Ruby3.2 unit tests.

* move linting skip to build & invoke tests

* Move skip linting to build & invoke tests

* all tests should have skip lint until runtime is GA

* update test assertion

---------

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Sean O Brien <sean.obrien.2016@mumail.ie>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Sean O Brien <briensea@amazon.com>
moelasmar added a commit that referenced this pull request Jun 1, 2023
* feat: add ruby3.2 to SAM (#129)

* Onboarded ruby3.2

* Update manifest-v2.json

Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>

* Migrate Ruby3.2 to Github Actions.

* Update manifest-v2.json

Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>

* Add Ruby3.2 hello-img to manifest-v2.json.

* Do not test lint for Ruby3.2.

* Update README.md for Ruby3.2 hello-img cookiecutter project.

* Remove buildspecs folder as it is no longer used.

* Update commands in README.md for cookiecutter projects.

* Update paths in Ruby3.2 unit tests.

* move linting skip to build & invoke tests

* Move skip linting to build & invoke tests

* all tests should have skip lint until runtime is GA

* update test assertion

---------

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Sean O Brien <sean.obrien.2016@mumail.ie>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Sean O Brien <briensea@amazon.com>

* bump pytest version

* bump pytest version to 7.3

* bump pytest and pytest-xdist version

* enable parallel test execution for dotnet test cases

* bump pytest plugins versions, and disable dotnet integration testing parallel execution

---------

Co-authored-by: trivenay <trivenay@amazon.com>
Co-authored-by: Sean O Brien <sean.obrien.2016@mumail.ie>
Co-authored-by: Wing Fung Lau <4760060+hawflau@users.noreply.github.com>
Co-authored-by: Sean O Brien <briensea@amazon.com>
Co-authored-by: Mohamed Elasmar <71043312+moelasmar@users.noreply.github.com>
Co-authored-by: Mohamed ElAsmar <melasmar@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants