Commit 3498c335 authored by 金凯强's avatar 金凯强 🎨

测试路径

parent 1e4623ba
......@@ -127,10 +127,10 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
with ssh_conenct as ssh:
for files in os.listdir(upgrade_back_up_dir):
path = os.path.join(upgrade_back_up_dir, files)
ssh.upload(path, f'/huansi/upgrade/{files}')
ssh.upload(path, f'/huansi/upgrade/test/{files}')
ssh.upload(os.path.join(system_file_dir, 'load.sh'), '/huansi/upgrade/load.sh')
ssh.upload(os.path.join(system_file_dir, 'load_handle.py'), '/huansi/upgrade/load_handle.py')
ssh.upload(os.path.join(system_file_dir, 'load.sh'), '/huansi/upgrade/test/load.sh')
ssh.upload(os.path.join(system_file_dir, 'load_handle.py'), '/huansi/upgrade/test/load_handle.py')
out, err = ssh.exec_command("echo 'sh /huansi/upgrade/load.sh'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment