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

feat: add dotnet7 build method (#428) #4410

Merged
merged 7 commits into from
Nov 15, 2022
Merged

feat: add dotnet7 build method (#428) #4410

merged 7 commits into from
Nov 15, 2022

Conversation

mndeveci
Copy link
Contributor

dotnet7 build support

Mandatory Checklist

PRs will only be reviewed after checklist is complete

  • Add input/output type hints to new functions/methods
  • Write design document if needed (Do I need to write a design document?)
  • Write/update unit tests
  • Write/update integration tests
  • Write/update functional tests if needed
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed
  • Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Beau-Gosse-dev and others added 2 commits November 10, 2022 17:14
* # This is a combination of 2 commits.
# This is the 1st commit message:

Add dotnet7 build method for provided

* Added 'BuildMethod: dotnet7' using 'Runtime:provided'
* 'Runtime:provided' is only for the provided runtime and not the dotnet runtime

Testing with sample SAM template:
 ( See BuildMethod and Runtime below )
...
  HelloWorldFunction:
    Type: AWS::Serverless::Function
    Metadata:
      BuildMethod: dotnet7
    Properties:
      CodeUri: ./src/HelloWorld/
      Handler: HelloWorld::HelloWorld.Function::FunctionHandler
      Runtime: provided
      Architectures:
        - x86_64
...

# This is the commit message #2:

Add dotnet7 build method for provided

* Added 'BuildMethod: dotnet7' using 'Runtime:provided'
* 'Runtime:provided' is only for the provided runtime and not the dotnet runtime

Testing with sample SAM template:
 ( See BuildMethod and Runtime below )
...
  HelloWorldFunction:
    Type: AWS::Serverless::Function
    Metadata:
      BuildMethod: dotnet7
    Properties:
      CodeUri: ./src/HelloWorld/
      Handler: HelloWorld::HelloWorld.Function::FunctionHandler
      Runtime: provided
      Architectures:
        - x86_64
...

* run black reformat

Co-authored-by: Samiullah Mohammed <[email protected]>
Co-authored-by: Wing Fung Lau <[email protected]>
Co-authored-by: Mehmet Nuri Deveci <[email protected]>
@github-actions github-actions bot added area/build sam build command pr/internal labels Nov 14, 2022
@mndeveci mndeveci merged commit d42f1ee into develop Nov 15, 2022
@mndeveci mndeveci deleted the feat-dotnet7 branch May 10, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build sam build command pr/internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants