Sha256: 9ae397b1fe0062088824ea2bc21664cca89832ad76ec4f02c1e35d5f6202de5e

Contents?: true

Size: 776 Bytes

Versions: 2

Compression:

Stored size: 776 Bytes

Contents

local TestPipeline(os, arch, ruby_version) = {
  kind: "pipeline",
  type: "kubernetes",
  name: os + "_" + arch + "_ruby_" + ruby_version,

  platform: {
    os: os,
    arch: arch,
  },

  steps: [
    {
      name: "tests",
      image: "ruby:" + ruby_version + "-alpine",
      commands: [
        "apk add --update git ruby-dev build-base",
        "gem install bundler:$$(cat .BUNDLER_VERSION)",
        "bundle",
        "rake",
      ]
    }
  ]
};

local TARGETS = [
  {os: "linux", arch: "arm", ruby_version: "2.5"},
  {os: "linux", arch: "arm", ruby_version: "2.6"},
  {os: "linux", arch: "arm64", ruby_version: "2.7"},
  {os: "linux", arch: "arm64", ruby_version: "3.0"},
];

[
  TestPipeline(target.os, target.arch, target.ruby_version)
  for target in TARGETS
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opentracing-instrumentation-0.2.1 .drone.jsonnet
opentracing-instrumentation-0.2.0 .drone.jsonnet