Skip to content

Commit

Permalink
adjust build_lambda task ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
peetucket committed Sep 5, 2023
1 parent ab89169 commit d2cc2b6
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 d2cc2b6

Please sign in to comment.