-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitpod.yml
71 lines (61 loc) · 2.41 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Custom workspace and checkout locations
workspaceLocation: gitpod/gitpod.code-workspace # Refers to .code-workspace file
checkoutLocation: gitpod # Ensure Git clones into the correct location
# GitHub prebuild configuration
github:
prebuilds:
# Enable prebuilds for the master/default branch
master: true
# Disable prebuilds for all branches
branches: false
# Enable prebuilds for pull requests from this repo
pullRequests: true
# Enable prebuilds for pull requests from forks
pullRequestsFromForks: true
# Disable "Review in Gitpod" comment on PRs
addComment: false
# Disable "Review in Gitpod" badge on PRs
addBadge: false
# Docker image to use for the workspace
image:
file: .github/.gitpod.Dockerfile
# Tasks to execute during workspace initialisation and startup
tasks:
- before: printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc && exit
# Create directory structure
- name: Create Directories
init: |
mkdir -p /workspace/hello-nextflow/part1
mkdir -p /workspace/hello-nextflow/part2
# Download containers to be used in part 2
- name: Download containers
init: |
docker pull quay.io/biocontainers/salmon:1.10.1--h7e5ed60_0
docker pull quay.io/biocontainers/fastqc:0.12.1--hdfd78af_0
docker pull quay.io/biocontainers/multiqc:1.19--pyhdfd78af_0
command: docker run hello-world
# Open docs in a web browser
- name: Open Documentation Page
command: gp ports await 23000 && gp preview https://sydney-informatics-hub.github.io/hello-nextflow/
# Start the tutorial
- name: Start tutorial
command: |
cd hello-nextflow
source $HOME/.bashrc
export PS1='\[\e[3;36m\]${PWD/*\//} ->\[\e[0m\] '
unset JAVA_TOOL_OPTIONS
clear
# VSCode extensions to install in the workspace
vscode:
extensions:
- codezombiech.gitignore # Support for .gitignore files
- cssho.vscode-svgviewer # SVG viewer
- esbenp.prettier-vscode # Prettier for markdown formatting
#- EditorConfig.EditorConfig # Support for .editorconfig
#- Gruntfuggly.todo-tree # Display TODO/FIXME comments in a tree view
- nextflow.nextflow # Nextflow syntax highlighting
- streetsidesoftware.code-spell-checker # Spell checker for source code
- ms-vscode.live-server # Live server for web development
files:
open:
- /workspace/hello-nextflow