-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod-pg.yml
61 lines (59 loc) · 1.15 KB
/
.gitpod-pg.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
image: gitpod/workspace-postgresql
tasks:
- name: 1a-psql
command: |
gp await-port 5432
psql
- name: 2a-install-jvm
env:
JAVA_VERSION: 17.0.7-librca
init: |
echo y | sdk install java $JAVA_VERSION || true
gp sync-done jvm-17
- name: 2b-spring-boot
env:
SPRING_PROFILES_ACTIVE: psql
before:
cd springboot
init: |
gp sync-await jvm-17
gradle build -x test
command: |
gp await-port 5432
gradle bootRun
- name: 2c-quarkus
env:
QUARKUS_PROFILE: psql
before:
cd quarkus
init: |
gp sync-await jvm-17
gradle quarkusBuild -x test
command: |
gp await-port 5432
gradle quarkusDev
- name: 2d-micronaut
env:
MICRONAUT_ENVIRONMENTS: ysql
before:
cd micronaut
init: |
gp sync-await jvm-17
gradle build -x test
command: |
gp await-port 5432
gradle run
# exposed ports
ports:
- port: 8080
name: spring-boot
onOpen: notify
- port: 8085
name: quarkus
onOpen: notify
- port: 8090
name: micronaut
onOpen: notify
- port: 5432
name: psql
onOpen: ignore