Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling latest definitions moved to script generator #77

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions installation_and_upgrade/ibex_install_utils/install_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def run_instrument_install(self):
self._system_tasks.update_web_dashboard()
self._system_tasks.update_kafka_topics()
self._system_tasks.put_autostart_script_in_startup_area()
self._python_tasks.update_script_definitions()

def run_instrument_deploy(self):
"""
Expand Down Expand Up @@ -191,7 +190,6 @@ def run_instrument_deploy_main(self):
self._system_tasks.apply_changes_noted_in_release_notes()
self._system_tasks.update_release_notes()
self._system_tasks.reapply_hotfixes()
self._python_tasks.update_script_definitions()

def run_instrument_deploy_pre_stop(self):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ def install_genie_python3(self):
self._file_utils.mkdir_recursive(APPS_BASE_DIR)
RunProcess(self._genie_python_3_source_dir, "genie_python_install.bat").run()

@task("Change genie_python shortcuts to python 3")
def change_shortcuts_to_python_3(self):
"""
Prompt user to find shortcuts to genie_python and replace them with Python 3 shortcuts
"""

self.prompt.prompt_and_raise_if_not_yes(
"Relace any shortcuts to genie_python with those to python 3 in C:\\Instrument\\Apps\\Python3")

@task("Update script generator script definitions")
def update_script_definitions(self):
"""
Expand Down