-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
124 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ruby/step-func/{{cookiecutter.project_name}}/functions/stock_buyer/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}.0' | ||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}' |
2 changes: 1 addition & 1 deletion
2
ruby/step-func/{{cookiecutter.project_name}}/functions/stock_checker/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}.0' | ||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}' |
2 changes: 1 addition & 1 deletion
2
ruby/step-func/{{cookiecutter.project_name}}/functions/stock_seller/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}.0' | ||
ruby '~> {{ cookiecutter.options[cookiecutter.runtime].version }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from unittest import skip | ||
from tests.integration.build_invoke.build_invoke_base import BuildInvokeBase | ||
|
||
""" | ||
For each template, it will test the following sam commands: | ||
1. sam init | ||
2. sam build --use-container (if self.use_container is False, --use-container will be omitted) | ||
3. (if there are event jsons), for each event json, check `sam local invoke` response is a valid json | ||
""" | ||
|
||
class BuildInvoke_ruby3_3_cookiecutter_aws_sam_hello_ruby(BuildInvokeBase.HelloWorldExclamationBuildInvokeBase): | ||
runtime = "ruby3.3" | ||
directory = "ruby/hello" | ||
# TODO(hawflau): remove the line below when cfn-lint supports ruby3.3 | ||
should_test_lint = False | ||
|
||
|
||
class BuildInvoke_ruby3_3_cookiecutter_aws_sam_step_functions_sample_app(BuildInvokeBase.BuildInvokeBase): | ||
runtime = "ruby3.3" | ||
directory = "ruby/step-func" | ||
# TODO(hawflau): remove the line below when cfn-lint supports ruby3.3 | ||
should_test_lint = False | ||
|
||
|
||
class BuildInvoke_image_ruby3_3_cookiecutter_aws_sam_hello_ruby_lambda_image( | ||
BuildInvokeBase.HelloWorldExclamationBuildInvokeBase | ||
): | ||
runtime = "ruby3.3" | ||
directory = "ruby/hello-img" | ||
# TODO(hawflau): remove the line below when cfn-lint supports ruby3.3 | ||
should_test_lint = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from tests.integration.unit_test.unit_test_base import UnitTestBase | ||
|
||
|
||
class UnitTest_ruby3_3_cookiecutter_aws_sam_hello_ruby(UnitTestBase.RubyUnitTestBase): | ||
runtime = "ruby3.3" | ||
directory = "ruby/hello" | ||
code_directories = ["tests/unit/test_handler.rb"] | ||
# TODO(hawflau): remove the line below when cfn-lint supports ruby3.3 | ||
should_test_lint = False | ||
|
||
|
||
class UnitTest_ruby3_3_cookiecutter_aws_sam_step_functions_sample_app(UnitTestBase.RubyUnitTestBase): | ||
runtime = "ruby3.3" | ||
directory = "ruby/step-func" | ||
code_directories = [ | ||
"tests/unit/test_stock_buyer.rb", | ||
"tests/unit/test_stock_checker.rb", | ||
"tests/unit/test_stock_seller.rb", | ||
] | ||
# TODO(hawflau): remove the line below when cfn-lint supports ruby3.3 | ||
should_test_lint = False |