Skip to content

Commit 16a8368

Browse files
authored
Merge branch 'master' into workspaceFolder
2 parents 4c43079 + f47356b commit 16a8368

File tree

78 files changed

+1155
-1157
lines changed

Some content is hidden

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

78 files changed

+1155
-1157
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM ghcr.io/nextflow-io/training:latest
22

33
ENV NXF_VER=24.10.0
4-
ENV NXF_EDGE=0
4+
ENV NXF_EDGE=0

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_size = 4
9+
indent_style = space
10+
11+
[*.{md,yml,yaml,html,css,scss,js}]
12+
indent_size = 2
13+
14+
# ignore python and markdown
15+
[*.{py,md}]
16+
indent_style = unset

.github/workflows/docker.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,40 @@
55
name: Build GitPod Docker image
66

77
on:
8-
pull_request:
9-
push:
10-
branches: [master]
11-
release:
12-
types: [published]
8+
pull_request:
9+
push:
10+
branches: [master]
11+
release:
12+
types: [published]
1313

1414
jobs:
15-
push_to_registry:
16-
if: github.repository == 'nextflow-io/training'
17-
name: Build + Push Gitpod Docker image
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Check out the repo
21-
uses: actions/checkout@v4
15+
push_to_registry:
16+
if: github.repository == 'nextflow-io/training'
17+
name: Build + Push Gitpod Docker image
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Check out the repo
21+
uses: actions/checkout@v4
2222

23-
- name: Login to GitHub Container Registry
24-
uses: docker/login-action@v3
25-
with:
26-
registry: ghcr.io
27-
username: ${{ github.repository_owner }}
28-
password: ${{ secrets.GITHUB_TOKEN }}
23+
- name: Login to GitHub Container Registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.repository_owner }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
2929

30-
- name: Build / push latest image
31-
uses: docker/build-push-action@v5
32-
if: github.event_name != 'release'
33-
with:
34-
file: .github/gitpod.Dockerfile
35-
push: ${{ github.event_name == 'push' }}
36-
tags: ghcr.io/nextflow-io/training:latest
30+
- name: Build / push latest image
31+
uses: docker/build-push-action@v5
32+
if: github.event_name != 'release'
33+
with:
34+
file: .github/gitpod.Dockerfile
35+
push: ${{ github.event_name == 'push' }}
36+
tags: ghcr.io/nextflow-io/training:latest
3737

38-
- name: Push release image
39-
uses: docker/build-push-action@v5
40-
if: github.event_name == 'release'
41-
with:
42-
file: .github/gitpod.Dockerfile
43-
push: true
44-
tags: ghcr.io/nextflow-io/training:${{ github.event.release.tag_name }}
38+
- name: Push release image
39+
uses: docker/build-push-action@v5
40+
if: github.event_name == 'release'
41+
with:
42+
file: .github/gitpod.Dockerfile
43+
push: true
44+
tags: ghcr.io/nextflow-io/training:${{ github.event.release.tag_name }}

.github/workflows/mkdocs-docker.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@
33
name: Build mkdocs docker image
44

55
on:
6-
pull_request:
7-
push:
8-
branches: [master]
6+
pull_request:
7+
push:
8+
branches: [master]
99

1010
jobs:
11-
mkdocs_docker:
12-
if: github.repository == 'nextflow-io/training'
13-
name: Build + push mkdocs docker image
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Check out the repo
17-
uses: actions/checkout@v4
11+
mkdocs_docker:
12+
if: github.repository == 'nextflow-io/training'
13+
name: Build + push mkdocs docker image
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out the repo
17+
uses: actions/checkout@v4
1818

19-
- name: Login to GitHub Container Registry
20-
uses: docker/login-action@v3
21-
with:
22-
registry: ghcr.io
23-
username: ${{ github.repository_owner }}
24-
password: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Login to GitHub Container Registry
20+
uses: docker/login-action@v3
21+
with:
22+
registry: ghcr.io
23+
username: ${{ github.repository_owner }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
2525

26-
- name: Build / push latest image
27-
uses: docker/build-push-action@v5
28-
with:
29-
file: .github/mkdocs.Dockerfile
30-
push: ${{ github.event_name == 'push' }}
31-
tags: ghcr.io/nextflow-io/training-mkdocs:latest
26+
- name: Build / push latest image
27+
uses: docker/build-push-action@v5
28+
with:
29+
file: .github/mkdocs.Dockerfile
30+
push: ${{ github.event_name == 'push' }}
31+
tags: ghcr.io/nextflow-io/training-mkdocs:latest

.github/workflows/precommit.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Pre-commit checks
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
pre-commit:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-python@v4
13+
with:
14+
python-version: "3.x"
15+
- uses: pre-commit/[email protected]

.github/workflows/prettier.yml

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

.gitpod.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,51 @@ workspaceLocation: gitpod/gitpod-ws.code-workspace
22
checkoutLocation: gitpod
33

44
github:
5-
prebuilds:
6-
# enable for the master/default branch (defaults to true)
7-
master: true
8-
# enable for all branches in this repo (defaults to false)
9-
branches: false
10-
# enable for pull requests coming from this repo (defaults to true)
11-
pullRequests: true
12-
# enable for pull requests coming from forks (defaults to false)
13-
pullRequestsFromForks: true
14-
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
15-
addComment: true
16-
# add a "Review in Gitpod" button to pull requests (defaults to false)
17-
addBadge: false
5+
prebuilds:
6+
# enable for the master/default branch (defaults to true)
7+
master: true
8+
# enable for all branches in this repo (defaults to false)
9+
branches: false
10+
# enable for pull requests coming from this repo (defaults to true)
11+
pullRequests: true
12+
# enable for pull requests coming from forks (defaults to false)
13+
pullRequestsFromForks: true
14+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
15+
addComment: true
16+
# add a "Review in Gitpod" button to pull requests (defaults to false)
17+
addBadge: false
1818

1919
# See .github/Dockerfile
2020
image: ghcr.io/nextflow-io/training:latest
2121

2222
tasks:
23-
- before: printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc && exit
23+
- before: printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc && exit
2424

25-
- name: Start web server
26-
command: gp ports await 23000 && gp preview https://training.nextflow.io/hello_nextflow
25+
- name: Start web server
26+
command: gp ports await 23000 && gp preview https://training.nextflow.io/hello_nextflow
2727

28-
- name: Load Nextflow Tutorial
29-
command: docker pull -q nextflow/rnaseq-nf
28+
- name: Load Nextflow Tutorial
29+
command: docker pull -q nextflow/rnaseq-nf
3030

31-
- name: Start Nextflow Tutorial
32-
env:
33-
NXF_HOME: "/workspace/gitpod/.nextflow"
34-
command: |
35-
cd hello-nextflow
36-
source $HOME/.bashrc
37-
export PS1='\[\e[3;36m\]${PWD/*\//} ->\[\e[0m\] '
38-
unset JAVA_TOOL_OPTIONS
39-
clear
31+
- name: Start Nextflow Tutorial
32+
env:
33+
NXF_HOME: "/workspace/gitpod/.nextflow"
34+
command: |
35+
cd hello-nextflow
36+
source $HOME/.bashrc
37+
export PS1='\[\e[3;36m\]${PWD/*\//} ->\[\e[0m\] '
38+
unset JAVA_TOOL_OPTIONS
39+
clear
4040
4141
vscode:
42-
extensions: # based on nf-core.nf-core-extensionpack
43-
- codezombiech.gitignore # Language support for .gitignore files
44-
- cssho.vscode-svgviewer # SVG viewer
45-
- esbenp.prettier-vscode # Markdown/CommonMark linting and style checking for Visual Studio Code
46-
- EditorConfig.EditorConfig # override user/workspace settings with settings found in .editorconfig files
47-
- Gruntfuggly.todo-tree # Display TODO and FIXME in a tree view in the activity bar
48-
# - mechatroner.rainbow-csv # Highlight columns in csv files in different colors
49-
- nextflow.nextflow # Nextflow syntax highlighting
50-
# - oderwat.indent-rainbow # Highlight indentation level
51-
- streetsidesoftware.code-spell-checker # Spelling checker for source code
52-
- ms-vscode.live-server
42+
extensions: # based on nf-core.nf-core-extensionpack
43+
- codezombiech.gitignore # Language support for .gitignore files
44+
- cssho.vscode-svgviewer # SVG viewer
45+
- esbenp.prettier-vscode # Markdown/CommonMark linting and style checking for Visual Studio Code
46+
- EditorConfig.EditorConfig # override user/workspace settings with settings found in .editorconfig files
47+
- Gruntfuggly.todo-tree # Display TODO and FIXME in a tree view in the activity bar
48+
# - mechatroner.rainbow-csv # Highlight columns in csv files in different colors
49+
- nextflow.nextflow # Nextflow syntax highlighting
50+
# - oderwat.indent-rainbow # Highlight indentation level
51+
- streetsidesoftware.code-spell-checker # Spelling checker for source code
52+
- ms-vscode.live-server

.pre-commit-config.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
repos:
2-
- repo: https://github.com/pre-commit/mirrors-prettier
3-
rev: "v3.1.0"
4-
hooks:
5-
- id: prettier
6-
additional_dependencies:
7-
2+
- repo: https://github.com/pre-commit/mirrors-prettier
3+
rev: "v3.1.0"
4+
hooks:
5+
- id: prettier
6+
additional_dependencies:
7+
88

9-
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
10-
rev: "2.7.3"
11-
hooks:
12-
- id: editorconfig-checker
13-
alias: ec
9+
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
10+
rev: "2.7.3"
11+
hooks:
12+
- id: editorconfig-checker
13+
alias: ec
1414

15-
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v5.0.0
17-
hooks:
18-
- id: trailing-whitespace
19-
exclude_types:
20-
- svg
21-
- id: end-of-file-fixer
22-
exclude_types:
23-
- svg
15+
- repo: https://github.com/pre-commit/pre-commit-hooks
16+
rev: v5.0.0
17+
hooks:
18+
- id: trailing-whitespace
19+
exclude_types:
20+
- svg
21+
- id: end-of-file-fixer
22+
exclude_types:
23+
- svg

.prettierrc

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

CONTRIBUTING.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
Table of contents:
44

5-
- [Contributing](#contributing)
6-
- [Contribution model](#contribution-model)
7-
- [Installation](#installation)
8-
- [Docker](#docker)
9-
- [Python](#python)
10-
- [Social cards](#social-cards)
11-
- [Figures \& diagrams](#figures--diagrams)
12-
- [Content style and formatting](#content-style-and-formatting)
13-
- [Formatting / linting](#formatting--linting)
14-
- [Admonitions](#admonitions)
15-
- [Known limitations](#known-limitations)
16-
- [Code annotations](#code-annotations)
17-
- [Word highlighting](#word-highlighting)
18-
- [TODO / FIXME](#todo--fixme)
5+
- [Contributing](#contributing)
6+
- [Contribution model](#contribution-model)
7+
- [Installation](#installation)
8+
- [Docker](#docker)
9+
- [Python](#python)
10+
- [Social cards](#social-cards)
11+
- [Figures \& diagrams](#figures--diagrams)
12+
- [Content style and formatting](#content-style-and-formatting)
13+
- [Formatting / linting](#formatting--linting)
14+
- [Admonitions](#admonitions)
15+
- [Known limitations](#known-limitations)
16+
- [Code annotations](#code-annotations)
17+
- [Word highlighting](#word-highlighting)
18+
- [TODO / FIXME](#todo--fixme)
1919

2020
## Contribution model
2121

@@ -92,11 +92,11 @@ If there is an announcement banner, you can enable and customise it using the fo
9292

9393
```yaml
9494
extra:
95-
# Announcement banner for upcoming training
96-
announcement:
97-
active: false
98-
date_text: March 5-6, 2024
99-
register_url: https://nf-co.re/events/2024/training-foundational-march
95+
# Announcement banner for upcoming training
96+
announcement:
97+
active: false
98+
date_text: March 5-6, 2024
99+
register_url: https://nf-co.re/events/2024/training-foundational-march
100100
```
101101
102102
If you need more customisation, edit `docs/assets/overrides/main.html`
@@ -136,9 +136,9 @@ There is a GitHub action that checks pull-requests for valid formatting.
136136
We use admonitions extensively to make certain pieces of content stand out.
137137
Please see the [official docs](https://squidfunk.github.io/mkdocs-material/reference/admonitions/) for an explanation.
138138

139-
- Note that we have two custom admonitions: `exercise` and `result` (alias `solution`).
140-
- `!!!` does a regular admonition, `???` makes it collapsed (click to expand).
141-
- Intendation is important! Make sure you check the rendered site, as it's easy to make a mistake.
139+
- Note that we have two custom admonitions: `exercise` and `result` (alias `solution`).
140+
- `!!!` does a regular admonition, `???` makes it collapsed (click to expand).
141+
- Intendation is important! Make sure you check the rendered site, as it's easy to make a mistake.
142142

143143
## Known limitations
144144

@@ -168,4 +168,4 @@ I recommend the [Todo Tree VSCode extension](https://marketplace.visualstudio.co
168168

169169
A list of key ones also included here:
170170

171-
- Remove plugin install from Phil's GitHub fork in `requirements.txt` and `.github/mkdocs.Dockerfile` when [this PR](https://github.com/timvink/mkdocs-enumerate-headings-plugin/pull/33) is merged
171+
- Remove plugin install from Phil's GitHub fork in `requirements.txt` and `.github/mkdocs.Dockerfile` when [this PR](https://github.com/timvink/mkdocs-enumerate-headings-plugin/pull/33) is merged

0 commit comments

Comments
 (0)