Sha256: b032d48a15d5808d8f460c714eb4c7f3d86976449a34bc43c91b998a15529fbd

Contents?: true

Size: 1.98 KB

Versions: 13

Compression:

Stored size: 1.98 KB

Contents

version: '7'

environment:
  RUBY_VERSION: '3.2'

compose:
  files:
    - docker-compose.yml

interaction:
  bash:
    description: Open the Bash shell in app's container
    service: ruby
    command: /bin/bash

  bundle:
    description: Run Bundler commands
    service: ruby
    command: bundle

  rails:
    description: Run RoR commands
    service: ruby
    command: bundle exec rails

  appraisal:
    description: Run Appraisal commands
    service: ruby
    command: bundle exec appraisal

  rspec:
    description: Run Rspec commands
    service: ruby
    command: bundle exec rspec
    subcommands:
      all:
        command: bundle exec appraisal rspec
      rails-6.0:
        command: bundle exec appraisal rails-6.0 rspec
      rails-6.1:
        command: bundle exec appraisal rails-6.1 rspec
      rails-7.0:
        command: bundle exec appraisal rails-7.0 rspec
      rails-7.1:
        command: bundle exec appraisal rails-7.1 rspec

  rubocop:
    description: Run Ruby linter
    service: ruby
    command: bundle exec rubocop

  setup:
    description: Install deps
    service: ruby
    command: bin/setup

  test:
    description: Run linters, run all tests
    service: ruby
    command: bin/test

  kafka-consumer:
    description: Run kafka consumer
    service: ruby
    command: bundle exec kafka_consumer

  kafka-producer:
    description: Run kafka producer commands
    service: kafka
    command: kafka-console-producer.sh --bootstrap-server kafka:9092
    subcommands:
      inbox:
        command: kafka-console-producer.sh --bootstrap-server kafka:9092 --topic topic_with_inbox_items
      json:
        command: kafka-console-producer.sh --bootstrap-server kafka:9092 --topic topic_with_json_data
      protobuf:
        command: kafka-console-producer.sh --bootstrap-server kafka:9092 --topic topic_with_protobuf_data

provision:
  - dip compose down --volumes
  - cp -f lefthook-local.dip_example.yml lefthook-local.yml
  - rm -f Gemfile.lock
  - rm -f gemfiles/*gemfile*
  - dip setup

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sbmt-kafka_consumer-2.8.0 dip.yml
sbmt-kafka_consumer-2.7.1 dip.yml
sbmt-kafka_consumer-2.7.0 dip.yml
sbmt-kafka_consumer-2.6.1 dip.yml
sbmt-kafka_consumer-2.6.0 dip.yml
sbmt-kafka_consumer-2.5.0 dip.yml
sbmt-kafka_consumer-2.4.1 dip.yml
sbmt-kafka_consumer-2.4.0 dip.yml
sbmt-kafka_consumer-2.3.1 dip.yml
sbmt-kafka_consumer-2.3.0 dip.yml
sbmt-kafka_consumer-2.2.0 dip.yml
sbmt-kafka_consumer-2.1.0 dip.yml
sbmt-kafka_consumer-2.0.0 dip.yml