From 69201c32e3705e4451a6c1f0fac17dd3ac36c143 Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Wed, 23 Aug 2023 13:49:48 +0200 Subject: [PATCH] ci: Shared danger to local stage (remove possible double CI pipelines) --- .gitlab-ci.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4fca1f1ee..a7c8fb35c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,13 @@ # Gitlab CI config # # Note: When updating, please also update test_esptool.yml GH Actions workflow file -include: - - project: 'espressif/shared-ci-dangerjs' - ref: master - file: 'danger.yaml' +stages: + - pre-check + - test + - report + - build_docs + - deploy_docs + - deploy_development_package workflow: rules: @@ -13,13 +16,12 @@ workflow: when: never - if: '$CI_COMMIT_BRANCH' -stages: - - danger - - test - - report - - build_docs - - deploy_docs - - deploy_development_package +include: + - project: espressif/shared-ci-dangerjs + ref: master + file: danger.yaml +run-danger-mr-linter: + stage: pre-check # cache the pip download directory in all jobs variables: