lib/vidar/run.rb in vidar-1.12.1 vs lib/vidar/run.rb in vidar-1.13.0.rc1
- old
+ new
@@ -5,10 +5,10 @@
system("docker #{command}") || exit(1)
end
def docker_compose(command)
args = %w[revision current_branch].map { |arg| "#{arg.upcase}=#{Config.get!(arg.to_sym)}" }
- system("#{args.join(' ')} docker-compose -f #{Config.get!(:compose_file)} #{command}") || exit(1)
+ system("#{args.join(' ')} docker compose -f #{Config.get!(:compose_file)} #{command}") || exit(1)
end
def kubectl(command, namespace: Config.get!(:namespace))
system("#{kubectl_envs_string}kubectl --namespace=#{namespace} #{command}") || exit(1)
end