File tree Expand file tree Collapse file tree 8 files changed +0
-26
lines changed
Expand file tree Collapse file tree 8 files changed +0
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ IF EXIST "C:\Instrument\Apps\EPICS" (
4040 call python " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --server_arch %SERVER_ARCH% --confirm_step instrument_deploy_pre_stop
4141 IF !errorlevel! neq 0 exit /b !errorlevel!
4242 start /wait cmd /c " %STOP_IBEX% "
43- ENDLOCAL
4443)
4544
4645REM Copy the pydev command history file to temp so it can be copied back in after deploy (otherwise it is overwritten)
@@ -79,20 +78,11 @@ if "%DETECT_OLD_GALIL%" == "YES" (
7978 )
8079)
8180
82- REM stop_ibex_server calls config_env which means we have to reactivate our venv
83- call " %~dp0 _activate_venv.bat"
84- call " %~dp0 set_epics_ca_addr_list.bat"
85-
8681call python " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --server_arch %SERVER_ARCH% --confirm_step instrument_deploy_main
8782IF %errorlevel% neq 0 exit /b %errorlevel%
88- ENDLOCAL
8983
9084start /i /wait cmd /c " %START_IBEX% "
9185
92- REM start_ibex_server calls config_env which means we have to reactivate our venv
93- call " %~dp0 _activate_venv.bat"
94- call " %~dp0 set_epics_ca_addr_list.bat"
95-
9686call python " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --server_arch %SERVER_ARCH% --confirm_step instrument_deploy_post_start
9787call rmdir /s /q %UV_TEMP_VENV%
9888
Original file line number Diff line number Diff line change @@ -35,14 +35,8 @@ set "STOP_IBEX=C:\Instrument\Apps\EPICS\stop_ibex_server"
3535set " START_IBEX = C:\Instrument\Apps\EPICS\start_ibex_server"
3636IF EXIST " C:\Instrument\Apps\EPICS" (start /wait cmd /c " %STOP_IBEX% " )
3737
38-
39- REM stop_ibex_server calls config_env which means we have to reactivate our venv
40- call " %~dp0 _activate_venv.bat"
41- call " %~dp0 set_epics_ca_addr_list.bat"
42-
4338call python " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --server_arch %SERVER_ARCH% --confirm_step instrument_install
4439if %errorlevel% neq 0 goto ERROR
45- ENDLOCAL
4640
4741start /wait cmd /c " %START_IBEX% "
4842
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ if %errorlevel% neq 0 goto ERROR
2020set " STOP_IBEX = C:\Instrument\Apps\EPICS\stop_ibex_server.bat"
2121IF EXIST " C:\Instrument\Apps\EPICS" (
2222 call " %STOP_IBEX% "
23- REM stop_ibex_server calls config_env which means we have to reactivate our venv
24- call " %~dp0 _activate_venv.bat"
2523) else (
2624 REM in case one has been left around running in the background
2725 taskkill /f /im caRepeater.exe
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ set "START_IBEX=C:\Instrument\Apps\EPICS\start_ibex_server"
1111
1212start /wait cmd /c " %STOP_IBEX% "
1313
14- call " %~dp0 _activate_venv.bat"
1514call python -u " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --confirm_step force_upgrade_mysql
1615
1716IF %errorlevel% neq 0 (
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ IF EXIST "C:\Instrument\Apps\EPICS\stop_ibex_server.bat" (
1212 start /wait cmd /c " C:\Instrument\Apps\EPICS\stop_ibex_server.bat"
1313)
1414
15- call " %~dp0 _activate_venv.bat"
1615call " %LATEST_PYTHON% " " %~dp0 IBEX_upgrade.py" --kits_icp_dir " %KITS_ICP_PATH% " create_vhds --quiet --no_log_to_var
1716IF %ERRORLEVEL% NEQ 0 (
1817 set errcode = %ERRORLEVEL%
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ IF EXIST "C:\Instrument\Apps\EPICS\stop_ibex_server.bat" (
1111 start /wait cmd /c " C:\Instrument\Apps\EPICS\stop_ibex_server.bat"
1212)
1313
14- call " %~dp0 _activate_venv.bat"
1514call python " %~dp0 IBEX_upgrade.py" --kits_icp_dir " %KITS_ICP_PATH% " request_dismount_vhds --quiet --no_log_to_var
1615
1716IF %ERRORLEVEL% NEQ 0 (
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ IF EXIST "C:\Instrument\Apps\EPICS\stop_ibex_server.bat" (
1111 start /wait cmd /c " C:\Instrument\Apps\EPICS\stop_ibex_server.bat"
1212)
1313
14- call " %~dp0 _activate_venv.bat"
1514call python -u " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " create_vhds --quiet --no_log_to_var
1615
1716IF %ERRORLEVEL% NEQ 0 (
You can’t perform that action at this time.
0 commit comments