forked from hyperledger-labs/business-partner-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
55 lines (51 loc) · 1.67 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
image:
file: .gitpod.Dockerfile
ports:
- port: 8080
onOpen: ignore
- port: 8081
onOpen: open-preview
- port: 8030
onOpen: ignore
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: 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: false
tasks:
- name: dev acapy
init: |
eval $(gp env -e ACAPY_ENDPOINT=`gp url 8030`)
cd scripts
cp .env-example .env
./register-did.sh
command: |
eval $(gp env -e)
docker-compose -f docker-compose.dev yml up aca-py
- name: dev backend
init: |
cd backend
mvn package -DskipTests
command: |
gp env BPA_HOST=`gp url 8080 | sed 's/.*https:\/\///'`
eval $(gp env -e)
gp await-port 8081 && java -XX:+UnlockExperimentalVMOptions -Dcom.sun.management.jmxremote-jar -Dmicronaut.environments=dev -jar ./business-partner-agent/target/*.jar
- name: dev fronend
init: |
cd frontend
npm install
command: |
gp env BPA_HOST=`gp url 8080 | sed 's/.*https:\/\///'`
eval $(gp env -e VUE_APP_API_BASE_URL=`gp url 8080`/api)
gp await-port 8080 && npm run serve -- --port 8081