From f75feefcea417faa8f47dd5d532a397726b5996e Mon Sep 17 00:00:00 2001 From: Haresh Nasit Date: Tue, 6 Feb 2024 21:11:57 -0800 Subject: [PATCH] Remove ruby2.7 runtime --- .github/workflows/build.yml | 3 --- aws_lambda_builders/validator.py | 1 - aws_lambda_builders/workflows/ruby_bundler/DESIGN.md | 2 +- tests/integration/workflows/ruby_bundler/test_ruby.py | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b912f0950..046f003cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -310,9 +310,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: "3.2" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "2.7" - run: make init - run: pytest -vv tests/integration/workflows/ruby_bundler diff --git a/aws_lambda_builders/validator.py b/aws_lambda_builders/validator.py index 0306ce14d..97fe6f85c 100644 --- a/aws_lambda_builders/validator.py +++ b/aws_lambda_builders/validator.py @@ -21,7 +21,6 @@ "python3.10": [ARM64, X86_64], "python3.11": [ARM64, X86_64], "python3.12": [ARM64, X86_64], - "ruby2.7": [ARM64, X86_64], "ruby3.2": [ARM64, X86_64], "java8": [ARM64, X86_64], "java11": [ARM64, X86_64], diff --git a/aws_lambda_builders/workflows/ruby_bundler/DESIGN.md b/aws_lambda_builders/workflows/ruby_bundler/DESIGN.md index 433df21c5..8ce00fbaf 100644 --- a/aws_lambda_builders/workflows/ruby_bundler/DESIGN.md +++ b/aws_lambda_builders/workflows/ruby_bundler/DESIGN.md @@ -64,7 +64,7 @@ bundle install --deployment ### sam build --use-container -This command would use some sort of container, such as `public.ecr.aws/sam/build-ruby2.7`. +This command would use some sort of container, such as `public.ecr.aws/sam/build-ruby3.2`. ```shell # exit with error if vendor/bundle and/or .bundle directory exists and is non-empty diff --git a/tests/integration/workflows/ruby_bundler/test_ruby.py b/tests/integration/workflows/ruby_bundler/test_ruby.py index 072e92e94..5dd491dfb 100644 --- a/tests/integration/workflows/ruby_bundler/test_ruby.py +++ b/tests/integration/workflows/ruby_bundler/test_ruby.py @@ -18,7 +18,6 @@ @parameterized_class( ("runtime",), [ - ("ruby2.7",), ("ruby3.2",), ], )