Pipeline Config Option

imageRepo

Devstream will add a build stage in CI if you have configured this option. This stage will build a docker image and push this image to the configured image repository(like Dockerhub or self-host Harbor).

Options

OptionDescription
userthe user name of image repository
urlthe address of image repository, the default value is Dockerhub address
passwordthe password of user, this config option is used for auth when pushing image

dingTalk

Devstream will add a notify stage in CI if you have configured this option. This stage will notify DingDing whether this CI is successful or failed.

Options

OptionDescription
namethe name of dingding robot
webhookthe webhook of dingding robot
securityTypethe auth method of dingding robot, support SECRET/KEYWORD for now
securityValueif you set securityType to SECRET, you can set this value to secret value

sonarqube

Devstream will add a scanner stage in CI if you have configured this option. This stage will use sonarqube to scan code.

Options

OptionDescription
namethe name of sonarqube
tokenthe token of sonarqube, you can refer to this doc to get this token
urlthe url address of soanrqube

language

If you config this option, Devstream will add the language’s default option in the pipeline. For example, if you set name to golang, CI test stage will use go test ./... to run the test command.

Options

OptionDescription
namename of programing language
frameworkthe framework
versionthe version of programing language