Skip to content

Commit

Permalink
Remove version and update docker compose bash command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexB52 committed Aug 6, 2024
1 parent a03b4bf commit 64f85e6
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
/pkg/
/spec/reports/
/tmp/
.ruby-version
.ruby-version
*.DS_Store
2 changes: 1 addition & 1 deletion bin/test/bundler-app
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/bundler-app/retest.gem
docker-compose -f features/bundler-app/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/bundler-app/docker-compose.yml up --build --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/git-ruby
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/git-ruby/retest.gem
docker-compose -f features/git-ruby/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/git-ruby/docker-compose.yml up --build --exit-code-from retest
6 changes: 3 additions & 3 deletions bin/test/hanami-app
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/hanami-app/retest.gem
docker-compose -f features/hanami-app/docker-compose.yml build
docker-compose -f features/hanami-app/docker-compose.yml run retest sh bin/test_setup
docker-compose -f features/hanami-app/docker-compose.yml up --exit-code-from retest
docker compose -f features/hanami-app/docker-compose.yml build
docker compose -f features/hanami-app/docker-compose.yml run retest sh bin/test_setup
docker compose -f features/hanami-app/docker-compose.yml up --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/rails-app
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/rails-app/retest.gem
docker-compose -f features/rails-app/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/rails-app/docker-compose.yml up --build --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/rspec-rails
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/rspec-rails/retest.gem
docker-compose -f features/rspec-rails/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/rspec-rails/docker-compose.yml up --build --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/rspec-ruby
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/rspec-ruby/retest.gem
docker-compose -f features/rspec-ruby/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/rspec-ruby/docker-compose.yml up --build --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/ruby-app
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/ruby-app/retest.gem
docker-compose -f features/ruby-app/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/ruby-app/docker-compose.yml up --build --exit-code-from retest
2 changes: 1 addition & 1 deletion bin/test/ruby-bare
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bundle install
bundle exec rake build
ls -t pkg | head -n1 | xargs -I {} mv pkg/{} features/ruby-bare/retest.gem
docker-compose -f features/ruby-bare/docker-compose.yml up --build --exit-code-from retest
docker compose -f features/ruby-bare/docker-compose.yml up --build --exit-code-from retest
2 changes: 0 additions & 2 deletions features/bundler-app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/git-ruby/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/hanami-app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/rails-app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/rspec-rails/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/rspec-ruby/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/ruby-app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down
2 changes: 0 additions & 2 deletions features/ruby-bare/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
retest:
build: .
Expand Down

0 comments on commit 64f85e6

Please sign in to comment.