Skip to content

Commit e913bcb

Browse files
authored
Merge pull request #507 from ewels/codespaces-2.1
Cherry-pick to master: Goodbye GitPod, hello GitHub Codespaces
2 parents 6fc3587 + 9070df7 commit e913bcb

File tree

97 files changed

+471
-250
lines changed

Some content is hidden

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

97 files changed

+471
-250
lines changed

.github/workflows/release-docs.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,21 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
16+
1617
- uses: actions/setup-python@v5
1718
with:
1819
python-version: 3.10.6
20+
1921
- name: Install Dependencies
2022
run: pip install -r requirements.txt
23+
2124
- name: Build Docs Website
22-
run: mike deploy --push --alias-type copy --update-aliases ${{ github.event.release.tag_name }} latest
25+
run: mike deploy --alias-type copy --update-aliases ${{ github.event.release.tag_name }} latest
26+
27+
- name: Pin GitHub Codespaces version
28+
run: |
29+
git checkout gh-pages
30+
find ${{ github.event.release.tag_name }} -type f -exec sed -i 's|ref=master|ref=${{ github.event.release.tag_name }}|g' {} +
31+
find latest -type f -exec sed -i 's|ref=master|ref=${{ github.event.release.tag_name }}|g' {} +
32+
git commit -am "Pin GitHub Codespaces link versions"
33+
git push

README.md

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

33
## » <https://training.nextflow.io> «
44

5-
[![Open in GitPod](https://img.shields.io/badge/Gitpod-%20Open%20in%20Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/nextflow-io/training)
5+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/nextflow-io/training?quickstart=1&ref=master)
66

77
Welcome to the Nextflow training repository!
88
We are excited to have you on the path to writing reproducible and scalable scientific workflows using Nextflow.
99

1010
- 👉🏻 Written training material: <https://training.nextflow.io>
1111

12-
- 👩🏻‍💻 Instructions on loading this repository within a GitPod environment: <https://training.nextflow.io/envsetup/>
12+
- 👩🏻‍💻 Instructions on loading this repository within a GitHub Codespaces environment: <https://training.nextflow.io/envsetup/>
1313

1414
- 📚 Nextflow documentation: <https://www.nextflow.io/docs/latest/>
1515

docs/advanced/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ By the end of this workshop, you will have the skills and knowledge to create co
1010

1111
Let's get started!
1212

13-
[![Open in Gitpod](https://img.shields.io/badge/Gitpod-%20Open%20in%20Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/nextflow-io/training)
13+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/nextflow-io/training?quickstart=1&ref=master)
1414

1515
## Learning objectives
1616

docs/advanced/orientation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Orientation
22

3-
The Gitpod environment contains some test data that will be used in this workshop.
3+
The GitHub Codespaces environment contains some test data that will be used in this workshop.
44

55
!!! note
66

7-
Follow [this link](../envsetup/index.md) if you have not yet setup your Gitpod environment.
7+
Follow [this link](../envsetup/index.md) if you have not yet setup your GitHub Codespaces environment.
88

99
## Getting started
1010

docs/advanced/structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You'll notice a `nxf_container_env` bash function that appends our bin directory
9292
```bash
9393
nxf_container_env() {
9494
cat << EOF
95-
export PATH="\$PATH:/workspace/gitpod/nf-training/advanced/structure/bin"
95+
export PATH="\$PATH:/workspaces/training/nf-training-advanced/structure/bin"
9696
EOF
9797
}
9898
```

docs/basic_training/cache_and_resume.fr.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ titre: Cache et reprise
33
description: Atelier de formation de base Nextflow
44
---
55

6+
!!! warning
7+
8+
Some of the translations on the training portal are out of date.
9+
The translated material may be incomplete or incorrect.
10+
We plan to update the translations later this year.
11+
In the meantime, please try to work through the English-language material if you can.
12+
613
# Cache d'exécution et reprise
714

815
Le mécanisme de mise en cache de Nextflow fonctionne en attribuant un identifiant unique à chaque tâche qui est utilisé pour créer un répertoire d'exécution distinct où les tâches sont exécutées et les résultats stockés.

docs/basic_training/cache_and_resume.pt.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ title: Cache e reentrância
33
description: Material de treinamento básico do Nextflow
44
---
55

6+
!!! warning
7+
8+
Some of the translations on the training portal are out of date.
9+
The translated material may be incomplete or incorrect.
10+
We plan to update the translations later this year.
11+
In the meantime, please try to work through the English-language material if you can.
12+
613
# Execução de cache e de reentrância
714

815
O mecanismo de caching do Nextflow funciona atribuindo uma ID única para cada tarefa que é usada para criar um diretório de execução separado onde as tarefas são executadas e os resultados guardados.

docs/basic_training/channels.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ Channel
324324
It will produce an output similar to the following:
325325

326326
```console title="Output"
327-
[liver, [/workspace/gitpod/nf-training/data/ggal/liver_1.fq, /workspace/gitpod/nf-training/data/ggal/liver_2.fq]]
328-
[gut, [/workspace/gitpod/nf-training/data/ggal/gut_1.fq, /workspace/gitpod/nf-training/data/ggal/gut_2.fq]]
329-
[lung, [/workspace/gitpod/nf-training/data/ggal/lung_1.fq, /workspace/gitpod/nf-training/data/ggal/lung_2.fq]]
327+
[liver, [/workspaces/training/nf-training/data/ggal/liver_1.fq, /workspaces/training/nf-training/data/ggal/liver_2.fq]]
328+
[gut, [/workspaces/training/nf-training/data/ggal/gut_1.fq, /workspaces/training/nf-training/data/ggal/gut_2.fq]]
329+
[lung, [/workspaces/training/nf-training/data/ggal/lung_1.fq, /workspaces/training/nf-training/data/ggal/lung_2.fq]]
330330
```
331331

332332
!!! warning

docs/basic_training/channels.pt.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
description: Material de treinamento básico do Nextflow
33
---
44

5+
!!! warning
6+
7+
Some of the translations on the training portal are out of date.
8+
The translated material may be incomplete or incorrect.
9+
We plan to update the translations later this year.
10+
In the meantime, please try to work through the English-language material if you can.
11+
512
# Canais
613

714
Canais são uma estrutura de dados chave do Nextflow que permite a implementação de fluxos de trabalho computacionais utilizando paradigmas funcional e reativo com base no paradigma de programação [Dataflow](https://en.wikipedia.org/wiki/Dataflow_programming).
@@ -229,9 +236,9 @@ Channel
229236
Ele produzirá uma saída semelhante à seguinte:
230237

231238
```groovy
232-
[liver, [/workspace/gitpod/nf-training/data/ggal/liver_1.fq, /workspace/gitpod/nf-training/data/ggal/liver_2.fq]]
233-
[gut, [/workspace/gitpod/nf-training/data/ggal/gut_1.fq, /workspace/gitpod/nf-training/data/ggal/gut_2.fq]]
234-
[lung, [/workspace/gitpod/nf-training/data/ggal/lung_1.fq, /workspace/gitpod/nf-training/data/ggal/lung_2.fq]]
239+
[liver, [/workspaces/training/nf-training/data/ggal/liver_1.fq, /workspaces/training/nf-training/data/ggal/liver_2.fq]]
240+
[gut, [/workspaces/training/nf-training/data/ggal/gut_1.fq, /workspaces/training/nf-training/data/ggal/gut_2.fq]]
241+
[lung, [/workspaces/training/nf-training/data/ggal/lung_1.fq, /workspaces/training/nf-training/data/ggal/lung_2.fq]]
235242
```
236243

237244
!!! warning
@@ -487,7 +494,7 @@ for (List linha : linhas) {
487494
Adicione um arquivo de texto CSV contendo o seguinte, como uma entrada de exemplo com o nome "fastq.csv":
488495

489496
```csv
490-
gut,/workspace/gitpod/nf-training/data/ggal/gut_1.fq,/workspace/gitpod/nf-training/data/ggal/gut_2.fq
497+
gut,/workspaces/training/nf-training/data/ggal/gut_1.fq,/workspaces/training/nf-training/data/ggal/gut_2.fq
491498
```
492499

493500
Em seguida, substitua o canal de entrada para as leituras em `script7.nf`, alterando as seguintes linhas:

docs/basic_training/config.pt.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ title: Configuração
33
description: Material de treinamento básico do Nextflow
44
---
55

6+
!!! warning
7+
8+
Some of the translations on the training portal are out of date.
9+
The translated material may be incomplete or incorrect.
10+
We plan to update the translations later this year.
11+
In the meantime, please try to work through the English-language material if you can.
12+
613
# Configuração do Nextflow
714

815
Um recurso importante do Nextflow é a capacidade de desacoplar a implementação do fluxo de trabalho e as configurações exigidas pela plataforma onde ele será executado.

0 commit comments

Comments
 (0)