pmaports/.gitlab-ci
Johannes Marbach 14d2eda456
CI: use a single invocation for apkbuild linting (MR 2472)
This replaces the current loop calling pmbootstrap lint once for each
package with a single invocation for increased performance.

Here are some measurements for linting all packages under main/.

Before this change:

    $ time .gitlab-ci/apkbuild-linting.py > /dev/null

    real    3m55,840s
    user    3m48,592s
    sys     0m16,913s

After this change but without postmarketOS/pmbootstrap!2100:

    $ time .gitlab-ci/apkbuild-linting.py > /dev/null

    real    0m14,359s
    user    0m17,994s
    sys     0m6,488s

After this change with postmarketOS/pmbootstrap!2100:

    $ time .gitlab-ci/apkbuild-linting.py > /dev/null

    real    0m6,411s
    user    0m13,334s
    sys     0m2,417s

Note that postmarketOS/pmbootstrap!2100 is not required for that little
bit of extra performance but rather because it allows to differentiate
between linting errors for different packages in the output.

Depends: postmarketOS/pmbootstrap!2100
Closes: #564
2021-09-11 06:40:21 +03:00
..
testcases ci/testcases: check for nftables support in kernels used by main & community devices (MR 2366) 2021-07-23 16:45:28 -07:00
apkbuild-linting.py CI: use a single invocation for apkbuild linting (MR 2472) 2021-09-11 06:40:21 +03:00
build.sh CI: build packages on all arches (MR 802) 2020-09-10 22:22:57 -07:00
build_changed_aports.py gitlab-ci: disable ccache when building changed aports (MR 2020) 2021-03-11 19:40:43 +01:00
check_changed_aports_versions.py CI: bump copyright to 2021 2021-01-08 00:16:08 +01:00
check_devices_in_wiki.py Introduce support for "unmaintained" devices (MR 1912) 2021-02-15 23:24:06 +01:00
common.py CI: bump copyright to 2021 2021-01-08 00:16:08 +01:00
move_logs.sh CI: bump copyright to 2021 2021-01-08 00:16:08 +01:00
run_testcases.sh CI: bump copyright to 2021 2021-01-08 00:16:08 +01:00
shellcheck.sh main/postmarketos-mkinitfs: use new mkinitfs (MR 2426) 2021-09-03 10:08:34 -07:00