pmbootstrap/pmb
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
..
aportgen pmb.aportgen.device: no depend on mesa-dri-gallium (MR 2210) 2022-10-12 08:24:53 +02:00
build pmb: build: envkernel: Fix bind mount detection (MR 2217) 2022-10-20 11:41:27 +02:00
chroot pmb.chroot.root: set PYTHONUNBUFFERED=1 (MR 2209) 2022-10-07 09:02:53 +02:00
ci pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
config pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
data pmb: data: keys: sync with Alpine (MR 2131) 2021-10-19 01:44:35 +02:00
export pmb/export: Fix Odin export filenames (MR 2191) 2022-06-23 17:45:47 +02:00
flasher pmb: flasher: frontend: don't fail if kernel config cannot be found (MR 2184) 2022-06-06 09:52:17 +02:00
helpers pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
install Rename Chrome OS kernel partition to pmOS_kernel (MR 2187) 2022-06-08 23:16:17 +03:00
netboot pmb/netboot: new feature (MR 2064) 2022-01-20 22:29:41 +01:00
parse pmbootstrap ci: new command 2022-10-25 20:31:19 +02:00
qemu pmb.qemu.run: drop removed depedency (MR 2196) 2022-08-11 21:17:20 -04:00
sideload pmb: sideload: Handle ssh_install_apks() errors (MR 2195) 2022-08-22 09:45:30 +02:00
__init__.py Happy new year 2022! 2022-01-02 22:39:14 +01:00