Skip to content

Commit 5ff7f95

Browse files
takaokoujiclaude
andcommitted
Add Docker services for Rails 5.1, 5.2, and 6.0
Add Docker Compose services for older Rails versions to enable comprehensive testing across the full compatibility matrix: Services added: - rails-5.1: Rails 5.1.7 - rails-5.2: Rails 5.2.8.1 - rails-6.0: Rails 6.0.6 Usage: docker-compose run rails-5.1 docker-compose run rails-5.2 docker-compose run rails-6.0 This completes the Docker setup for all Rails versions supported in the CI matrix (5.1.7 through 8.1.2). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d4203e2 commit 5ff7f95

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,30 @@ services:
1111
stdin_open: true
1212
tty: true
1313

14+
# Rails 5.1.7
15+
rails-5.1:
16+
<<: *test-base
17+
container_name: jsonapi-rails-5.1
18+
environment:
19+
- RAILS_VERSION=5.1.7
20+
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"
21+
22+
# Rails 5.2.8.1
23+
rails-5.2:
24+
<<: *test-base
25+
container_name: jsonapi-rails-5.2
26+
environment:
27+
- RAILS_VERSION=5.2.8.1
28+
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"
29+
30+
# Rails 6.0.6
31+
rails-6.0:
32+
<<: *test-base
33+
container_name: jsonapi-rails-6.0
34+
environment:
35+
- RAILS_VERSION=6.0.6
36+
command: bash -c "rm -f Gemfile.lock && bundle install && bundle exec rake test"
37+
1438
# Rails 6.1.7.10
1539
rails-6.1:
1640
<<: *test-base

0 commit comments

Comments
 (0)