Skip to content

Commit

Permalink
Merge pull request #4 from voxpupuli/updates
Browse files Browse the repository at this point in the history
Use more precise container image names and add rubocop-performance
  • Loading branch information
rwaffen authored Apr 2, 2024
2 parents 981ef41 + 4e920c4 commit ffdd8ef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
RUBYGEM_VOXPUPULI_RELEASE=${{ matrix.rubygem_voxpupuli_release }}
RUBYGEM_PUPPET_METADATA=${{ matrix.rubygem_puppet_metadata }}
RUBYGEM_MODULESYNC=${{ matrix.rubygem_modulesync }}
RUBYGEM_RUBOCOP_PERFORMANCE=${{ matrix.rubygem_rubocop_performance }}
build_arch: linux/amd64,linux/arm64
docker_username: voxpupulibot
docker_password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }}
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=ghcr.io/betadots/ruby:2.7.8
ARG BASE_IMAGE=ghcr.io/betadots/ruby:2.7.8-focal

FROM $BASE_IMAGE

Expand Down Expand Up @@ -38,6 +38,9 @@ ENV RUBYGEM_R10K=${RUBYGEM_R10K:-4.0.2}
ARG RUBYGEM_RA10KE
ENV RUBYGEM_RA10KE=${RUBYGEM_RA10KE:-3.0.0}

ARG RUBYGEM_RUBOCOP_PERFORMANCE
ENV RUBYGEM_RUBOCOP_PERFORMANCE=${RUBYGEM_RUBOCOP_PERFORMANCE:-1.21.0}

COPY voxbox/Gemfile /
COPY voxbox/Rakefile /
COPY Dockerfile /
Expand Down
10 changes: 6 additions & 4 deletions build_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"include": [
{
"puppet_release": 7,
"base_image": "ghcr.io/betadots/ruby:2.7.8",
"base_image": "ghcr.io/betadots/ruby:2.7.8-focal",
"rubygem_puppet": "7.29.1",
"rubygem_facter": "4.6.1",
"rubygem_voxpupuli_test": "7.1.0",
Expand All @@ -12,11 +12,12 @@
"rubygem_overcommit": "0.63.0",
"rubygem_modulesync": "3.2.0",
"rubygem_r10k": "4.0.2",
"rubygem_ra10ke": "3.0.0"
"rubygem_ra10ke": "3.0.0",
"rubygem_rubocop_performance": "1.21.0"
},
{
"puppet_release": 8,
"base_image": "ghcr.io/betadots/ruby:3.2.3",
"base_image": "ghcr.io/betadots/ruby:3.2.3-jammy",
"rubygem_puppet": "8.5.1",
"rubygem_facter": "4.6.1",
"rubygem_voxpupuli_test": "7.1.0",
Expand All @@ -26,7 +27,8 @@
"rubygem_overcommit": "0.63.0",
"rubygem_modulesync": "3.2.0",
"rubygem_r10k": "4.0.2",
"rubygem_ra10ke": "3.0.0"
"rubygem_ra10ke": "3.0.0",
"rubygem_rubocop_performance": "1.21.0"
}
]
}
1 change: 1 addition & 0 deletions voxbox/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ gem 'ra10ke', ENV['RUBYGEM_RA10KE']
gem 'voxpupuli-acceptance', ENV['RUBYGEM_VOXPUPULI_ACCEPTANCE']
gem 'voxpupuli-release', ENV['RUBYGEM_VOXPUPULI_RELEASE']
gem 'voxpupuli-test', ENV['RUBYGEM_VOXPUPULI_TEST']
gem 'rubocop-performance', ENV['RUBYGEM_RUBOCOP_PERFORMANCE']

# vim: syntax=ruby

0 comments on commit ffdd8ef

Please sign in to comment.