-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
120 lines (101 loc) · 5.78 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
image:
file: .gitpod.Dockerfile
ports:
- port: 5900
onOpen: ignore
- name: VNC
description: full GUI Virtual Desktop
port: 6080
onOpen: open-browser
- name: phpMyAdmin
port: 80
onOpen: open-browser
tasks:
- name: Insatll & Configure BashHub
command: |
eval $(gp env -e)
echo $BASH_HUB_ACCESS_TOKEN \
&& echo $BASH_HUB_SYSTEM_NAME \
&& bashHubConfigurationFolder=$HOME/.bashhub \
&& bashHubConfigurationFile=config \
&& mkdir $bashHubConfigurationFolder \
&& bashHubConfigurationPath=$bashHubConfigurationFolder/$bashHubConfigurationFile \
&& printf "[bashhub]\naccess_token = $(echo $BASH_HUB_ACCESS_TOKEN)\nsystem_name = $(echo $BASH_HUB_SYSTEM_NAME)" > $bashHubConfigurationPath \
&& cat $bashHubConfigurationPath \
&& cd /workspace \
&& curl -OL https://bashhub.com/setup \
&& sed -z 's+\n if ! ../env/bin/bashhub util update_system_info; then\n # Run setup if we run into any issues updating our system info\n ../env/bin/bashhub setup\n fi++' -i setup \
&& bash setup \
&& rm setup \
&& echo "export GH_TOKEN=$(echo $GH_TOKEN)" >> ~/.bashrc \
&& echo "export GETGIST_TOKEN=$(echo $GH_TOKEN)" >> ~/.bashrc \
&& echo "export GETGIST_USER=$(echo $GETGIST_USER)" >> ~/.bashrc \
&& echo "export DOCKER_HUB_USERNAME=$(echo $DOCKER_HUB_USERNAME)" >> ~/.bashrc \
&& echo "export DOCKER_HUB_PASSWORD=$(echo $DOCKER_HUB_PASSWORD)" >> ~/.bashrc \
&& docker login --username $(echo $DOCKER_HUB_USERNAME) --password $(echo $DOCKER_HUB_PASSWORD) \
&& exit
# - name: Setup JADX & dex2jar
# command: |
# echo "export PATH=$HOME/$(cat $HOME/dexToolsFolder):$HOME/$(cat $HOME/dexToolsFolder)/bin:$HOME/$(cat $HOME/jadxFolder)/bin:$PATH" >> ~/.bashrc \
# && rm $HOME/dexToolsFolder $HOME/jadxFolder \
# && source ~/.bashrc
# - name: Run phpMyAdmin
# command: cd /opt/phpMyAdmin-5.2.0-all-languages && sudo php -S 0.0.0.0:80
# - name: Run IntelliJ IDEA
# command: cd /workspace && git clone --depth 1 "https://gitlab.com/baneeishaque/gitpod-workspace-full-vnc-1366x768-tint2-pcmanfm-zsh-android-studio-gh-chrome-intellij-idea.git" intellij-idea-config && rm -rf ~/.config/JetBrains/IntelliJIdea2022.3 && mkdir -p ~/.config/JetBrains && ln -s `pwd`/intellij-idea-config/IntelliJIdea2022.3-config ~/.config/JetBrains/IntelliJIdea2022.3 && rm -rf ~/.local/share/JetBrains/IntelliJIdea2022.3 && mkdir -p ~/.local/share/JetBrains && ln -s `pwd`/intellij-idea-config/IntelliJIdea2022.3-local ~/.local/share/JetBrains/IntelliJIdea20223 && rm -rf ~/.local/share/JetBrains/consentOptions && ln -s `pwd`/intellij-idea-config/consentOptions ~/.local/share/JetBrains/consentOptions && rm -rf ~/.local/share/JetBrains/bl && ln -s `pwd`/intellij-idea-config/bl ~/.local/share/JetBrains/bl && rm -rf ~/.local/share/JetBrains/crl && ln -s `pwd`/intellij-idea-config/crl ~/.local/share/JetBrains/crl && cd /usr/local/idea-IU-223.6646.99/bin/ && ./idea.sh
# - name: Open Google Chrome
# command: cd /workspace && git clone --depth 1 "https://gitlab.com/baneeishaque/gitpod-workspace-full-vnc-1366x768-tint2-pcmanfm-zsh-android-studio-gh-chrome-private.git" chrome-config && export CHROME_CONFIG_HOME=`pwd`/chrome-config && google-chrome
# - name: Open Eclipse
# command: cd /usr/local/eclipse/ && ./eclipse
# - name: Open Key Explorer
# command: kse
# - name: Open Android Studio Canary
# command: cd /workspace && git clone --depth 1 "https://gitlab.com/baneeishaque/gitpod-workspace-full-vnc-1366x768-tint2-pcmanfm-zsh-android-studio.git" android-studio-config && rm -rf ~/.config/Google && mkdir -p ~/.config/Google && ln -s `pwd`/android-studio-config/AndroidStudioPreview2022.1-config ~/.config/Google/AndroidStudioPreview2022.1 && rm -rf ~/.local/share/Google && mkdir -p ~/.local/share/Google && ln -s `pwd`/android-studio-config/AndroidStudioPreview2022.1-local ~/.local/share/Google/AndroidStudioPreview2022.1 && rm -rf ~/.local/share/Google/consentOptions && ln -s `pwd`/android-studio-config/consentOptions ~/.local/share/Google/consentOptions && cd /usr/local/android-studio-canary/bin/ && ./studio.sh
# - name: Open Android Studio Beta
# command: cd /workspace && git clone --depth 1 "https://gitlab.com/baneeishaque/gitpod-workspace-full-vnc-1366x768-tint2-pcmanfm-zsh-android-studio.git" android-studio-config && rm -rf ~/.config/Google && mkdir -p ~/.config/Google && ln -s `pwd`/android-studio-config/AndroidStudio2021.3-config ~/.config/Google/AndroidStudio2021.3 && rm -rf ~/.local/share/Google && mkdir -p ~/.local/share/Google && ln -s `pwd`/android-studio-config/AndroidStudio2021.3-local ~/.local/share/Google/AndroidStudio2021.3 && cd /usr/local/android-studio-beta/bin/ && ./studio.sh
# - name: Get Gist
# command: getgist <username> <filename>
# - name: List Gists
# command: lsgists <username>
# - name: Check Poetry
# command: poetry --version
# - name: Check tree
# command: tree --version
# - name: Check VS Code
# command: code --version
# - name: Check VS Code Insiders
# command: code-insiders --version
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: false
addComment: false
addBadge: true
jetbrains:
intellij:
prebuilds:
version: both
goland:
prebuilds:
version: both
pycharm:
prebuilds:
version: both
phpstorm:
prebuilds:
version: both
vscode:
extensions:
- vscode.markdown
- vscode.markdown-language-features
- vscode.github
- GitHub.vscode-pull-request-github
- vscode.merge-conflict
- vscode.references-view
- vscode.search-result
- vscode.docker
- redhat.vscode-yaml
- vscode.json