pmbootstrap/pmb/config
Oliver Smith 0bcd58765c
pmbootstrap ci: new command
Add a new command that makes running CI scripts easy. The user goes to
the git repository of choice, which has CI scripts written in a certain
format, and then runs 'pmbootstrap ci' to get an interactive selection
of which of the available scripts to run (or "all"). Specifying one or
multiple scripts on the command-line is also possible, e.g.

$ pmbootstrap ci flake8
$ pmbootstrap ci shellcheck flake8 pytest
$ pmbootstrap ci --all

pmbootstrap then either runs the selected scripts in a chroot (and
installs dependencies as defined at the beginning of the CI scripts), or
natively (with checks inside the scripts for having dependencies
installed). Running natively is needed for .ci/pytest.sh in this
pmbootstrap.git repository, as pmbootstrap can't run inside pmbootstrap.
Running natively or in chroot is defined in an "# Options: " comment
inside the script file.

Documentation for this command and how script files look like:
https://postmarketos.org/pmb-ci
2022-10-25 20:31:19 +02:00
..
__init__.py pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
init.py pmb.config.init: fix init when work path is an empty directory (MR 2192) 2022-06-24 14:57:20 +02:00
load.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
merge_with_args.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
pmaports.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
save.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
sudo.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
workdir.py Happy new year 2022! 2022-01-02 22:39:14 +01:00