packageStep - ODEX-TOS/tos-installer-backend GitHub Wiki
A package is an execution step. This execution step takes as an argument the name of a package model specified in the models section. It will then install all packages specified in the model. Lets take a look at the yaml
models:
- packages:
- package:
name: "userpackages"
packagefile: "packages.txt" # either from a file
- package:
name: "userpackages2"
install: "yay -Syu --noconfirm"
package: # or a list in this format
- package1
- package2
execution:
- packages: "userpackages" # install all packages from the file packages.txt
- packages: "userpackages2" # install all package listed in the package array