deploy_tool
deploy_tool is used for batch tool installation.
During an installation, the /tmp directory on the target node is used to store temporary files. After the installation is complete, the temporary files in this directory are deleted. The installation fails if the /tmp directory on the target node has insufficient drive space.
Command Function
Installs tools based on the valid roles specified in the machine.yaml configuration file.
Syntax
deploy_tool [-h] [-f YAML_PATH] [--silent]
View the tool usage instructions.
./deploy_tool -h
Command output:
usage: deploy_tool [-h] [-f YAML_PATH] [--silent]
devkit-pipeline deploy_tool
optional arguments:
-h, --help show this help message and exit
-f YAML_PATH, --config YAML_PATH
Assign yaml config file path. Default path is 'machine.yaml' in current directory.
--silent Close debug log.
Parameter Description
Parameter |
Option |
Description |
|---|---|---|
-h/--help |
- |
(Optional) Obtains help information. |
-f/--config |
YAML_PATH |
(Optional) machine.yaml file path. |
--silent |
- |
(Optional) Disables debug logs. |
Use Case
Install tools based on the valid roles specified in the machine.yaml configuration file.
./deploy_tool -f ./machine.yaml
Role |
Tool |
|---|---|
scanner |
DevKit CLI |
java_builder_jdk8 |
BiSheng JDK 8 |
java_builder_jdk17 |
BiSheng JDK 17 |
c_builder_gcc |
GCC for openEuler and A-FOT |
c_builder_bisheng_compiler |
BiSheng Compiler (non-invasive switching) |
compatibility |
Compatibility Testing |
devkit |
DevKit Web |
clamav |
ClamAV |
tester |
Java Performance Testing |