我要评分
获取效率
正确性
完整性
易理解

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

Table 1 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
deploy_tool supports installing tools based on predefined roles, as listed in Table 2.
Table 2 Relationship between roles and tools

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