forked from spring-petclinic/spring-petclinic-reactive
-
Notifications
You must be signed in to change notification settings - Fork 54
/
.gitpod.yml
61 lines (54 loc) · 1.55 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
image:
file: .gitpod.Dockerfile
tasks:
# ------------------------------------
# SETUP USER INTERFACE
# ------------------------------------
- name: spring-petclinic-angular
init: |
gp open README.md
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
env:
NG_CLI_ANALYTICS: ci
- name: spring-petclinic-reactive
command: |
mvn clean
# --------------------------------------
# SETUP CQLSH and Create DB Workshop
# --------------------------------------
- name: setup-cqlsh
env:
CQLENG_ALLOW_SCHEMA_MANAGEMENT: 1
before: |
chmod 700 /workspace/workshop-spring-reactive/install-cqlsh
chmod 700 /workspace/workshop-spring-reactive/cqlsh
command: |
./install-cqlsh
./cqlsh
ports:
- port: 4200
onOpen: open-browser
visibility: public
- port: 9966
onOpen: open-browser
visibility: public
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: false
addCheck: true
addComment: false
addBadge: true
addLabel: false
vscode:
extensions:
- GabrielBB.vscode-lombok
- vscjava.vscode-java-pack
- Pivotal.vscode-boot-dev-pack