From 3f20bf2dc3956442774133d1b162a34ea678e510 Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Mon, 20 Jun 2022 15:12:42 +0200 Subject: [PATCH 1/2] Try adding button to clear cabal cache in buildkite --- .buildkite/pipeline.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index a3b42da755f..f7e3988a8d6 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -91,3 +91,12 @@ steps: - './scripts/shellcheck.sh' agents: system: x86_64-linux + + - block: "Clear cabal cache" + key: 'should_clear_cache' + allow_dependency_failure: true + + - label: 'Clearing cabal cache' + command: 'rm -vrf $CABAL_DIR' + agents: + system: x86_64-linux From 29d977c71499b46ba7048b35b31183db83bd2424 Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Mon, 20 Jun 2022 17:18:57 +0200 Subject: [PATCH 2/2] Try depends_on: [] --- .buildkite/pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index f7e3988a8d6..e2e16d496a1 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -95,6 +95,7 @@ steps: - block: "Clear cabal cache" key: 'should_clear_cache' allow_dependency_failure: true + depends_on: [] # allows triggering this step even if previous steps failed - label: 'Clearing cabal cache' command: 'rm -vrf $CABAL_DIR'