@@ -51,7 +51,7 @@ class Job(BaseJob):
5151 if not os .path .exists (nipa_path ):
5252 subprocess .run (["git" , "clone" , "https://github.com/nuclearcat/kernelci-nipa.git" , nipa_path ])
5353 # branch various-improvements
54- subprocess .run (["git" , "checkout" , "various-improvements " ], cwd = nipa_path )
54+ subprocess .run (["git" , "checkout" , "add-device " ], cwd = nipa_path )
5555 else :
5656 subprocess .run (["git" , "pull" ], cwd = nipa_path )
5757 # chdir to the nipa_path
@@ -77,9 +77,15 @@ class Job(BaseJob):
7777 os .makedirs (local_nipa_results )
7878
7979 # copy current(remote) nipa-results to a local directory
80- cmd = f"scp -P { ssh_port } -r -i { ssh_key_path } -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null { ssh_username } @{ ssh_host } :* { local_nipa_results } /netdev-results "
80+ cmd = f"scp -P { ssh_port } -r -i { ssh_key_path } -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null { ssh_username } @{ ssh_host } :* { local_nipa_results } "
8181 subprocess .run (cmd , shell = True )
8282
83+ # temporary
84+ # show the file list in the local_nipa_results
85+ print (f"File list in { local_nipa_results } :" )
86+ for file in os .listdir (local_nipa_results ):
87+ print (file )
88+
8389 # run the nipa-update
8490 args = ["/tmp/kernelci-nipa/nipa-results" , "--id" , parent_job ]
8591 # if api_name is not production, add --staging
0 commit comments