From bba8f93eb9dec28914240752e1738ce89c7ab0de Mon Sep 17 00:00:00 2001 From: Alexander Peltzer Date: Thu, 15 Feb 2024 13:50:35 +0000 Subject: [PATCH 1/6] Add fix for disk space issues on github actions runners --- CHANGELOG.md | 1 + nf_core/pipeline-template/.github/workflows/ci.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfa62cacf3..dcfcdc51fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Add empty line in README.md to fix badges. ([#2729](https://github.com/nf-core/tools/pull/2729)) - Replace automatic branch detection in `nf-core download` CI test with hardcoded `dev` and input. ([#2727](https://github.com/nf-core/tools/pull/2727)) +- Add Github Action to automatically cleanup ubuntu-latest runners to fix runner running out of diskspace errors([#2754](https://github.com/nf-core/tools/issues/2754)) ### Linting diff --git a/nf_core/pipeline-template/.github/workflows/ci.yml b/nf_core/pipeline-template/.github/workflows/ci.yml index 1290bfafc0..1eaefa24b8 100644 --- a/nf_core/pipeline-template/.github/workflows/ci.yml +++ b/nf_core/pipeline-template/.github/workflows/ci.yml @@ -35,6 +35,9 @@ jobs: with: version: "{% raw %}${{ matrix.NXF_VER }}{% endraw %}" + - name: Cleanup Runner + uses: jlumbroso/free-disk-space@v1.3.1 + - name: Run pipeline with test data # TODO nf-core: You can customise CI pipeline run tests as required # For example: adding multiple test runs with different parameters From e3514603c7f7dbb4d131ec13cc9fcf525bb14b5f Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Thu, 15 Feb 2024 13:51:51 +0000 Subject: [PATCH 2/6] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcfcdc51fc..d98bb594c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Update python:3.11-slim Docker digest to 2a746e2 ([#2743](https://github.com/nf-core/tools/pull/2743)) - Update actions/setup-python action to v5 ([#2739](https://github.com/nf-core/tools/pull/2739)) - Update gitpod/workspace-base Docker digest to 45e7617 ([#2747](https://github.com/nf-core/tools/pull/2747)) +- Fix for #2754, disk space on gha runners ([#2755](https://github.com/nf-core/tools/pull/2755)) ## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01] From b20c7348bcdfb22bb9941532e74fabbebddd43e7 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 15 Feb 2024 14:55:15 +0100 Subject: [PATCH 3/6] Apply suggestions from code review --- CHANGELOG.md | 1 - nf_core/pipeline-template/.github/workflows/ci.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d98bb594c1..dcfcdc51fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,6 @@ - Update python:3.11-slim Docker digest to 2a746e2 ([#2743](https://github.com/nf-core/tools/pull/2743)) - Update actions/setup-python action to v5 ([#2739](https://github.com/nf-core/tools/pull/2739)) - Update gitpod/workspace-base Docker digest to 45e7617 ([#2747](https://github.com/nf-core/tools/pull/2747)) -- Fix for #2754, disk space on gha runners ([#2755](https://github.com/nf-core/tools/pull/2755)) ## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01] diff --git a/nf_core/pipeline-template/.github/workflows/ci.yml b/nf_core/pipeline-template/.github/workflows/ci.yml index 1eaefa24b8..0575946844 100644 --- a/nf_core/pipeline-template/.github/workflows/ci.yml +++ b/nf_core/pipeline-template/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: with: version: "{% raw %}${{ matrix.NXF_VER }}{% endraw %}" - - name: Cleanup Runner + - name: Disk space cleanup uses: jlumbroso/free-disk-space@v1.3.1 - name: Run pipeline with test data From 23bd8da2172627861d147b55a79260f6048bc8dd Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Thu, 15 Feb 2024 13:57:43 +0000 Subject: [PATCH 4/6] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcfcdc51fc..dd5ebe402e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Update python:3.11-slim Docker digest to 2a746e2 ([#2743](https://github.com/nf-core/tools/pull/2743)) - Update actions/setup-python action to v5 ([#2739](https://github.com/nf-core/tools/pull/2739)) - Update gitpod/workspace-base Docker digest to 45e7617 ([#2747](https://github.com/nf-core/tools/pull/2747)) +- Add Github Action to automatically cleanup ubuntu-latest runners to fix runner running out of diskspace errors ([#2755](https://github.com/nf-core/tools/pull/2755)) ## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01] From 54f836d4c0435a6c36655c71ec23595a3656dd5f Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 15 Feb 2024 15:00:08 +0100 Subject: [PATCH 5/6] Remove duplicate changelog entry --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd5ebe402e..dcfcdc51fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,6 @@ - Update python:3.11-slim Docker digest to 2a746e2 ([#2743](https://github.com/nf-core/tools/pull/2743)) - Update actions/setup-python action to v5 ([#2739](https://github.com/nf-core/tools/pull/2739)) - Update gitpod/workspace-base Docker digest to 45e7617 ([#2747](https://github.com/nf-core/tools/pull/2747)) -- Add Github Action to automatically cleanup ubuntu-latest runners to fix runner running out of diskspace errors ([#2755](https://github.com/nf-core/tools/pull/2755)) ## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01] From b1c14109390c69969c0bed84f3eff543e188c697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rtenhuber?= Date: Thu, 15 Feb 2024 15:00:45 +0100 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcfcdc51fc..86a879a23e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - Add empty line in README.md to fix badges. ([#2729](https://github.com/nf-core/tools/pull/2729)) - Replace automatic branch detection in `nf-core download` CI test with hardcoded `dev` and input. ([#2727](https://github.com/nf-core/tools/pull/2727)) -- Add Github Action to automatically cleanup ubuntu-latest runners to fix runner running out of diskspace errors([#2754](https://github.com/nf-core/tools/issues/2754)) +- Add Github Action to automatically cleanup ubuntu-latest runners to fix runner running out of diskspace errors([#2755](https://github.com/nf-core/tools/issues/2755)) ### Linting