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
Conversation
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 |
Nevermind, the AWS Rust team is doing a great job with |
* 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>
* 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>
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.