检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
构建参数,可在构建过程中引用 - name: CLOUD_BUILD_UPLOAD_FLAG # 参数为有值和为空两种状态,可控制跳过缓存上传至文件服务器 value: true - name: CLOUD_BUILD_REMOTE_CACHE # 参数为有值和为空两种状态,可控制会从其他执行机获取缓存
out/rk3568/clang_x64/exe.unstripped,!out/rk3568/clang_x64/lib.unstripped,!out/rk3568/mingw_x86_64/lib.unstripped,+out/rk3568/obj/base/security/selinux_adapter"
资源类型 resource_spec_code String 资源规格 tips tips object 咨询 表4 tips 参数 参数类型 描述 summary Tips object 资讯 表5 Tips 参数 参数类型 描述 status Integer 状态 next_action
ninja文件缓存选项 参数项 说明 示例 TB_CACHE_SERVER_IP ninja文件缓存开关,和TB_CACHE_ARCHIVE_PATH同时设置时缓存才会开启。 非空值:开启,如果开启了远端缓存,该值视为远端服务器IP。 空值:关闭(默认)。 172.example.example
scope String 模板范围,自定义模板默认为custom description String 模板说明 tool_type String 构建工具类型,yaml构建还是action构建 intl_description Object intl说明 parameters Array
配置构建步骤并执行构建任务 配置“Npm构建”。 在命令编辑器里,npm run build命令前加“#”,新增zip -r ./nodeserver.zip ./命令,用来将代码打包成“nodeserver.zip”,如图1所示。其他参数保持默认即可。 图1 命令示例 按图2所示配置“上传软件包到软件发布库”。
需已具备CodeArts Repo服务的操作权限,具体操作可参考授权使用CodeArts Repo服务。 前提准备 已参考自定义购买ECS购买自定义执行机使用的弹性云服务器。 操作流程 表1 操作流程 流程 说明 新建项目 为本实践新建项目。 新建自定义执行机资源池 为本实践新建所需的自定义执行机资源池。
scope String 模板范围,自定义模板默认为custom description String 模板说明 tool_type String 构建工具类型,yaml构建还是action构建 intl_description Object intl说明 parameters Array
多种构建常用的配置环境工具,用户可以根据需要配置自定义构建环境。 内置环境工具如下: jdk 1.8、maven、git、ant、zip、unzip、gcc、cmake、make。 操作步骤 访问CodeArts Build服务首页。 在编译构建首页右上角单击“更多”,在下拉列表选择“自定义构建环境”。
Build服务进行源代码编译构建之外的操作。 禁止使用sleep、usleep、read、timeout、yes、dd、while循环等命令长期(超过10分钟)占用服务器进程。 命名限制 限制项 说明 构建任务名称 支持中英文,数字,下划线“_”和连接符“-”。 字符长度范围为1~115。 构建步骤名称 支
-Dmaven.test.skip=true -U -e -X -B命令前加“#”注释,删除mvn deploy -Dmaven.test.skip=true -U -e -X -B前的“#”,并将mvn deploy -Dmaven.test.skip=true -U -e -X
"value" : "master" }, { "name" : "description", "value" : "description" }, { "name" : "deletion", "value"
"value" : "master" }, { "name" : "description", "value" : "description" }, { "name" : "deletion", "value"
installed: OpenJDK 1.8.0_40, Maven 3.5.3, Ant 1.10.3, Git, Wget, zip, unzip, bzip2, GCC, Make, and CMake.", "create_time" : "2021-08-17T00:00:00
scope String 模板范围,自定义模板默认为custom description String 模板说明 tool_type String 构建工具类型,yaml构建还是action构建 intl_description Object intl说明 parameters Array
ckerfile文件制作Redis镜像,并将镜像推送到容器镜像服务。 替换Docker-Compose部署文件镜像版本 为了将镜像部署到ECS时,能够可以拉取到正确的镜像,使用shell命令进行完成以下操作。 使用sed命令,依次将文件“docker-compose-standalone
0/dotnet-sdk-2.0.0-win-x64.zip -OutFile dotnet2.0.0.zip; 解压到当前路径下。 powershell -Command Expand-Archive dotnet2.0.0.zip; 复制sdk目录到“${Env:ProgramFiles}\dotnet\sdk”下。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted