From 6672c6d7bdee62b1088a14278acc2b45b5cf5297 Mon Sep 17 00:00:00 2001 From: Paolo Di Tommaso Date: Wed, 11 Oct 2023 23:28:05 +0200 Subject: [PATCH] Fix conda channels order [ci fast] Signed-off-by: Paolo Di Tommaso --- .../src/main/io/seqera/wave/plugin/WaveClient.groovy | 2 +- .../src/test/io/seqera/wave/plugin/WaveClientTest.groovy | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy b/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy index e5761c29e1..c913ef99fb 100644 --- a/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy +++ b/plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy @@ -79,7 +79,7 @@ class WaveClient { 'Accept','application/vnd.docker.distribution.manifest.v2+json', 'Accept','application/vnd.docker.distribution.manifest.list.v2+json' } - private static final List DEFAULT_CONDA_CHANNELS = ['seqera','bioconda','conda-forge','defaults'] + private static final List DEFAULT_CONDA_CHANNELS = ['seqera','conda-forge','bioconda','defaults'] private static final String DEFAULT_SPACK_ARCH = 'x86_64' diff --git a/plugins/nf-wave/src/test/io/seqera/wave/plugin/WaveClientTest.groovy b/plugins/nf-wave/src/test/io/seqera/wave/plugin/WaveClientTest.groovy index b4232bc803..3885ce2cf1 100644 --- a/plugins/nf-wave/src/test/io/seqera/wave/plugin/WaveClientTest.groovy +++ b/plugins/nf-wave/src/test/io/seqera/wave/plugin/WaveClientTest.groovy @@ -539,8 +539,8 @@ class WaveClientTest extends Specification { assets.condaFile.text == '''\ channels: - seqera - - bioconda - conda-forge + - bioconda - defaults dependencies: - bioconda::rseqc=3.0.1 @@ -562,7 +562,7 @@ class WaveClientTest extends Specification { assets.containerFile == '''\ FROM mambaorg/micromamba:1.5.1 RUN \\ - micromamba install -y -n base -c seqera -c bioconda -c conda-forge -c defaults -f https://host.com/conda-lock.yml \\ + micromamba install -y -n base -c seqera -c conda-forge -c bioconda -c defaults -f https://host.com/conda-lock.yml \\ && micromamba install -y -n base conda-forge::procps-ng \\ && micromamba clean -a -y USER root @@ -737,8 +737,8 @@ class WaveClientTest extends Specification { assets.condaFile.text == '''\ channels: - seqera - - bioconda - conda-forge + - bioconda - defaults dependencies: - salmon=1.2.3 @@ -760,7 +760,7 @@ class WaveClientTest extends Specification { BootStrap: docker From: mambaorg/micromamba:1.5.1 %post - micromamba install -y -n base -c seqera -c bioconda -c conda-forge -c defaults -f https://host.com/lock-file.yaml + micromamba install -y -n base -c seqera -c conda-forge -c bioconda -c defaults -f https://host.com/lock-file.yaml micromamba install -y -n base conda-forge::procps-ng micromamba clean -a -y %environment