From 5ddb43dab778d7d494c76d94b05a520e65b4a72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Michel=20Gori=C3=9Fen?= <leon.gorissen@llt.rwth-aachen.de> Date: Wed, 4 Dec 2024 15:19:13 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8001d5b..26128c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,40 +1,8 @@ image: sphinxdoc/sphinx:latest stages: - - lint - - todo_check - pages -lint: - stage: lint - image: python:3.10 - before_script: - - pip install black isort ruff - script: - - ruff check . --fix - - ruff format . - rules: - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - -todo_check: - stage: todo_check - image: python:3.10 - before_script: - - apt-get update - - apt-get install -y git - script: - - rm -f TODOs - - git ls-files | xargs grep -H -n -E 'TODO|FIXME' --exclude='TODOs' --exclude='.gitlab-ci.yml' > TODOs - - git config --global user.email "$GITLAB_USER_EMAIL" - - git config --global user.name "$GITLAB_USER_NAME" - - git add TODOs - - git commit -m "Update TODOs [ci skip]" - - - git push https://CI_JOB_TOKEN:${CI_JOB_TOKEN}@git-ce.rwth-aachen.de/iop/workstreams/ws.a3/franka_wwl_demonstrator.git HEAD:$CI_COMMIT_REF_NAME - rules: - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - - if: '$CI_COMMIT_MESSAGE !~ /\[ci skip\]/' - - pages: stage: pages script: -- GitLab