On Mon, Apr 12, 2021 at 02:49:39PM +0800, Cao Xueliang wrote:
pls, improve this patch in scheduler and don't use `arch`.chomp.
ok
Thanks, Yinsi
Thanks, Xueliang
On Fri, Apr 09, 2021 at 08:05:03PM +0800, Liu Yinsi wrote:
before: submit host-info.yaml os_arch=x86_64 arch=x86_64 after : submit host-info.yaml
[why] when submit job in x86_64 machine, must execute like this: `submit host-info.yaml os_arch=x86_64 arch=x86_64`, then the job can be consumed by docker testbox, so add default values, it will be more convenient.
Signed-off-by: Liu Yinsi liuyinsi@163.com
sbin/submit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sbin/submit b/sbin/submit index d2d9bec76..47b377001 100755 --- a/sbin/submit +++ b/sbin/submit @@ -10,7 +10,10 @@ require "#{LKP_SRC}/lib/scheduler_client" require 'optparse' require 'yaml'
-opt_set_key_value = {} +opt_set_key_value = {
- 'os_arch' => `arch`.chomp,
- 'arch' => `arch`.chomp
+} opt_cmdline_defaults = {} opt_output_dir = nil opt_auto_define_files = false -- 2.23.0