Sha256: ca71dfd26abd73776c52dc23965fa019ac033c72cffae80600f1ddf732b197a4

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

version: 2.1

install: &install
  name: Install bundle
  command: |
            gem install bundler
            bundle install --path vendor/bundle

missingdeps: &missingdeps
  name: Install missing dependecies
  command: |
            cat /etc/os-release
            printf "deb http://deb.debian.org/debian buster main\ndeb http://security.debian.org buster/updates main\ndeb-src http://security.debian.org buster/updates main" > /tmp/sources.list
            sudo cp /tmp/sources.list /etc/apt/sources.list
            sudo apt-get update
            sudo apt-get install cmake libicu-dev libssl-dev

test: &test
  name: Test bundle
  command: bundle exec rake test --trace

executors:
  ruby-2-5:
    docker:
      - image: circleci/ruby:2.5.5
  ruby-2-6:
    docker:
      - image: circleci/ruby:2.6.3
  ruby-2-7:
    docker:
      - image: circleci/ruby:2.7.1
jobs:
  "ruby-test":
    parameters:
      ruby-version:
        type: executor
    executor: << parameters.ruby-version >>
    working_directory: ~/fluent-plugin-kubernetes_metadata_filter
    steps:
      - run: *missingdeps
      - checkout
      - run: *install
      - run: *test
      - store_test_results:
            path: coverage
      - store_artifacts:
            path: coverage

workflows:
  "test_multiple_ruby_versions":
    jobs:
      - ruby-test:
          ruby-version: ruby-2-5
      - ruby-test:
          ruby-version: ruby-2-6
      - ruby-test:
          ruby-version: ruby-2-7

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fluent-plugin-kubernetes_metadata_filter-2.7.2 .circleci/config.yml
fluent-plugin-kubernetes_metadata_filter-2.7.1 .circleci/config.yml
fluent-plugin-kubernetes_metadata_filter-2.7.0 .circleci/config.yml
fluent-plugin-kubernetes_metadata_filter-rh-2.6.1 .circleci/config.yml