generated from BGAcademy23/template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.gitpod.yml
61 lines (52 loc) · 2.21 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
image: gitpod/workspace-full-vnc
tasks:
- name: download data/scripts and install mamba
init: |
cd /workspace
curl -L "https://gitlab.com/wtsi-grit/rapid-curation/-/archive/main/rapid-curation-main.tar.gz?path=test_data" | tar xzf -
mv rapid-curation-main-test_data/test_data ./
rmdir rapid-curation-main-test_data
gunzip test_data/*.gz
wget https://github.com/wtsi-hpag/PretextView/releases/download/0.2.5/PretextView_Linux-x86-64.zip
unzip PretextView_Linux-x86-64.zip
wget https://gitlab.com/wtsi-grit/rapid-curation/-/raw/main/rapid_split.pl \
https://gitlab.com/wtsi-grit/rapid-curation/-/raw/main/rapid_join.pl \
https://gitlab.com/wtsi-grit/rapid-curation/-/raw/main/rapid_pretext2tpf_XL.py \
https://gitlab.com/wtsi-grit/rapid-curation/-/raw/main/test_tpf_sanity.pl
cd /workspace
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh -b -p /workspace/mambaforge && rm Mambaforge-$(uname)-$(uname -m).sh
/workspace/mambaforge/bin/mamba init bash
source ${HOME}/.bashrc
mamba create -n rapid -c bioconda perl-bioperl seqtk pyfastaq -y
command: |
cd /workspace
chmod a+x *.pl *.py
/workspace/mambaforge/bin/mamba init bash
source ${HOME}/.bashrc
mamba activate rapid
export PATH=/workspace:$PATH
clear
ports:
- port: 5900
onOpen: ignore
- port: 6080
onOpen: open-browser
visibility: public
workspaceLocation: "/workspace"
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod