calvinjiang opened a new pull request #6082: URL: https://github.com/apache/dolphinscheduler/pull/6082
<!--Thanks very much for contributing to Apache DolphinScheduler. Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.--> ## Purpose of the pull request This PR closes #5987 . Now we can set an environment config in the file 'dolphinscheduler_env.sh' , but probably you need to modify this file in many servers. And a worker can't support to switch environment from one to another. This PR provides new feature that you can choose an environment config for different tasks. <!--(For example: This pull request adds checkstyle plugin).--> ## Brief change log 1.Add a web page to manage environments and create multiple environments in this page. 2.You can set some config like 'dolphinscheduler_env.sh' in a new environment and save it.  3.An environment can be linked with multiple worker groups, so need to link them together.  4.When set the config of a task, you may choose an environment to run this task.  5.When you manually run the process, you can choose one of environments that already linked with the worker group.  6.When you set a timer for your process, you can choose one of environments that already linked with the worker group.  5.Before running a task, the system will make up the file 'dolphinscheduler_env.sh' for this task.  <!--*(for example:)* - *Add maven-checkstyle-plugin to root pom.xml* --> ## Verify this pull request <!--*(Please pick either of the following options)*--> This change added tests and can be verified as follows: - *Manually verified the change by testing locally.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
