Sha256: afc3e67db337ab0b336d60f2b598933a553362a925ea706dbc93b4db2b7dc15d
Contents?: true
Size: 693 Bytes
Versions: 14
Compression:
Stored size: 693 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 = true 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-k8s-metrics-agg-*.gem'], 'docker/' sh "docker build --no-cache --pull --build-arg VERSION=$(cat VERSION) -t splunk/fluent-plugin-k8s-metrics-agg:#{args.tag} ./docker" end end
Version data entries
14 entries across 14 versions & 1 rubygems