From 8d9edb6c018792f11d9dd59b18529f6401533786 Mon Sep 17 00:00:00 2001 From: Caleb Connolly <caleb@postmarketos.org> Date: Thu, 24 Oct 2024 01:00:17 +0200 Subject: [PATCH] DONT MERGE: CI: skip lints Signed-off-by: Caleb Connolly <caleb@postmarketos.org> --- .gitlab-ci.yml | 108 ++++++++++++++++++++++++------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7299b6fbe..504f2b511 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,70 +16,70 @@ before_script: &global_before_scripts - "adduser -D build" stages: - - lint + # - lint - deploy - test -codespell: - stage: lint - script: - - ".ci/codespell.sh" +# codespell: +# stage: lint +# script: +# - ".ci/codespell.sh" -pytest: - stage: test - script: - - "apk -q add git" - - "su build -c 'git config --global user.email ci@ci'" - - "su build -c 'git config --global user.name CI'" - - "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - - ".ci/pytest.sh" - after_script: - - "cp /home/build/.local/var/pmbootstrap/log_testsuite.txt ." - - "cp /home/build/.local/var/pmbootstrap/log.txt ." - artifacts: - when: on_failure - paths: - - "log_testsuite.txt" - - "log.txt" +# pytest: +# stage: test +# script: +# - "apk -q add git" +# - "su build -c 'git config --global user.email ci@ci'" +# - "su build -c 'git config --global user.name CI'" +# - "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" +# - ".ci/pytest.sh" +# after_script: +# - "cp /home/build/.local/var/pmbootstrap/log_testsuite.txt ." +# - "cp /home/build/.local/var/pmbootstrap/log.txt ." +# artifacts: +# when: on_failure +# paths: +# - "log_testsuite.txt" +# - "log.txt" -ruff: - stage: lint - script: - - ".ci/ruff.sh" +# ruff: +# stage: lint +# script: +# - ".ci/ruff.sh" -shellcheck: - stage: lint - script: - - ".ci/shellcheck.sh" +# shellcheck: +# stage: lint +# script: +# - ".ci/shellcheck.sh" -vermin: - stage: lint - script: - - ".ci/vermin.sh" +# vermin: +# stage: lint +# script: +# - ".ci/vermin.sh" -mr-settings: - stage: lint - rules: - - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - before_script: - - *global_before_scripts - - "apk -q add python3" - - "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'" - script: - - "python3 ./check_mr_settings.py" +# mr-settings: +# stage: lint +# rules: +# - if: $CI_PIPELINE_SOURCE == 'merge_request_event' +# before_script: +# - *global_before_scripts +# - "apk -q add python3" +# - "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'" +# script: +# - "python3 ./check_mr_settings.py" -mypy: - stage: lint - script: - - ".ci/mypy.sh" +# mypy: +# stage: lint +# script: +# - ".ci/mypy.sh" -docs: - stage: lint - script: - - ".ci/docs.sh" - artifacts: - paths: - - public +# docs: +# stage: lint +# script: +# - ".ci/docs.sh" +# artifacts: +# paths: +# - public deploy: only: -- GitLab