pmaports/.ci
Newbyte 239aa4da8f
CI: Support not having "pmbootstrap" in $PATH (MR 3977)
Not everyone's setup includes "pmbootstrap" as a command in $PATH.
Currently, in such setups, $ pmbootstrap ci kconfig (and potentially
other testcases) in the pmaports repository do not work as they expect
the "pmbootstrap" command to exist. Resolve this by checking whether
PMBOOTSTRAP_CMD is set and use that as command for invoking pmbootstrap.
If it isn't set (because you're using an old pmbootstrap version or
invoking a script directly for some reason), fall back to the old
behaviour as to not break compatibility.

Depends on pmbootstrap patch that sets PMBOOTSTRAP_CMD to argv[0]:
https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/39995
2023-04-02 15:04:13 +02:00
..
lib CI: kconfig: don't print unrelated warnings (MR 3961) 2023-03-22 09:40:39 -07:00
testcases CI: Support not having "pmbootstrap" in $PATH (MR 3977) 2023-04-02 15:04:13 +02:00
apkbuild-lint.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
build-aarch64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armhf.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armv7.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-riscv64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86_64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
commits.sh CI: bump copyright to 2023 2023-01-26 08:40:40 +01:00
ec.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00
flake8.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00
grep.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
kconfig.sh CI: kconfig: don't print unrelated warnings (MR 3961) 2023-03-22 09:40:39 -07:00
pytest.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
shellcheck.sh CI: run shellcheck against CI scripts (MR 3960) 2023-03-20 09:30:55 +01:00
wiki.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00