-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitpod.yml
More file actions
53 lines (53 loc) · 1.69 KB
/
Copy path.gitpod.yml
File metadata and controls
53 lines (53 loc) · 1.69 KB
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
image:
file: .gitpod.Dockerfile
workspaceLocation: "./spring-graphql-training/workspace"
tasks:
- name: Build
init: |
./gradlew -x test clean bootJar
gp sync-done build
- name: Open Java File
command: |
gp open publy-backend/src/main/java/nh/publy/backend/graphql/PublyGraphQLController.java
gp open publy-backend/src/main/resources/graphql/publy.graphqls
- name: Run UserService
init: gp sync-await build
command: java -jar publy-userservice/build/libs/publy-userservice-0.0.1-SNAPSHOT.jar
- name: Compile Backend
init: |
gp sync-await build
command: |
./gradlew :publy-backend:build --continuous
- name: Run Backend
openMode: split-right
init: |
gp sync-await build
command: |
IMAGES_URL=`gp url 9080`
./gradlew :publy-backend:bootRun
# java -Dpubly.profileImageBaseUrl=${IMAGES_URL}/ -jar publy-backend/build/libs/publy-backend-0.0.1-SNAPSHOT.jar
ports:
- port: 3000-8999
onOpen: ignore
- port: 8090
onOpen: open-browser
visibility: public
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: true
vscode:
extensions:
- pivotal.vscode-spring-boot
- graphql.vscode-graphql
- msnilshartmann.blue-light