Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Run lostconf
run: npx lostconf

v2_5-non-rails-rubocop:
v2_6-non-rails-rubocop:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
Expand All @@ -42,17 +42,17 @@ jobs:
with:
ruby-version: '4.0.6'
- name: Bundle install
working-directory: v2.5-non-rails
working-directory: v2.6-non-rails
env:
BUNDLE_GEMFILE: Gemfile.lint
run: bundle install --jobs 4 --retry 3
- name: Run rubocop
working-directory: v2.5-non-rails
working-directory: v2.6-non-rails
env:
BUNDLE_GEMFILE: Gemfile.lint
run: bundle exec rubocop

v2_4-non-rails-specs:
v2_5-non-rails-specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -76,14 +76,14 @@ jobs:
bundler: 'latest'
- name: Install latest bundler
run: |
cd v2.4-non-rails
cd v2.5-non-rails

gem install bundler --no-document

bundle config set without 'tools benchmarks docs'
- name: Bundle install
run: |
cd v2.4-non-rails
cd v2.5-non-rails
# For Ruby 4.0, use local gem path to avoid permission issues with default gems
if [ "${{ matrix.ruby }}" = "4.0" ]; then
bundle config set path vendor/bundle
Expand All @@ -94,10 +94,10 @@ jobs:
env:
GITHUB_COVERAGE: ${{matrix.coverage}}
run: |
cd v2.4-non-rails
cd v2.5-non-rails
bundle exec rspec

v2_5-rails-rubocop:
v2_6-rails-rubocop:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
Expand All @@ -109,17 +109,17 @@ jobs:
with:
ruby-version: '4.0.6'
- name: Bundle install
working-directory: v2.5-rails
working-directory: v2.6-rails
env:
BUNDLE_GEMFILE: Gemfile.lint
run: bundle install --jobs 4 --retry 3
- name: Run rubocop
working-directory: v2.5-rails
working-directory: v2.6-rails
env:
BUNDLE_GEMFILE: Gemfile.lint
run: bundle exec rubocop

v2_4-rails-specs:
v2_5-rails-specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -143,13 +143,13 @@ jobs:
bundler: 'latest'
- name: Install latest bundler
run: |
cd v2.4-rails
cd v2.5-rails
gem install bundler --no-document

bundle config set without 'tools benchmarks docs'
- name: Bundle install
run: |
cd v2.4-rails
cd v2.5-rails
# For Ruby 4.0, use local gem path to avoid permission issues with default gems
if [ "${{ matrix.ruby }}" = "4.0" ]; then
bundle config set path vendor/bundle
Expand All @@ -158,14 +158,14 @@ jobs:
bundle install --jobs 4 --retry 3
- name: Setup db
run: |
cd v2.4-rails
cd v2.5-rails
bundle exec rake db:create
bundle exec rake db:test:prepare
- name: Run all tests
env:
GITHUB_COVERAGE: ${{matrix.coverage}}
run: |
cd v2.4-rails
cd v2.5-rails
bundle exec rspec

ci-success:
Expand All @@ -174,10 +174,10 @@ jobs:
if: always()
needs:
- lostconf
- v2_5-non-rails-rubocop
- v2_5-rails-rubocop
- v2_4-non-rails-specs
- v2_4-rails-specs
- v2_6-non-rails-rubocop
- v2_6-rails-rubocop
- v2_5-non-rails-specs
- v2_5-rails-specs
steps:
- name: Check all jobs passed
if: |
Expand Down
6 changes: 3 additions & 3 deletions .lostconf.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# lostconf configuration
# Exclude symlinked directories to avoid duplicate/false positives
# v2.3 and v2.4 are symlinks to v2.5
# v2.4 and v2.5 are symlinks to v2.6
exclude:
- v2.3-non-rails
- v2.3-rails
- v2.4-non-rails
- v2.4-rails
- v2.5-non-rails
- v2.5-rails
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ To run those applications locally start Apacke Kafka with the included `docker-c

## Applications available

- Karafka `2.5` Ruby on Rails based [application example](https://github.com/karafka/example-apps/tree/master/v2.5-rails)
- Karafka `2.5` non Rails based [application example](https://github.com/karafka/example-apps/tree/master/v2.5-non-rails)
- Karafka `2.6` Ruby on Rails based [application example](https://github.com/karafka/example-apps/tree/master/v2.6-rails)
- Karafka `2.6` non Rails based [application example](https://github.com/karafka/example-apps/tree/master/v2.6-non-rails)

![karafka web ui](https://raw.githubusercontent.com/karafka/misc/master/printscreens/web-ui.png)

Expand Down
12 changes: 6 additions & 6 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
],
"minimumReleaseAge": "7 days",
"includePaths": [
"v2.5-non-rails/.ruby-version",
"v2.6-non-rails/.ruby-version",
"v2.6-non-rails/Gemfile",
"v2.6-non-rails/Gemfile.lint",
"v2.6-rails/.ruby-version",
"v2.6-rails/Gemfile",
"v2.6-rails/Gemfile.lint",
"v2.5-non-rails/Gemfile",
"v2.5-non-rails/Gemfile.lint",
"v2.5-rails/.ruby-version",
"v2.5-rails/Gemfile",
"v2.5-rails/Gemfile.lint",
"v2.4-non-rails/Gemfile",
"v2.4-rails/Gemfile",
"package.json",
".github/workflows/**",
"docker-compose*.yml"
Expand Down
1 change: 0 additions & 1 deletion v2.3-non-rails

This file was deleted.

1 change: 0 additions & 1 deletion v2.3-rails

This file was deleted.

1 change: 1 addition & 0 deletions v2.5-non-rails
1 change: 1 addition & 0 deletions v2.5-rails
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.