Commit Graph

39 Commits (4ad2700f06e73e615d5bf854dac6e1c727e43b6f)

Author SHA1 Message Date
trivernis 4ad2700f06
Fix the run-in-chroot check 2 years ago
trivernis 6d538c70ad
Improve chrooting error messages 2 years ago
trivernis d89ce35495
Change errors to miette diagnostics 2 years ago
Michal Stopyra 9f840d5310 fix: finally fix CI 2 years ago
Michal Stopyra a19bda9939 chore: fix CI lints 2 years ago
trivernis a5468c8217 Add indicator for scripts if they should be run in a different root 2 years ago
trivernis 9dff21dc53 Fix missing file link and resolv.conf in chroot 2 years ago
trivernis 735a34e2d2 Add mounting of system directories when chrooting 2 years ago
trivernis 35b2ed5782 Add ChrootedTask to run all tasks in a different (curently hardcoded) root 2 years ago
trivernis 2c998d1445
Update README and make config_key optional 2 years ago
trivernis 0cad5f7d02
Fix clippy warnings 2 years ago
trivernis a44b235f83
Add order field for a task execution order 2 years ago
trivernis d50cbf4ca1
Improve error reporting 2 years ago
trivernis 618c1ddf9f
Add config loading and task executor initialization 2 years ago
trivernis 3f85c87202
[BROKEN] Add missing type definitions for config 2 years ago
trivernis a8426cb4f9
[BROKEN!] Refactor tasks to allow dynamic loading and executing 2 years ago
trivernis 23728d05ff
Move os config to different directory 2 years ago
trivernis 07fe67df24
Add newline to end of all script files 2 years ago
trivernis 91172ddd55
Change trm to us up and down scripts instead of scripts and hooks 2 years ago
trivernis e52c3c5b3a
Apply changes caused by upstream rusty-value changes 2 years ago
trivernis 30a88572b7
Fix clippy warnings 2 years ago
trivernis fd97b535df
Replace ALL of the nu stuff with embed-nu 2 years ago
trivernis 8d37f60cd7
Add cli 2 years ago
trivernis fae57a7e3f
Add function to generate script files (and generate them) 2 years ago
trivernis e27e798a38
Add missing tasks
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis d19f405911
Add hooks 2 years ago
trivernis bf2f0a5b83
Add config and improve variable handling
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 662d3f749c
Add script definitions for all base tasks
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 2b6e663f54
Add tracing to some more functions 2 years ago
trivernis 52b39b1598
Cleanup code and fix clippy warnings
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 1b617577e2
Add serde serializer for record values
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 6c21d3164a
Add AST builder for script arguments
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 69e7b98404
Refactor script parsing and error handling 2 years ago
trivernis a1b8750a8e
Add example user creation script and execution logic 2 years ago
trivernis c67c5fe78b
Inline allocations
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis c246a06ce5
Change executor to execute asynchronously
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 28401df26a
Add input variables and improve parsing
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis f6ce57b5f6
Add script types
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 0c7bbe6034
Add nu script execution capabilities
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago