Skip to content

Commit 7721f37

Browse files
authored
Merge pull request #1066 from nf-core/dev
`dev` -> `master` for v1.14 release
2 parents d0a6649 + 193bc8e commit 7721f37

File tree

85 files changed

+1932
-1136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1932
-1136
lines changed

.github/workflows/create-lint-wf.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
name: Create a pipeline and lint it
22
on: [push, pull_request]
33

4+
# Uncomment if we need an edge release of Nextflow again
5+
# env: NXF_EDGE: 1
6+
47
jobs:
58
MakeTestWorkflow:
69
runs-on: ubuntu-latest
7-
env:
8-
NXF_VER: 21.03.0-edge
910
steps:
1011
- uses: actions/checkout@v2
1112
name: Check out source-code repository
1213

13-
- name: Set up Python 3.7
14+
- name: Set up Python 3.8
1415
uses: actions/setup-python@v1
1516
with:
16-
python-version: 3.7
17+
python-version: 3.8
1718

1819
- name: Install python dependencies
1920
run: |
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: nf-core Docker push (dev)
2+
# This builds the docker image and pushes it to DockerHub
3+
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
4+
on:
5+
push:
6+
branches:
7+
- dev
8+
9+
jobs:
10+
push_dockerhub:
11+
name: Push new Docker image to Docker Hub (dev)
12+
runs-on: ubuntu-latest
13+
# Only run for the nf-core repo, for releases and merged PRs
14+
if: ${{ github.repository == 'nf-core/tools'}}
15+
env:
16+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
17+
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
18+
strategy:
19+
matrix:
20+
image: [base, tools]
21+
steps:
22+
- name: Check out tools code
23+
uses: actions/checkout@v2
24+
25+
- name: Build new docker image
26+
run: docker build --no-cache . -t nfcore/${{ matrix.image }}:dev -f ${{ matrix.image }}.Dockerfile
27+
28+
- name: Push Docker image to DockerHub (dev)
29+
run: |
30+
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
31+
docker push nfcore/${{ matrix.image }}:dev
32+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: nf-core Docker push (release)
2+
# This builds the docker image and pushes it to DockerHub
3+
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
push_dockerhub:
10+
name: Push new Docker image to Docker Hub (release)
11+
runs-on: ubuntu-latest
12+
# Only run for the nf-core repo, for releases and merged PRs
13+
if: ${{ github.repository == 'nf-core/tools' }}
14+
env:
15+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
16+
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
17+
strategy:
18+
matrix:
19+
image: [base, tools]
20+
steps:
21+
- name: Check out code
22+
uses: actions/checkout@v2
23+
24+
- name: Build new docker image
25+
run: docker build --no-cache . -t nfcore/${{ matrix.image }}:latest -f ${{ matrix.image }}.Dockerfile
26+
27+
- name: Push Docker image to DockerHub (release)
28+
run: |
29+
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
30+
docker push nfcore/${{ matrix.image }}:latest
31+
docker tag nfcore/${{ matrix.image }}:latest nf-core/${{ matrix.image }}:${{ github.event.release.tag_name }}
32+
docker push nfcore/${{ matrix.image }}:${{ github.event.release.tag_name }}

.github/workflows/pytest.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ on:
99
paths:
1010
- "**.py"
1111

12+
# Uncomment if we need an edge release of Nextflow again
13+
# env: NXF_EDGE: 1
14+
1215
jobs:
1316
pytest:
1417
runs-on: ubuntu-latest
15-
env:
16-
NXF_VER: 21.03.0-edge
1718
strategy:
1819
matrix:
19-
python-version: [3.6, 3.7, 3.8]
20+
python-version: [3.6, 3.7, 3.8, 3.9]
2021

2122
steps:
2223
- uses: actions/checkout@v2

.github/workflows/sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
types: [published]
55
workflow_dispatch:
66

7-
env:
8-
NXF_VER: 21.03.0-edge
7+
# Uncomment if we need an edge release of Nextflow again
8+
# env: NXF_EDGE: 1
99

1010
jobs:
1111
get-pipelines:
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: nf-core/tools API docs
1+
name: nf-core/tools dev API docs
22
on:
33
push:
4-
branches: [master, dev]
4+
branches: [dev]
55

66
jobs:
77
api-docs:
@@ -26,18 +26,14 @@ jobs:
2626
- name: Build HTML docs
2727
run: make --directory ./docs/api html
2828

29-
- name: Push docs to api-doc branch
29+
- name: Sync dev docs
3030
if: github.repository == 'nf-core/tools'
31-
run: |
32-
git checkout --orphan api-doc
33-
git rm -r --cache .
34-
rm .gitignore
35-
git config user.email "[email protected]"
36-
git config user.name "nf-core-bot"
37-
git add docs
38-
git commit --message "nf-core/tools docs build
39-
40-
$GITHUB_REF - $GITHUB_SHA
41-
"
42-
git remote add nf-core https://github.com/nf-core/tools.git
43-
git push --force --set-upstream nf-core api-doc
31+
uses: SamKirkland/[email protected]
32+
with:
33+
server: ${{ secrets.ftp_server }}
34+
username: ${{ secrets.ftp_username}}
35+
password: ${{ secrets.ftp_password }}
36+
local-dir: './docs/api/_build/html/'
37+
server-dir: ${{ secrets.ftp_server_dir }}/dev/
38+
protocol: ${{ secrets.ftp_protocol }}
39+
port: ${{ secrets.ftp_port }}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: nf-core/tools release API docs
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
api-docs:
8+
name: Build & push Sphinx API docs
9+
runs-on: ubuntu-18.04
10+
strategy:
11+
matrix:
12+
dir: [latest, $GITHUB_REF]
13+
14+
steps:
15+
- name: Check out source-code repository
16+
uses: actions/checkout@v2
17+
18+
- name: Set up Python 3.7
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: 3.7
22+
23+
- name: Install python dependencies
24+
run: |
25+
pip install --upgrade pip
26+
pip install -r ./docs/api/requirements.txt
27+
pip install .
28+
29+
- name: Build HTML docs
30+
run: make --directory ./docs/api html
31+
32+
- name: Sync release docs
33+
if: github.repository == 'nf-core/tools'
34+
uses: SamKirkland/[email protected]
35+
with:
36+
server: ${{ secrets.ftp_server }}
37+
username: ${{ secrets.ftp_username}}
38+
password: ${{ secrets.ftp_password }}
39+
local-dir: './docs/api/_build/html/'
40+
server-dir: ${{ secrets.ftp_server_dir }}/${{ matrix.dir }}/
41+
protocol: ${{ secrets.ftp_protocol }}
42+
port: ${{ secrets.ftp_port }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,4 @@ ENV/
114114
.idea
115115
pip-wheel-metadata
116116
.vscode
117+
.*.sw?

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# nf-core/tools: Changelog
22

3+
## [v1.14 - Brass Chicken :chicken:](https://github.com/nf-core/tools/releases/tag/1.14) - [2021-05-11]
4+
5+
### Template
6+
7+
* Fixed an issue regarding explicit disabling of unused container engines [[#972](https://github.com/nf-core/tools/pull/972)]
8+
* Removed trailing slash from `params.igenomes_base` to yield valid s3 paths (previous paths work with Nextflow but not aws cli)
9+
* Added a timestamp to the trace + timetime + report + dag filenames to fix overwrite issue on AWS
10+
* Rewrite the `params_summary_log()` function to properly ignore unset params and have nicer formatting [[#971](https://github.com/nf-core/tools/issues/971)]
11+
* Fix overly strict `--max_time` formatting regex in template schema [[#973](https://github.com/nf-core/tools/issues/973)]
12+
* Convert `d` to `day` in the `cleanParameters` function to make Duration objects like `2d` pass the validation [[#858](https://github.com/nf-core/tools/issues/858)]
13+
* Added nextflow version to quick start section and adjusted `nf-core bump-version` [[#1032](https://github.com/nf-core/tools/issues/1032)]
14+
* Use latest stable Nextflow version `21.04.0` for CI tests instead of the `-edge` release
15+
16+
### Download
17+
18+
* Fix bug in `nf-core download` where image names were getting a hyphen in `nf-core` which was breaking things.
19+
* Extensive new interactive prompts for all command line flags [[#1027](https://github.com/nf-core/tools/issues/1027)]
20+
* It is now recommended to run `nf-core download` without any cli options and follow prompts (though flags can be used to run non-interactively if you wish)
21+
* New helper code to set `$NXF_SINGULARITY_CACHEDIR` and add to `.bashrc` if desired [[#1027](https://github.com/nf-core/tools/issues/1027)]
22+
23+
### Launch
24+
25+
* Strip values from `nf-core launch` web response which are `False` and have no default in the schema [[#976](https://github.com/nf-core/tools/issues/976)]
26+
* Improve API caching code when polling the website, fixes noisy log message when waiting for a response [[#1029](https://github.com/nf-core/tools/issues/1029)]
27+
* New interactive prompts for pipeline name [[#1027](https://github.com/nf-core/tools/issues/1027)]
28+
29+
### Modules
30+
31+
* Added `tool_name_underscore` to the module template to allow TOOL_SUBTOOL in `main.nf` [[#1011](https://github.com/nf-core/tools/issues/1011)]
32+
* Added `--conda-name` flag to `nf-core modules create` command to allow sidestepping questionary [[#988](https://github.com/nf-core/tools/issues/988)]
33+
* Extended `nf-core modules lint` functionality to check tags in `test.yml` and to look for a entry in the `pytest_software.yml` file
34+
* Update `modules` commands to use new test tag format `tool/subtool`
35+
* New modules lint test comparing the `functions.nf` file to the template version
36+
* Modules installed from alternative sources are put in folders based on the name of the source repository
37+
38+
### Linting
39+
40+
* Fix bug in nf-core lint config skipping for the `nextflow_config` test [[#1019](https://github.com/nf-core/tools/issues/1019)]
41+
* New `-k`/`--key` cli option for `nf-core lint` to allow you to run only named lint tests, for faster local debugging
42+
* Merge markers lint test - ignore binary files, allow config to ignore specific files [[#1040](https://github.com/nf-core/tools/pull/1040)]
43+
* New lint test to check if all defined pipeline parameters are mentioned in `main.nf` [[#1038](https://github.com/nf-core/tools/issues/1038)]
44+
* Added fix to remove warnings about params that get converted from camelCase to camel-case [[#1035](https://github.com/nf-core/tools/issues/1035)]
45+
* Added pipeline schema lint checks for missing parameter description and parameters outside of groups [[#1017](https://github.com/nf-core/tools/issues/1017)]
46+
47+
### General
48+
49+
* Try to fix the fix for the automated sync when we submit too many PRs at once [[#970](https://github.com/nf-core/tools/issues/970)]
50+
* Rewrite how the tools documentation is deployed to the website, to allow multiple versions
51+
* Created new Docker image for the tools cli package - see installation docs for details [[#917](https://github.com/nf-core/tools/issues/917)]
52+
* Ignore permission errors for setting up requests cache directories to allow starting with an invalid or read-only `HOME` directory
53+
354
## [v1.13.3 - Copper Crocodile Resurrection :crocodile:](https://github.com/nf-core/tools/releases/tag/1.13.2) - [2021-03-24]
455

556
* Running tests twice with `nf-core modules create-test-yml` to catch unreproducible md5 sums [[#890](https://github.com/nf-core/tools/issues/890)]

0 commit comments

Comments
 (0)