From ed6e9217a4ff3afca458ac4aa5bc5b2bd0046610 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 19 Jul 2023 15:01:20 +0200 Subject: [PATCH 1/3] Test error when skipping circleci jobs --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 666206e3475..66a40d93047 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -898,7 +898,6 @@ jobs: node ./packages/flake-tracker/scripts/summary.js workflows: - version: 2 celo-monorepo-build: # Contitionally triggered when: From feaafd6ca4d1f15b61eae3adfeeca1ea18919190 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 19 Jul 2023 15:09:37 +0200 Subject: [PATCH 2/3] Dummy circleci job --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 66a40d93047..b09770cc0d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -896,8 +896,18 @@ jobs: name: Add summary of flakey tests to GitHub Checks command: | node ./packages/flake-tracker/scripts/summary.js + + # Dummy job for not showing CircleCI error: "Error: All Workflows have been filtered from this Pipeline" + # Check https://github.com/CircleCI-Public/circleci-cli/issues/577 for more context + noop: + docker: + - image: cimg/base:current + resource_class: small + steps: + - run: echo "noop" workflows: + version: 2 celo-monorepo-build: # Contitionally triggered when: @@ -1041,3 +1051,14 @@ workflows: - protocol-test-with-code-coverage: requires: - lint-checks + # Dummy job for not showing CircleCI error: "Error: All Workflows have been filtered from this Pipeline" + # Check https://github.com/CircleCI-Public/circleci-cli/issues/577 for more context + no-changes: + when: + not: + or: + - << pipeline.parameters.run-workflow-general >> + - << pipeline.parameters.run-workflow-npm-install >> + - << pipeline.parameters.run-workflow-protocol-coverage >> + jobs: + - noop From 77240a9cc8ad1e53b927b2cf626418a0bb24448e Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 19 Jul 2023 16:52:24 +0200 Subject: [PATCH 3/3] Run no-changes always --- .circleci/config.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b09770cc0d0..0c8b1b75533 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1054,11 +1054,5 @@ workflows: # Dummy job for not showing CircleCI error: "Error: All Workflows have been filtered from this Pipeline" # Check https://github.com/CircleCI-Public/circleci-cli/issues/577 for more context no-changes: - when: - not: - or: - - << pipeline.parameters.run-workflow-general >> - - << pipeline.parameters.run-workflow-npm-install >> - - << pipeline.parameters.run-workflow-protocol-coverage >> jobs: - noop