pmbootstrap/pmb/parse
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 Happy new year 2022! 2022-01-02 22:39:14 +01:00
_apkbuild.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
apkindex.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
arch.py pmb: enable riscv64 architecture (MR 2215) 2022-10-19 09:11:54 +02:00
arguments.py pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
binfmt_info.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
bootimg.py pmb.parse.bootimg: Add preliminary support for header v2 (MR 2194) 2022-07-18 14:49:16 -07:00
cpuinfo.py Happy new year 2022! 2022-01-02 22:39:14 +01:00
depends.py pmb.parse.depends: ignore conflict dependency that no longer exists (MR 2181) 2022-05-12 22:26:53 -07:00
deviceinfo.py treewide: fix various lint errors (MR 2197) 2022-08-19 10:40:25 +02:00
kconfig.py pmb.parse.kconfig: rename anbox check to waydroid (MR 2204) 2022-09-13 09:30:23 +02:00
version.py treewide: fix various lint errors (MR 2197) 2022-08-19 10:40:25 +02:00