Skip to content

Commit

Permalink
Merge pull request #138 from puppetlabs/pin-bundler
Browse files Browse the repository at this point in the history
(maint) Pin bundler to 2.4.22, which supports Ruby 2.7.4
  • Loading branch information
Magisus authored Feb 5, 2024
2 parents 6cca50a + 51ed6f5 commit 10993e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
severity: 'CRITICAL,HIGH,MEDIUM'
vuln-type: os
timeout: 10m0s
skip-files: "/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/dependencies.yml,/root/.pdk/cache/ruby/2.5.0/gems/aws-sdk-core-3.191.0/lib/aws-sdk-ssooidc/client.rb"
- name: Run tests
run: cd tests; ./run_tests.sh
- name: Tag Docker images
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
severity: 'CRITICAL,HIGH,MEDIUM'
vuln-type: os
timeout: 10m0s
skip-files: "/usr/local/bundle/gems/nokogiri-1.15.5-x86_64-linux/dependencies.yml,/root/.pdk/cache/ruby/2.5.0/gems/aws-sdk-core-3.191.0/lib/aws-sdk-ssooidc/client.rb"
- name: Run tests
working-directory: ${{ github.workspace }}/tests
run: ./run_tests.sh
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN groupadd --gid 1001 puppetdev \
&& useradd --uid 1001 --gid puppetdev --create-home puppetdev

# Prep for non-root user
RUN gem install bundler \
RUN gem install bundler -v 2.4.22 \
&& chown -R puppetdev:puppetdev /usr/local/bundle \
&& mkdir /setup \
&& chown -R puppetdev:puppetdev /setup \
Expand Down

0 comments on commit 10993e4

Please sign in to comment.