Skip to content

Commit bdd1a7e

Browse files
committed
ci: switch lint:tidy from Arch to Debian 13
The problem was that in Arch the clang-tidy package updates at random moments, so we have to resolve the issues when doing urelated refreshes of CI images.
1 parent 618166d commit bdd1a7e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ variables:
2121
# IMAGE_TAG is a Git branch/tag name from https://gitlab.nic.cz/knot/knot-resolver-ci
2222
# In general, keep it pointing to a tag - use a branch only for development.
2323
# More info in the knot-resolver-ci repository.
24-
IMAGE_TAG: 'python3.14'
24+
IMAGE_TAG: 'tmp-tidy'
2525
IMAGE_PREFIX: '$CI_REGISTRY/knot/knot-resolver-ci'
2626

2727
image: $IMAGE_PREFIX/debian12-knot_3_5:$IMAGE_TAG
@@ -85,12 +85,6 @@ stages:
8585
reports:
8686
junit: build_ci*/meson-logs/integration.deckard.junit.xml
8787

88-
.after_build_arch: &after_build_arch
89-
<<: *after_build
90-
image: $IMAGE_PREFIX/arch:$IMAGE_TAG
91-
needs:
92-
- build-arch
93-
9488
.nodep: &nodep
9589
<<: *common
9690
needs: []
@@ -350,7 +344,9 @@ lint:pedantic:
350344
- ninja -C build_pedantic_clang
351345

352346
lint:tidy:
353-
<<: *after_build_arch
347+
<<: *after_build
348+
image: $IMAGE_PREFIX/debian13-knot_3_5:$IMAGE_TAG
349+
# TODO: when we add a resolver build using the same image, we probably add a `needs:`
354350
stage: sanity
355351
script:
356352
- ninja -C build_ci* tidy

0 commit comments

Comments
 (0)