Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/dev/jetbrains-test/BUILD.yaml
2492 views
1
scripts:
2
- name: test-stable
3
srcs:
4
- "test.sh"
5
deps:
6
- components/ide/jetbrains/gateway-plugin:publish-stable
7
workdir: origin
8
script: |
9
cp $COMPONENTS_IDE_JETBRAINS_GATEWAY_PLUGIN__PUBLISH_STABLE/build/distributions/jetbrains-gateway-gitpod-plugin.zip jetbrains-gateway-gitpod-plugin.zip
10
./test.sh
11
- name: test-latest
12
srcs:
13
- "test.sh"
14
deps:
15
- components/ide/jetbrains/gateway-plugin:publish-latest
16
workdir: origin
17
script: |
18
cp $COMPONENTS_IDE_JETBRAINS_GATEWAY_PLUGIN__PUBLISH_LATEST/build/distributions/jetbrains-gateway-gitpod-plugin.zip jetbrains-gateway-gitpod-plugin.zip
19
./test.sh
20
- name: install-gui-dependencies
21
script: |
22
sudo install-packages \
23
tigervnc-standalone-server tigervnc-xorg-extension \
24
dbus dbus-x11 gnome-keyring xfce4 xfce4-terminal \
25
xdg-utils x11-xserver-utils pip
26
git clone --depth 1 https://github.com/novnc/noVNC.git /opt/novnc \
27
&& git clone --depth 1 https://github.com/novnc/websockify /opt/novnc/utils/websockify \
28
&& find /opt/novnc -type d -name '.git' -exec rm -rf '{}' + \
29
&& sudo -H pip3 install numpy
30
wget https://raw.githubusercontent.com/gitpod-io/workspace-images/main/chunks/tool-vnc/.xinitrc -O ~/.xinitrc
31
sudo wget https://raw.githubusercontent.com/gitpod-io/workspace-images/main/chunks/tool-vnc/gp-vncsession -O /usr/bin/gp-vncsession
32
sudo wget https://raw.githubusercontent.com/gitpod-io/workspace-images/main/chunks/tool-vnc/novnc-index.html -O /opt/novnc/index.html
33
sudo chmod +x /usr/bin/gp-vncsession
34
export DISPLAY=:0
35
gp-vncsession
36
37