History log of /DADK/tests/data/dadk_config_v1/ (Results 1 – 5 of 5)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a013ae1216-Nov-2024 LoGin <longjin@DragonOS.org>

refactor: 删除rust_target字段 (#83)


/DADK/.github/workflows/docs.yml
/DADK/.github/workflows/rust.yml
/DADK/Cargo.toml
/DADK/README.md
/DADK/crates/test_base/src/lib.rs
/DADK/dadk-config/src/common/mod.rs
/DADK/dadk-config/src/common/task.rs
/DADK/dadk-config/src/rootfs/mod.rs
/DADK/dadk-config/src/rootfs/partition.rs
/DADK/dadk-config/src/rootfs/utils/size.rs
/DADK/dadk-config/src/user/mod.rs
/DADK/dadk-config/templates/config/rootfs.toml
/DADK/dadk-config/templates/config/userapp_config.toml
/DADK/dadk-config/tests/test_rootfs_config.rs
/DADK/dadk-config/tests/test_user_config.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/executor/source.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
/DADK/dadk-user/src/parser/mod.rs
/DADK/dadk-user/src/parser/task.rs
/DADK/dadk-user/src/scheduler/mod.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/actions/mod.rs
/DADK/dadk/src/actions/rootfs/disk_img.rs
/DADK/dadk/src/actions/rootfs/loopdev.rs
/DADK/dadk/src/actions/rootfs/mod.rs
/DADK/dadk/src/actions/rootfs/sysroot.rs
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/console/rootfs.rs
/DADK/dadk/src/context/mod.rs
/DADK/dadk/src/utils.rs
/DADK/docs/.gitignore
/DADK/docs/.vuepress/config.js
/DADK/docs/README.md
/DADK/docs/dev-guide/README.md
/DADK/docs/package-lock.json
/DADK/docs/package.json
/DADK/docs/user-manual/README.md
/DADK/tests/data/.gitignore
/DADK/tests/data/config/rootfs.toml
app_all_target_arch_0_1_0.dadk
app_normal_0_1_0.dadk
app_normal_with_env_0_1_0.dadk
app_normal_with_env_fail_0_1_0.dadk
app_target_arch_empty_should_fail_0_1_0.dadk
app_target_arch_riscv64_only_0_1_0.dadk
app_target_arch_x86_64_0_1_0.dadk
app_target_arch_x86_64_only_0_1_0.dadk
app_target_arch_x86_64_uppercase_0_1_0.dadk
/DADK/tests/data/dadk_config_v2/app_all_target_arch_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
eaa67f3c27-Oct-2024 LoGin <longjin@DragonOS.org>

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

Sign

feat(dadk): 新的console & dadk-insiders测试目标 (#70)

- 把用户程序编译的功能改到了`dadk user`命令目录下
- 添加了用于开发测试的二进制文件`dadk-insiders`: 使用命令`cargo install --bin dadk-insiders --path ./dadk`即可安装. 开发测试不会跟已有的dadk冲突

Signed-off-by: longjin <longjin@DragonOS.org>

show more ...


/DADK/.github/dependabot.yml
/DADK/.github/workflows/rust.yml
/DADK/Cargo.toml
/DADK/crates/test_base/Cargo.toml
/DADK/crates/test_base/src/dadk_config.rs
/DADK/crates/test_base/src/dadk_user.rs
/DADK/crates/test_base/src/global.rs
/DADK/crates/test_base/src/lib.rs
/DADK/dadk-config/Cargo.toml
/DADK/dadk-config/src/boot/dragonstub.rs
/DADK/dadk-config/src/boot/grub.rs
/DADK/dadk-config/src/boot/hypervisor/hyp_type.rs
/DADK/dadk-config/src/boot/hypervisor/mod.rs
/DADK/dadk-config/src/boot/hypervisor/qemu.rs
/DADK/dadk-config/src/boot/metadata.rs
/DADK/dadk-config/src/boot/mod.rs
/DADK/dadk-config/src/boot/uboot.rs
/DADK/dadk-config/src/common/mod.rs
/DADK/dadk-config/src/common/target_arch.rs
/DADK/dadk-config/src/lib.rs
/DADK/dadk-config/src/manifest.rs
/DADK/dadk-config/src/rootfs/fstype.rs
/DADK/dadk-config/src/rootfs/mod.rs
/DADK/dadk-config/src/rootfs/utils/mod.rs
/DADK/dadk-config/src/rootfs/utils/size.rs
/DADK/dadk-config/src/user/mod.rs
/DADK/dadk-config/src/utils.rs
/DADK/dadk-config/templates/config/boot.toml
/DADK/dadk-config/templates/config/rootfs.toml
/DADK/dadk-config/templates/dadk-manifest.toml
/DADK/dadk-config/tests/test_boot_config.rs
/DADK/dadk-config/tests/test_dadk_manifest.rs
/DADK/dadk-config/tests/test_rootfs_config.rs
/DADK/dadk-user/Cargo.toml
/DADK/dadk-user/src/context.rs
/DADK/dadk-user/src/executor/README.md
/DADK/dadk-user/src/executor/cache.rs
/DADK/dadk-user/src/executor/mod.rs
/DADK/dadk-user/src/executor/source.rs
/DADK/dadk-user/src/executor/target.rs
/DADK/dadk-user/src/executor/tests.rs
/DADK/dadk-user/src/lib.rs
/DADK/dadk-user/src/parser/README.md
/DADK/dadk-user/src/parser/config.rs
/DADK/dadk-user/src/parser/mod.rs
/DADK/dadk-user/src/parser/task.rs
/DADK/dadk-user/src/parser/task_log.rs
/DADK/dadk-user/src/scheduler/README.md
/DADK/dadk-user/src/scheduler/mod.rs
/DADK/dadk-user/src/scheduler/task_deque.rs
/DADK/dadk-user/src/scheduler/tests.rs
/DADK/dadk-user/src/static_resources/mod.rs
/DADK/dadk-user/src/static_resources/targets/rust/x86_64-unknown-dragonos.json
/DADK/dadk-user/src/utils/file.rs
/DADK/dadk-user/src/utils/lazy_init.rs
/DADK/dadk-user/src/utils/mod.rs
/DADK/dadk-user/src/utils/path.rs
/DADK/dadk-user/src/utils/stdio.rs
/DADK/dadk-user/templates/config/build_from_source/test_archive.toml
/DADK/dadk-user/templates/config/build_from_source/test_git.toml
/DADK/dadk-user/templates/config/build_from_source/test_local.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_archive.toml
/DADK/dadk-user/templates/config/install_from_prebuilt/test_local.toml
/DADK/dadk-user/tests/test_parse_dadk_user_config.rs
/DADK/dadk/Cargo.toml
/DADK/dadk/src/actions/mod.rs
/DADK/dadk/src/actions/user.rs
/DADK/dadk/src/console/mod.rs
/DADK/dadk/src/console/rootfs.rs
/DADK/dadk/src/console/tests.rs
/DADK/dadk/src/console/user.rs
/DADK/dadk/src/context/manifest.rs
/DADK/dadk/src/context/mod.rs
/DADK/dadk/src/lib.rs
/DADK/dadk/src/main.rs
/DADK/dadk/src/utils.rs
/DADK/tests/data/dadk-manifest.toml
app_all_target_arch_0_1_0.dadk
/DADK/tests/data/dadk_config_v2/app_all_target_arch_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_normal_with_env_fail_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_riscv64_only_0_2_0.toml
/DADK/tests/data/dadk_config_v2/app_target_arch_x86_64_only_0_2_0.toml
9efba7ee27-Apr-2024 LoGin <longjin@DragonOS.org>

feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。 (#42)

* feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。

在dadk配置文件内添加target_arch字段,实现根据不同的架构来自动编译对应的包。

## DADK 在运行时如何获得“当前编译的目标架构?”

按照以下顺序获取(一旦获取成功就不会继续尝试

feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。 (#42)

* feat: 添加target_arch字段,实现根据不同的架构来自动编译对应的包。

在dadk配置文件内添加target_arch字段,实现根据不同的架构来自动编译对应的包。

## DADK 在运行时如何获得“当前编译的目标架构?”

按照以下顺序获取(一旦获取成功就不会继续尝试其他方法来获取)
1. 根据命令行传入的`--target-arch`字段获取
2. 根据`ARCH`环境变量获取
3. 如果都获取不到,则默认设置为x86_64

## 哪些任务将会被执行?

如果dadk配置文件没有指定target_arch,那么该字段的默认值的获取顺序为:
1. 根据`ARCH`环境变量获取
2. 如果获取不到,则默认设置为x86_64

当任务的`target_arch`字段包含了当前编译的目标架构时,任务将会被执行。

show more ...

820df76227-Apr-2024 LoGin <longjin@DragonOS.org>

test: 为executor添加环境变量检测及错误检测的测试用例,并修复了任务执行错误后仍继续运行的bug (#39)

60f366c926-Apr-2024 LoGin <longjin@DragonOS.org>

ci: 添加单元测试和集成测试 (#36)

* ci: 添加单元测试和集成测试