Skip to content

Commit

Permalink
Merge pull request #301 from LD4P/update-lambda-build
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored Sep 5, 2023
2 parents ab89169 + d2cc2b6 commit 4a54f12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ orbs:
ruby: circleci/[email protected]
aws-cli: circleci/[email protected]
references:
# if you change the default ruby version, update the references in the "build_lambda" run task below
default_ruby_version: &default_ruby_version "3.2"
ruby_envs: &ruby_envs
environment:
Expand Down Expand Up @@ -106,9 +107,9 @@ jobs:
name: Build layer zip
command: |
mkdir -p tmp/ruby/gems
cp -r vendor/bundle/ruby/2.7.0 tmp/ruby/gems
cp -r vendor/bundle/ruby/3.2.0 tmp/ruby/gems
cd tmp
zip -r layer.zip ruby/gems/2.7.0/
zip -r layer.zip ruby/gems/3.2.0/
cd ..
mv tmp/layer.zip .
- run:
Expand Down

0 comments on commit 4a54f12

Please sign in to comment.