Skip to content

Commit

Permalink
rebase: rebase inner patches
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Dec 31, 2024
1 parent 3cfbbfa commit da33cf9
Show file tree
Hide file tree
Showing 29 changed files with 1,670 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
target
target
Dockerfile.aa
Dockerfile.cdh
36 changes: 36 additions & 0 deletions APPLICATION/attestation-agent/buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: &NAME
version: &VERSION
image_type: &IMAGE_TYPE
baseos_version: &BASEOS_VERSION

# 定义镜像仓库信息
repository_info:
acr: &ACR_PROD confidential-ai-registry.cn-shanghai.cr.aliyuncs.com/product/attestation-agent

# 定义镜像测试信息
t-one:
# 配置测试信息 workspace 和模版
workspace: &WORKSPACE anolis
project: &PROJECT default_anolis
test_suite: &TEST_SUITE image-ci-test
# 执行测试 case, 多个用数组表示
test_conf: &TEST_CONF baseos_container
test_case: &TEST_CASE baseos_container_default
cloud_server_tag: &CLOUD_SERVER_TAG [alinux-image-ci-x86-ecs]

# 构建镜像配置
images:
# 分组名称,支持自定义
Attestation-Agent:
build: true
test: false
region: cn-hongkong
platform: [linux/amd64]
docker_file:
path: Dockerfile.aa
scene:
args: []
tags: [[0.0.2, latest]]
registry: [*ACR_PROD]
# 测试配置
test_config: [*WORKSPACE, *PROJECT, *TEST_SUITE, *TEST_CONF, *TEST_CASE, *CLOUD_SERVER_TAG[0], '']
13 changes: 13 additions & 0 deletions APPLICATION/attestation-agent/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 版本关系依赖表,默认继承 version-base.yml 配置,可重写覆盖
BaseDependency: ../version-base.yml
Dependency:
name: trustiflux
image_type: application
versions:
1.0.1:
# 对 AI 框架版本对 python 版本的要求
python_version: []
# gpu 对 cuda 版本的要求
cuda_version: []
# 对 baseos 的要求,*AnolisOS8.6 表示 Anolis8.6
baseos_version: [*Alinux3.2304]
36 changes: 36 additions & 0 deletions APPLICATION/ci-image/buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: &NAME
version: &VERSION
image_type: &IMAGE_TYPE
baseos_version: &BASEOS_VERSION

# 定义镜像仓库信息
repository_info:
acr: &ACR_PROD confidential-ai-registry.cn-shanghai.cr.aliyuncs.com/dev/guest-components-ci

# 定义镜像测试信息
t-one:
# 配置测试信息 workspace 和模版
workspace: &WORKSPACE anolis
project: &PROJECT default_anolis
test_suite: &TEST_SUITE image-ci-test
# 执行测试 case, 多个用数组表示
test_conf: &TEST_CONF baseos_container
test_case: &TEST_CASE baseos_container_default
cloud_server_tag: &CLOUD_SERVER_TAG [alinux-image-ci-x86-ecs]

# 构建镜像配置
images:
# 分组名称,支持自定义
CI-image:
build: true
test: false
region: cn-hongkong
platform: [linux/amd64]
docker_file:
path: Dockerfile.ci
scene:
args: []
tags: [[0.0.2, latest]]
registry: [*ACR_PROD]
# 测试配置
test_config: [*WORKSPACE, *PROJECT, *TEST_SUITE, *TEST_CONF, *TEST_CASE, *CLOUD_SERVER_TAG[0], '']
13 changes: 13 additions & 0 deletions APPLICATION/ci-image/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 版本关系依赖表,默认继承 version-base.yml 配置,可重写覆盖
BaseDependency: ../version-base.yml
Dependency:
name: trustiflux
image_type: application
versions:
1.0.1:
# 对 AI 框架版本对 python 版本的要求
python_version: []
# gpu 对 cuda 版本的要求
cuda_version: []
# 对 baseos 的要求,*AnolisOS8.6 表示 Anolis8.6
baseos_version: [*Alinux3.2304]
36 changes: 36 additions & 0 deletions APPLICATION/confidential-data-hub/buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: &NAME
version: &VERSION
image_type: &IMAGE_TYPE
baseos_version: &BASEOS_VERSION

# 定义镜像仓库信息
repository_info:
acr: &ACR_PROD confidential-ai-registry.cn-shanghai.cr.aliyuncs.com/product/confidential-data-hub

# 定义镜像测试信息
t-one:
# 配置测试信息 workspace 和模版
workspace: &WORKSPACE anolis
project: &PROJECT default_anolis
test_suite: &TEST_SUITE image-ci-test
# 执行测试 case, 多个用数组表示
test_conf: &TEST_CONF baseos_container
test_case: &TEST_CASE baseos_container_default
cloud_server_tag: &CLOUD_SERVER_TAG [alinux-image-ci-x86-ecs]

# 构建镜像配置
images:
# 分组名称,支持自定义
Confidential-Data-Hub:
build: true
test: false
region: cn-hongkong
platform: [linux/amd64]
docker_file:
path: Dockerfile.cdh
scene:
args: []
tags: [[0.0.1, latest]]
registry: [*ACR_PROD]
# 测试配置
test_config: [*WORKSPACE, *PROJECT, *TEST_SUITE, *TEST_CONF, *TEST_CASE, *CLOUD_SERVER_TAG[0], '']
13 changes: 13 additions & 0 deletions APPLICATION/confidential-data-hub/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 版本关系依赖表,默认继承 version-base.yml 配置,可重写覆盖
BaseDependency: ../version-base.yml
Dependency:
name: trustiflux
image_type: application
versions:
1.0.1:
# 对 AI 框架版本对 python 版本的要求
python_version: []
# gpu 对 cuda 版本的要求
cuda_version: []
# 对 baseos 的要求,*AnolisOS8.6 表示 Anolis8.6
baseos_version: [*Alinux3.2304]
149 changes: 145 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ ctr = "0.9.2"
env_logger = "0.11.6"
hex = "0.4.3"
hmac = "0.12.1"
jwt-simple = { version = "0.12", default-features = false, features = ["pure-rust"] }
kbs-types = "0.7.0"
jwt-simple = { version = "0.12", default-features = false, features = [
"pure-rust",
] }
kbs-types = { git = "https://github.com/inclavare-containers/kbs-types.git", rev = "d881395" }
lazy_static = "1.5.0"
log = "0.4.22"
nix = "0.29"
Expand Down
Loading

0 comments on commit da33cf9

Please sign in to comment.