# infra **Repository Path**: A1waysBeenHere/infra ## Basic Information - **Project Name**: infra - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: codearts_ci_ascend - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-09 - **Last Updated**: 2025-09-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # The infrastructure repo for openMind ## CI 目录 该目录用于存放 CI 相关的DockerFile、配置文件和脚本 ### 如何触发CI镜像构建 1. 修改`ci/images/`中的`DockerFile`文件,PR合入后会自动触发构建 2. 修改其他非`DockerFile`文件,PR合入后不会自动触发构建。如果想触发构建,则PR的标题需要包含`[rebuild]`关键字。具体场景如下: - [rebuild][openMind] - 会触发`ci/images/DockerFile-openMind`镜像构建 - [rebuild][openMind][openMind_hub] - 会触发`ci/images/DockerFile-openMind`和`ci/images/DockerFile-openMind_hub`镜像构建 - [rebuild][all] - 会触发`ci/images/`下面所有Dockerfile的镜像构建 - [rebuild][all][openMind] - 虽然指定了all,但还指定了其他项目,不会触发构建 - [rebuild] - 虽然指定了rebuild,但没有指定项目,不会触发构建 ### 本地手动构建 用户可以本地手动构建镜像,用作测试,以openMind为例: ``` docker build -t test:v1 -f ci/images/DockerFile-openMind . ``` 默认构x86版本,如果想构建arm64版本,则命令如下: ``` docker build -t test:v1 -f ci/images/DockerFile-openMind --build-arg ARCH=arm64 . ``` ## dist目录 该目录用于临时存放一些CI环境要使用的二进制安装包,包括: 1. 暂未发布,公网不可获得正式release的软件,例如: mindformers的openMind版本、openmind_hub 2. 大陆网络访问下载困难的软件,例如: github release的软件(dumb-init、git-lfs)