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

feature: 支持指定脚本解释器运行脚本 #3321

Open
nekzhang opened this issue Dec 9, 2024 · 0 comments
Open

feature: 支持指定脚本解释器运行脚本 #3321

nekzhang opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
backlog 需求初始状态,等待产品进行评估 kind/enhancement 功能改进特性

Comments

@nekzhang
Copy link
Collaborator

nekzhang commented Dec 9, 2024

image
  • 在脚本执行相关的页面添加选项:

    • 勾选后,出现输入框,可以填写自定义解释器路径
    • 勾选项的hover帮助词条:
      • zh 使用目标机器指定路径下的解释器运行本脚本(近对Windows有效)
      • en Run this script using the interpreter in the specified path on the target hosts (Only for Windows)
    • 出现的输入框 placeholder 词条:
      • zh 输入目标机器上的自定义解释器软件路径,如:/usr/local/python-2/bin/python
      • en Enter the path of the custom interpreter software on the target machine, such as: /usr/local/python-2/bin/python
  • 与GSE约定的逻辑如下:

    1. 指定解释器版本路径只面向Windows机器,Linux机器指定也忽略
    2. 指定解释器是通用逻辑,不仅仅是python,只要用户指定了,我们就严格按照用户指定的解释器程序去跑脚本
    3. SQL不用处理,这个是JOB自己用shell封装的逻辑
    4. 当执行目标机器同时出现linux和windows时,并且用户指定了解释器路径,二次提醒窗口告知用户,只作用于windows
@nekzhang nekzhang added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog 需求初始状态,等待产品进行评估 kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

3 participants