- runner_system_failure
stages:
- - precheck
+ - quick-checks
- build
- unit
- system
- *rule_source_other_than_mr
- *rule_mr_system_tests
-.precheck: &precheck_job
+.quick-check: &quick_checks_job
<<: *default_triggering_rules
<<: *base_image
- stage: precheck
+ stage: quick-checks
+ tags:
+ - smalljob
.configure: &configure
- meson setup
### Job Definitions
-# Jobs in the precheck stage
+# Jobs in the quick-checks stage
misc:
- <<: *precheck_job
+ <<: *quick_checks_job
script:
- sh util/checklibs.sh > checklibs.out
- sh util/check-categories.sh
when: on_failure
black:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *python_triggering_rules
needs: []
script:
when: on_failure
vulture:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *python_triggering_rules
needs: []
script:
- vulture --exclude "*ans.py,conftest.py,re_compile_checker.py,isctest" --ignore-names "after_servers_start,bootstrap,pytestmark,autouse_*" bin/tests/system/
ci-variables:
- <<: *precheck_job
+ <<: *quick_checks_job
script:
# When testing a .0 release, compare it against the previous development
# release (e.g., 9.19.0 and 9.18.0 should both be compared against 9.17.22).
dotenv: ci_vars.env
ci-orphaned-anchors:
- <<: *precheck_job
+ <<: *quick_checks_job
script:
- *git_clone_bind9-qa
- bind9-qa/ci-orphaned-anchors/check-orphaned-anchors-ci.py .gitlab-ci.yml
- .gitlab-ci.yml
clang-format:
- <<: *precheck_job
+ <<: *quick_checks_job
rules:
- if: '$CI_MERGE_REQUEST_DIFF_BASE_SHA != null'
changes:
when: on_failure
coccinelle:
- <<: *precheck_job
+ <<: *quick_checks_job
rules:
- if: '$CI_MERGE_REQUEST_DIFF_BASE_SHA != null'
changes:
- if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
meson-format:
- <<: *precheck_job
+ <<: *quick_checks_job
rules:
- if: '$CI_MERGE_REQUEST_DIFF_BASE_SHA != null'
changes:
- "**/meson.build"
doctest:
- <<: *precheck_job
+ <<: *quick_checks_job
needs: []
# This script needs to: 1) fail if the doctest fails, 2) fail if
# the junit.xml file is broken, 3) produce the junit.xml file even if
- junit.xml
pylint:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *python_triggering_rules
needs: []
variables:
- pylint --rcfile $CI_PROJECT_DIR/.pylintrc --load-plugins re_compile_checker --disable=wrong-import-position $(git ls-files 'bin/tests/system/*.py' | grep -vE '(ans\.py|vulture_ignore_list\.py)')
reuse:
- <<: *precheck_job
+ <<: *quick_checks_job
needs: []
image:
name: docker.io/fsfe/reuse:latest
- reuse lint
shfmt:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *shell_triggering_rules
needs: []
script:
when: on_failure
danger:
- <<: *precheck_job
+ <<: *quick_checks_job
needs: []
script:
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
checkbashisms:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *shell_triggering_rules
needs: []
script:
- checkbashisms $(find . -path './.git' -prune -o -type f -exec sh -c 'head -n 1 "{}" | grep -qsF "#!/bin/sh"' \; -print)
mypy:
- <<: *precheck_job
+ <<: *quick_checks_job
<<: *python_triggering_rules
- stage: precheck
script:
- mypy "bin/tests/system/isctest/"
tarball-create:
- stage: precheck
+ stage: quick-checks
<<: *base_image
<<: *default_triggering_rules
script:
# - *shotgun_rule_other
generate-stress-test-configs:
- <<: *base_image
- <<: *default_triggering_rules
- stage: precheck
+ <<: *quick_checks_job
script:
- *git_clone_bind9-qa
- bind9-qa/stress/generate-stress-test-configs.py > stress-test-configs.yml