Skip to content

Commit 2706782

Browse files
authored
Merge pull request #159 from nf-core/dev
Dev -> Master for 1.10.0 release
2 parents 084e5ef + 1b9d187 commit 2706782

Some content is hidden

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

48 files changed

+588
-343
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trim_trailing_whitespace = true
88
indent_size = 4
99
indent_style = space
1010

11-
[*.{md,yml,yaml,html,css,scss,js,cff}]
11+
[*.{md,yml,yaml,html,css,scss,js}]
1212
indent_size = 2
1313

1414
# These files are edited and tested upstream in nf-core/modules

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ body:
4545
* Nextflow version _(eg. 22.10.1)_
4646
* Hardware _(eg. HPC, Desktop, Cloud)_
4747
* Executor _(eg. slurm, local, awsbatch)_
48-
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
48+
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
4949
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
5050
* Version of nf-core/fetchngs _(eg. 1.1, 1.5, 1.8.2)_

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/fetc
1515

1616
- [ ] This comment contains a description of changes (with reason).
1717
- [ ] If you've fixed a bug or added code that should be tested, add tests!
18-
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/fetchngs/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/fetchngs _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
18+
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/fetchngs/tree/master/.github/CONTRIBUTING.md)
19+
- [ ] If necessary, also make a PR on the nf-core/fetchngs _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
1920
- [ ] Make sure your code lints (`nf-core lint`).
2021
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
2122
- [ ] Usage Documentation in `docs/usage.md` is updated.

.github/workflows/awsfulltest.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/awstest.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Check PRs
1414
if: github.repository == 'nf-core/fetchngs'
1515
run: |
16-
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/fetchngs ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
16+
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/fetchngs ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
1717
1818
# If the above check failed, post a comment on the PR explaining the failure
1919
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets

.github/workflows/clean-up.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Close user-tagged issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0" # Once a week
5+
6+
jobs:
7+
clean-up:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v7
14+
with:
15+
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
16+
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
17+
close-issue-message: "This issue was closed because it has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor and then staled for 20 days with no activity."
18+
days-before-stale: 30
19+
days-before-close: 20
20+
days-before-pr-close: -1
21+
any-of-labels: "awaiting-changes,awaiting-feedback"
22+
exempt-issue-labels: "WIP"
23+
exempt-pr-labels: "WIP"
24+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: full-sized tests on cloud providers
2+
run-name: Submitting workflow to all cloud providers using full sized data
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
platform:
9+
description: "Platform to run test"
10+
required: true
11+
default: "all"
12+
type: choice
13+
options:
14+
- all
15+
- aws
16+
- azure
17+
- gcp
18+
jobs:
19+
run-full-tests-on-aws:
20+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' || !github.event.inputs }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: seqeralabs/action-tower-launch@v1
24+
with:
25+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
26+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
27+
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
28+
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/fetchngs/work-${{ github.sha }}"
29+
run_name: "aws_fetchngs_full"
30+
profiles: test_full,public_aws_ecr
31+
parameters: |
32+
{
33+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
34+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/fetchngs/results-${{ github.sha }}"
35+
}
36+
- uses: actions/upload-artifact@v3
37+
with:
38+
name: Tower debug log file
39+
path: tower_action_*.log
40+
run-full-tests-on-gcp:
41+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' || !github.event.inputs }}
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: seqeralabs/action-tower-launch@v1
45+
with:
46+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
47+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
48+
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }}
49+
workdir: "${{ secrets.TOWER_BUCKET_GCP }}/work/fetchngs/work-${{ github.sha }}"
50+
run_name: "gcp_fetchngs_full"
51+
profiles: test_full
52+
parameters: |
53+
{
54+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
55+
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/fetchngs/results-${{ github.sha }}"
56+
}
57+
- uses: actions/upload-artifact@v3
58+
with:
59+
name: Tower debug log file
60+
path: tower_action_*.log
61+
run-full-tests-on-azure:
62+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' || !github.event.inputs }}
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: seqeralabs/action-tower-launch@v1
66+
with:
67+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
68+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
69+
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
70+
workdir: "${{ secrets.TOWER_BUCKET_AZURE }}/work/fetchngs/work-${{ github.sha }}"
71+
run_name: "azure_fetchngs_full"
72+
profiles: test_full
73+
parameters: |
74+
{
75+
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
76+
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/fetchngs/results-${{ github.sha }}"
77+
}
78+
- uses: actions/upload-artifact@v3
79+
with:
80+
name: Tower debug log file
81+
path: tower_action_*.log
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: small-sized tests on cloud providers
2+
run-name: Submitting workflow to all cloud providers using small sized data
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
platform:
7+
description: "Platform to run test"
8+
required: true
9+
default: "all"
10+
type: choice
11+
options:
12+
- all
13+
- aws
14+
- azure
15+
- gcp
16+
jobs:
17+
run-small-tests-on-aws:
18+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: seqeralabs/action-tower-launch@v1
22+
with:
23+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
24+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
25+
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
26+
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/fetchngs/work-${{ github.sha }}"
27+
run_name: "aws_fetchngs_small"
28+
profiles: test,public_aws_ecr
29+
parameters: |
30+
{
31+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/fetchngs/results-test-${{ github.sha }}"
32+
}
33+
- uses: actions/upload-artifact@v3
34+
with:
35+
name: Tower debug log file
36+
path: tower_action_*.log
37+
run-small-tests-on-gcp:
38+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }}
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: seqeralabs/action-tower-launch@v1
42+
with:
43+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
44+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
45+
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }}
46+
workdir: "${{ secrets.TOWER_BUCKET_GCP }}/work/fetchngs/work-${{ github.sha }}"
47+
run_name: "gcp_fetchngs_small"
48+
profiles: test
49+
parameters: |
50+
{
51+
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/fetchngs/results-test-${{ github.sha }}"
52+
}
53+
- uses: actions/upload-artifact@v3
54+
with:
55+
name: Tower debug log file
56+
path: tower_action_*.log
57+
run-small-tests-on-azure:
58+
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }}
59+
runs-on: ubuntu-latest
60+
steps:
61+
- uses: seqeralabs/action-tower-launch@v1
62+
with:
63+
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
64+
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
65+
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
66+
workdir: "${{ secrets.TOWER_BUCKET_AZURE }}/work/fetchngs/work-${{ github.sha }}"
67+
run_name: "azure_fetchngs_small"
68+
profiles: test
69+
parameters: |
70+
{
71+
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/fetchngs/results-test-${{ github.sha }}"
72+
}
73+
- uses: actions/upload-artifact@v3
74+
with:
75+
name: Tower debug log file
76+
path: tower_action_*.log

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- uses: actions/setup-python@v4
8080
with:
81-
python-version: "3.7"
81+
python-version: "3.8"
8282
architecture: "x64"
8383

8484
- name: Install dependencies

0 commit comments

Comments
 (0)