Skip to content

Commit

Permalink
Bump microbamba 1.2.0 [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jan 21, 2023
1 parent ce87956 commit 827ee97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package io.seqera.wave.plugin.config
*/
class CondaOpts {

final public String DEFAULT_MAMBA_IMAGE = 'mambaorg/micromamba:1.0.0'
final public String DEFAULT_MAMBA_IMAGE = 'mambaorg/micromamba:1.2.0'

final String mambaImage
final List<String> commands
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class WaveClientTest extends Specification {
def client = new WaveClient(session)
then:
client.condaRecipeToDockerFile(RECIPE) == '''\
FROM mambaorg/micromamba:1.0.0
FROM mambaorg/micromamba:1.2.0
RUN \\
micromamba install -y -n base -c conda-forge -c defaults \\
bwa=0.7.15 salmon=1.1.1 \\
Expand All @@ -317,7 +317,7 @@ class WaveClientTest extends Specification {
def client = new WaveClient(session)
then:
client.condaRecipeToDockerFile(RECIPE) == '''\
FROM mambaorg/micromamba:1.0.0
FROM mambaorg/micromamba:1.2.0
RUN \\
micromamba install -y -n base -c foo -c bar \\
bwa=0.7.15 salmon=1.1.1 \\
Expand Down Expand Up @@ -351,7 +351,7 @@ class WaveClientTest extends Specification {
def client = new WaveClient(session)
then:
client.condaFileToDockerFile()== '''\
FROM mambaorg/micromamba:1.0.0
FROM mambaorg/micromamba:1.2.0
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
RUN micromamba install -y -n base -f /tmp/conda.yml && \\
micromamba clean -a -y
Expand Down Expand Up @@ -485,7 +485,7 @@ class WaveClientTest extends Specification {
def assets = client.resolveAssets(task, null)
then:
assets.dockerFileContent == '''\
FROM mambaorg/micromamba:1.0.0
FROM mambaorg/micromamba:1.2.0
RUN \\
micromamba install -y -n base -c conda-forge -c defaults \\
salmon=1.2.3 \\
Expand Down Expand Up @@ -513,7 +513,7 @@ class WaveClientTest extends Specification {
def assets = client.resolveAssets(task, null)
then:
assets.dockerFileContent == '''\
FROM mambaorg/micromamba:1.0.0
FROM mambaorg/micromamba:1.2.0
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
RUN micromamba install -y -n base -f /tmp/conda.yml && \\
micromamba clean -a -y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class WaveConfigTest extends Specification {
when:
def opts = new WaveConfig([:])
then:
opts.condaOpts().mambaImage == 'mambaorg/micromamba:1.0.0'
opts.condaOpts().mambaImage == 'mambaorg/micromamba:1.2.0'
opts.condaOpts().commands == null

when:
Expand Down

0 comments on commit 827ee97

Please sign in to comment.