Sha256: 0d599e89a09d9a41cbd8eb5a79ce8fabbf2a45998a4a3cb6bb7742bf013197cc

Contents?: true

Size: 701 Bytes

Versions: 25

Compression:

Stored size: 701 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rake/testtask'
require 'rake/clean'

CLEAN.concat FileList[
  'docker/*.gem',
  'pkg'
]

Rake::TestTask.new(:test) do |t|
  t.libs.push('lib', 'test')
  t.test_files = FileList['test/**/test_*.rb']
  t.verbose = true
  t.warning = false
end

task default: [:test]

namespace :docker do
  desc 'Build docker image'
  task :build, [:tag] => :build do |_t, args|
    raise 'Argument `tag` was not provided.' unless args.tag

    cp Dir['pkg/fluent-plugin-kubernetes-metrics-*.gem'], 'docker/'
    sh "docker build --no-cache --pull --build-arg VERSION=$(cat VERSION) --no-cache -t splunk/connect-for-kubernetes:#{args.tag} ./docker"
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
fluent-plugin-kubernetes-metrics-1.2.3 Rakefile
fluent-plugin-kubernetes-metrics-1.2.2 Rakefile
fluent-plugin-kubernetes-metrics-1.2.1 Rakefile
fluent-plugin-kubernetes-metrics-1.2.0 Rakefile
fluent-plugin-kubernetes-metrics-1.1.12 Rakefile
fluent-plugin-kubernetes-metrics-1.1.11 Rakefile
fluent-plugin-kubernetes-metrics-1.1.10 Rakefile
fluent-plugin-kubernetes-metrics-1.1.9 Rakefile
fluent-plugin-kubernetes-metrics-1.1.8 Rakefile
fluent-plugin-kubernetes-metrics-1.1.7 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.7 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.6 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.5 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.4 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.3 Rakefile
fluent-plugin-kubernetes-metrics-hbrewster-1.2.2 Rakefile
hbrewster-fluent-plugin-kubernetes-metrics-1.2.1 Rakefile
hbrewster-fluent-plugin-kubernetes-metrics-1.2.0 Rakefile
hbrewster-fluent-plugin-kubernetes-metrics-1.1.9 Rakefile
hbrewster-fluent-plugin-kubernetes-metrics-1.1.8 Rakefile