-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.yml
89 lines (79 loc) · 2.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
image:
file: .gitpod.Dockerfile
# tasks for gitpod
tasks:
- name: Linux build
before: pip install win2xcur && sudo apt install imagemagick
init: win2xcur input/*.{ani,cur} -o linuxbuild/
command: ls -a linuxbuild
# - name: Jekyll Dependencies
# command: |
# touch /tmp/.dep-lock
# cd site
# bundle install
# echo "Dependencies installed, starting server!"
# rm /tmp/.dep-lock
# exit
# - name: Jekyll server
# init: sleep 1 && while [ -f /tmp/.dep-lock ]; do sleep 1; done
# command: |
# cd site
# bundle exec jekyll serve
# - name: CODEDOC Dependencies
# init: touch /tmp/.npm-lock
# command: |
# cd docs
# npm i -g @codedoc/cli
# codedoc install
# rm /tmp/.npm-lock
# - name: CODEDOC Server
# init: sleep 1 && while [ -f /tmp/.dep-lock ]; do sleep 1; done
# command: |
# cd docs
# codedoc serve
# - name: ngrok SSH Tunnel
# command: |
# echo "Starting the Shell Script!"
# sh ngrok.sh
# test
# - name: TCP Tunnel
# command: chisel server --socks5
# - name: SSH Server
# command: |
# [ -f /workspace/dropbear.hostkey ] || dropbearkey -t rsa -f /workspace/dropbear.hostkey
# dropbear -r /workspace/dropbear.hostkey -F -E -s -p 2222 -P ~/dropbear.pid
# - command: |
# mkdir -p ~/.ssh && open ~/.ssh/authorized_keys
# clear
# echo "=============="
# echo " INSTRUCTIONS "
# echo "=============="
# echo ""
# echo "1. Add your public SSH key to ~/.ssh/authorized_keys of this Gitpod workspace"
# echo ""
# echo "2. Install Chisel on your local machine, e.g. curl https://i.jpillora.com/chisel! | bash"
# echo " see https://github.com/jpillora/chisel"
# echo ""
# echo "3. Connect via SSH from your local machine:"
# echo " ssh -o ProxyCommand='chisel client $(gp url 8080) stdio:%h:%p' gitpod@localhost -p 2222"
# echo ""
ports:
- port: 4000
# test ends here
# GitHub
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: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod