-
Notifications
You must be signed in to change notification settings - Fork 121
/
.gitpod.yml
48 lines (44 loc) · 1.37 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
image:
file: .gitpod.Dockerfile
tasks:
- name: spring-petclinic-angular
init: |
cd /workspace/workshop-spring-reactive/spring-petclinic-angular
npm install --silent
npm run build --silent
command: |
cd /workspace/workshop-spring-reactive/spring-petclinic-angular
echo "export const environment = {production: false, REST_API_URL: '$(gp url 9966)/petclinic/api/'};" > /workspace/workshop-spring-reactive/spring-petclinic-angular/src/environments/environment.ts
npm run start
env:
# suppress the "Would you like to share anonymous usage data with the Angular Team at Google under Google’s Privacy Policy" message.
NG_CLI_ANALYTICS: ci
- name: spring-petclinic-reactive
init: |
mvn clean package install
command: |
. setup.sh
java -jar target/spring-petclinic-reactive-1.0.0-SNAPSHOT.jar
ports:
- port: 4200
onOpen: open-browser
# Backend port showing
- port: 9966
onOpen: open-browser
# This is actuator port
- port: 9967
onOpen: ignore
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: false
addCheck: true
addComment: false
addBadge: true
addLabel: false
vscode:
extensions:
- Pivotal.vscode-spring-boot@1.22.0:NtlGb5ygHm2uP5qeqfVrCA==
- cool2k.vscode-lombok@1.0.2:e816/wZO588Jp8PN58Wj6g==