generated from thebgacademy/TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
28 lines (22 loc) · 967 Bytes
/
.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
image: gitpod/workspace-full-vnc
tasks:
- name: SETUP
init: |
# install fuse as a pre-requisite for AppImage
sudo apt -y install libfuse2 fuse
# install BandageNG optional deps
sudo apt -y install hmmer ncbi-blast+
# get bandageNG, there has to be an easier way?
# first we get the hex ID of the latest continuous build
name=`curl -s -H "Accept: application/vnd.github+json" "$(curl -s "https://api.github.com/repos/asl/BandageNG/actions/runs?event=push&status=success" | jq -r '.workflow_runs[0].artifacts_url')" 2>&1 |grep head_sha|awk '{print substr($2, 2, 7)}'|sort|uniq |tail -n 1`
wget https://github.com/asl/BandageNG/releases/download/continuous/BandageNG-Linux-$name.AppImage -O BandageNG
chmod u+x ./BandageNG
command: |
ls -lA /workspace && /workspace/BandageNG
ports:
- port: 5900
onOpen: ignore
- port: 6080
onOpen: open-browser
visibility: public
workspaceLocation: "/workspace"