Sha256: 5d65c5b1d5f3552d91033be7b85fbb6f9a73f5c5635c7a57992b34b0ed5978cf
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 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 -t splunk/connect-for-kubernetes:#{args.tag} ./docker" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fluent-plugin-kubernetes-metrics-1.1.2 | Rakefile |
fluent-plugin-k8s-metrics-1.1.1 | Rakefile |