[why] it will read my_ssh_pubkey and check it when submit jobs.
$ submit -m -c job.yaml -i ~/lkp-tests/jobs/ssh-on-fail.yaml submit_id=f87d2951-c226-4e51-a3e4-c71818a4c974 submit job.yaml failed, got job id=0, error: Missing hash key: "my_ssh_pubkey"
[how] add initialize my_ssh_pubkey when building my_info.
Signed-off-by: Luan Shengde shdluan@163.com --- sbin/build-my-info.rb | 1 + 1 file changed, 1 insertion(+)
diff --git a/sbin/build-my-info.rb b/sbin/build-my-info.rb index c7a7798..ecfcb42 100755 --- a/sbin/build-my-info.rb +++ b/sbin/build-my-info.rb @@ -12,6 +12,7 @@ def build_my_info(option) info_es = build_my_info.search_my_info info_es.update option info_es['my_token'] = %x(uuidgen).chomp if info_es['my_token'].nil? + info_es['my_ssh_pubkey'] = []
build_my_info.config_my_info(info_es) end