0.0.6 • Published 3 years ago
@maxbuild/internal-ci-cli v0.0.6
MAXBUILD internal ci cli
pipe.sh
#!/bin/sh
###############################
# Desc:
# SH_CI_TARGET
# SH_CI_PIPELINE_NAME
# SH_CI_PROFILE
# SH_CI_TEAM
###############################
###############################
# pipeline name
###############################
SH_CI_PIPELINE_NAME="xxx"
###############################
# deploy pk
###############################
SH_DEPLOY_PK="xxxx"
###############################
# (optional) help document
###############################
SH_HELP_DOC_INSTALL="install"
SH_HELP_DOC_REMOVE="remove"
SH_HELP_DOC_PREPARE="[deprecated]"
###############################
# (optional) prepare the pipeline, it only needs to be executed once.
###############################
sh_prepare(){
# ...
}
###############################
# (optional) remove recent pipeline
###############################
sh_remove_pipe(){
# ...
}
###############################
# add new pipeline
###############################
sh_install_pipe(){
# ...
}
vars-\<profile>.yaml
sh-ci-team: main