Skip to content

Commit

Permalink
Merge pull request #209 from nf-core/patch
Browse files Browse the repository at this point in the history
1.2.2 patch release to fix Conda environment
  • Loading branch information
drpatelh committed Apr 22, 2021
2 parents 0f487ed + 801bc53 commit 6924b66
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Build new docker image
if: env.GIT_DIFF
run: docker build --no-cache . -t nfcore/chipseq:1.2.1
run: docker build --no-cache . -t nfcore/chipseq:1.2.2

- name: Pull docker image
if: ${{ !env.GIT_DIFF }}
run: |
docker pull nfcore/chipseq:dev
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.1
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.2
- name: Install Nextflow
run: |
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:
- name: Build new docker image
if: env.GIT_DIFF
run: docker build --no-cache . -t nfcore/chipseq:1.2.1
run: docker build --no-cache . -t nfcore/chipseq:1.2.2

- name: Pull docker image
if: ${{ !env.GIT_DIFF }}
run: |
docker pull nfcore/chipseq:dev
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.1
docker tag nfcore/chipseq:dev nfcore/chipseq:1.2.2
- name: Install Nextflow
run: |
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.2.2] - 2021-04-22

* [#206](https://github.com/nf-core/chipseq/issues/206) - Minor patch release to fix Conda environment

### `Dependencies`

* Update r-base `3.6.2` -> `3.6.3`
* Update r-xfun `0.15` -> `0.20`

## [1.2.1] - 2020-07-29

* [#171](https://github.com/nf-core/chipseq/issues/171) - Minor patch release to update pipeline schema
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a

# Add conda installation dir to PATH (instead of doing 'conda activate')
ENV PATH /opt/conda/envs/nf-core-chipseq-1.2.1/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-chipseq-1.2.2/bin:$PATH

# Dump the details of the installed packages to a file for posterity
RUN conda env export --name nf-core-chipseq-1.2.1 > nf-core-chipseq-1.2.1.yml
RUN conda env export --name nf-core-chipseq-1.2.2 > nf-core-chipseq-1.2.2.yml

# Instruct R processes to use these empty files instead of clashing with a local version
RUN touch .Rprofile
Expand Down
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# You can use this file to create a conda environment for this pipeline:
# conda env create -f environment.yml
name: nf-core-chipseq-1.2.1
name: nf-core-chipseq-1.2.2
channels:
- conda-forge
- bioconda
Expand All @@ -11,7 +11,7 @@ dependencies:
- conda-forge::markdown=3.2.2
- conda-forge::pymdown-extensions=7.1
- conda-forge::pygments=2.6.1
- conda-forge::r-base=3.6.2
- conda-forge::r-base=3.6.3
- conda-forge::r-optparse=1.6.6
- conda-forge::r-rcolorbrewer=1.1_2
- conda-forge::r-reshape2=1.4.4
Expand All @@ -21,7 +21,7 @@ dependencies:
- conda-forge::r-pheatmap=1.0.12
- conda-forge::r-lattice=0.20_41
- conda-forge::r-upsetr=1.4.0
- conda-forge::r-xfun=0.15
- conda-forge::r-xfun=0.20
- conda-forge::gawk=5.1.0
- conda-forge::pigz=2.3.4 ## Required for TrimGalore multi-threading

Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ params {

// Container slug. Stable releases should specify release tag!
// Developmental code should specify :dev
process.container = 'nfcore/chipseq:1.2.1'
process.container = 'nfcore/chipseq:1.2.2'

// Load base.config by default for all pipelines
includeConfig 'conf/base.config'
Expand Down Expand Up @@ -169,7 +169,7 @@ manifest {
description = 'ChIP-seq peak-calling and differential analysis pipeline.'
mainScript = 'main.nf'
nextflowVersion = '>=19.10.0'
version = '1.2.1'
version = '1.2.2'
}

// Function to ensure that resource requirements don't go beyond
Expand Down

0 comments on commit 6924b66

Please sign in to comment.