Sha256: a95b7db56ae704554c4ccc7d2a82a42a5ed75cf6d2d841b4136333e4c00ad883
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
require 'hako/scheduler' module Hako module Schedulers class Echo < Scheduler def initialize(app_id, _options) @app_id = app_id end def deploy(image_tag, env, app_port, _front, force: false) puts "Deploy #{image_tag} with app_port=#{app_port}, force=#{force}" puts 'Environment variables:' env.each do |key, val| puts " #{key}=#{val.inspect}" end end def oneshot(image_tag, env, commands) puts "Run #{image_tag} with oneshot commands=#{commands.inspect}" puts 'Environment variables:' env.each do |key, val| puts " #{key}=#{val.inspect}" end 0 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hako-0.2.0 | lib/hako/schedulers/echo.rb |