Pablo Correa Gómez
d035338047
ci: fix remaining ruff issues and run ruff format
...
We only disable LOG015 rule, as in the simple situation of pmaports,
it doesn't matter too much if in pytest we are using the root logger
or a custom one.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9363 >
2026-08-12 05:39:47 +00:00
Pablo Correa Gómez
47748f6158
ci: automatic ruff checks for ruff 0.16.0
...
run ruff check --fix with ruff 0.16.0, review, and commit
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9363 >
2026-08-12 05:39:43 +00:00
Stefan Hansson
a9897a91e2
CI: Adapt to new pmbootstrap arch checking API
...
See https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/3004
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9104 >
2026-07-21 21:01:58 +02:00
Pablo Correa Gómez
69e772d561
ci: remove unnecessary add_pmbootstrap_to_import_path
...
Since the previous commit we just set the PYTHONPATH globally, which
is saner than include this everywhere.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7868 >
2026-02-01 21:06:18 +00:00
Luca Weiss
cabfabb88c
ci: build_changed_aports: Skip packages in 'archived' category
...
Per definition, those might not be buildable anymore, so stop trying to
validate building them.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480 >
2025-12-04 21:00:29 +09:00
Jens Reidel
6e0d8aa09a
ci: Raise pmb timeout to 1 hour
...
Signed-off-by: Jens Reidel <adrian@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7391 >
2025-11-26 12:05:05 +00:00
Pablo Correa Gómez
bc3fb78958
ci: lib: integrate add_upstream_git_remote into get_base_commit
...
add_upstream_git_remote was just being run at beginning of every
method using get_changed_packages or get_changed_files, to have
upstream available to use get_base_commit. So then, just move it to
get_base_commit. As a positive side-effect, since the previous commit
get_base_commit will just use the gitlab variable if available. So in
CI we will just completely avoid running these two commands!
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:53 +00:00
Pablo Correa Gómez
c83457fed4
ci: don't re-do packages check in build_changed_aports
...
Since 218d0b1745 the pipeline is created
dynamically. This check already exists in the "commits" lint job. So
let's avoid duplicating it.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963 >
2025-08-28 20:02:23 +00:00
Pablo Correa Gómez
65038ce26a
ci: split verifying package checksums into its own job (MR 6366)
...
This simplifies the build_changed_aports job, and makes it a lot
easier to use dynamic pipelines in the future
2025-04-11 12:02:24 -07:00
Clayton Craft
b395936171
ci/build_changed_aports: fix systemd build testing (MR 6214)
...
copypasta failure on my part :(
fixes 2238b8e734
[ci:skip-build]: already built successfully in CI
2025-02-13 14:17:44 -08:00
Clayton Craft
2238b8e734
ci/build_changed_aports: skip building systemd pkgs when there are none for the arch (MR 6197)
...
[ci:skip-build]: already built successfully in CI
2025-02-13 11:42:01 -08:00
Alexey Minnekhanov
04c1456e7b
CI: check for enabled arch for extra-repos/systemd too (MR 6162)
...
This check is present for "normal" packages, duplicate it for
ones that are thrown into "retry build with systemd later" list.
We need to explicitly pass with_extra_repos="enabled" arg to
find() to avoid getting cached "package not found in repos" result.
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org >
[ci:skip-build]: already built successfully in CI
2025-02-10 07:54:55 -08:00
Alexey Min
102863b3c7
ci: always zap chroots before doing pkg build testing in systemd context (MR 6051)
...
Signed-off-by: Alexey Min <alexey.min@gmail.com >
[ci:skip-build]: already built successfully in CI
2025-01-15 08:00:33 -08:00
Oliver Smith
4432b6f54d
CI: build_changd_aports: fix systemd pkgs in print (MR 5684)
...
Fix that in the checksum / build messages for systemd packages it would
print the wrong package list.
2024-11-13 17:04:30 +01:00
Clayton Craft
a64120a3d0
ci: also account for extra-repos when only verifying checksums (MR 5684)
2024-11-13 16:59:14 +01:00
Clayton Craft
5c42195870
ci: build_changed_aports: Don't exit prematurely if pkg list is empty (MR 5684)
...
This should check for packages in other repos that need to be built,
even if the main repo pkg list is empty.
fixes !5576
2024-11-13 16:59:02 +01:00
Clayton Craft
a44590ec47
ci: build_changed_aports: fix building changed aports in extra-repos/systemd (MR 5576)
...
With this change, the build test will only build changed aports when
they are in an enabled repo. It will also detect when a changed aport is
in extra-repos/systemd, and build it later with systemd support enabled.
[ci:skip-build]: already built successfully in CI
2024-10-04 12:07:26 -07:00
Clayton Craft
bb7b69d461
CI: lib: update for pmb v3 (MR 5566)
...
[ci:skip-build]: already built successfully in CI
2024-09-09 12:07:25 -07:00
Oliver Smith
da52dace85
CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608)
...
Adjust all CI scripts that make use of .ci/common.py to
'pmbootstrap ci'. Move all scripts that are not direct entry points to
running CI scripts to .ci/lib.
Comment out the dtb check, as it is failing. Apparently it didn't run
properly before. Let's fix this after this CI change is done.
2022-11-17 19:10:56 +01:00