-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Enhance CompatibleRuntimes property of AWS::Serverless::LayerVersion #810
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #810 +/- ##
=======================================
Coverage 94.8% 94.8%
=======================================
Files 69 69
Lines 3079 3079
Branches 580 580
=======================================
Hits 2919 2919
Misses 84 84
Partials 76 76
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete the .swp files also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you submit this PR against the develop branch? Thanks
Branch is now up to date with 'origin/develop' |
@systemdesignpartners If you rebased your changes onto |
Should be good on the rebase to develop. I added several test cases but unfortunately could not get some nice-to-haves to work, such as supplying a list of !Refs to CompatibleRuntimes, so I left it out. |
Hey! Thanks for changing the base branch on this PR. Could you also rebase onto develop to resolve merge commits and remove some of the commits that are on master but not on develop? Here are the commands to run:
If you run into conflicts on rebase, here are additional instructions on how to resolve it: https://help.github.com/en/articles/resolving-merge-conflicts-after-a-git-rebase |
Allow it to accept a !Ref to a String whereas currently it requires a List
Think it worked. Not sure it’s what you wanted, just let me know.
Thanks
… On Feb 26, 2019, at 1:24 PM, Keeton Hodgson ***@***.***> wrote:
Hey! Thanks for changing the base branch on this PR. Could you also rebase onto develop to resolve merge commits and remove some of the commits that are on master but not on develop?
Here are the commands to run:
git remote add upstream https://github.com/awslabs/serverless-application-model.git
git fetch upstream
git rebase upstream/develop
git push -f
If you run into conflicts on rebase, here are additional instructions on how to resolve it: https://help.github.com/en/articles/resolving-merge-conflicts-after-a-git-rebase
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@systemdesignpartners Thanks for the quick follow up! You rebased correctly, but your changes are failing in the CI build. If you run |
Any idea by when these changes will be rolled out to SAM. ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a new section to the test that uses your new parameters and update the test outputs? This looks good otherwise 👍
LayerWithRuntimesList:
Type: 'AWS::Serverless::LayerVersion'
Properties:
ContentUri: s3://sam-demo-bucket/layer.zip
CompatibleRuntimes:
- !Ref LayerRuntimeString1
- !Ref LayerRuntimeString2
Allow it to accept a !Ref to a String whereas currently it requires a List
Bugfix for Issue #809
Hopefully this addresses the minor enhancement I suggested in #809, which is to allow CompatibleRuntimes to be supplied by a String Parameter instead of insisting on a List. My first time looking at this codebase so buyer beware :)
Thanks
Tony
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.