forked from datastaxdevs/quarkus-astra-intro-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
41 lines (39 loc) · 1.42 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
tasks:
- name: setup
before: |
echo "Setting up, please wait!"
cd /workspace/quarkus-astra-intro-demo
sed -i '1,$s/sdkman_auto_answer=false/sdkman_auto_answer=true/' /home/gitpod/.sdkman/etc/config
sed -i '1,$s/sdkman_selfupdate_enable=true/sdkman_selfupdate_enable=false/' /home/gitpod/.sdkman/etc/config
sdk install java 22.0.0.2.r11-grl -y
export GRAALVM_HOME=$JAVA_HOME
"$GRAALVM_HOME"/bin/gu install native-image
sudo apt-get install --reinstall xdg-utils --fix-missing -y
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl
ports:
- port: 5005
- port: 8080
- port: 8081
onOpen: open-browser
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: false
addCheck: true
addComment: false
addBadge: true
addLabel: false
vscode:
extensions:
- redhat.java
- github.vscode-pull-request-github
- gabrielbb.vscode-lombok
- vscjava.vscode-java-debug
- vscjava.vscode-java-pack