Skip to content

Commit 8a015c8

Browse files
meysholdtona-agent
andcommitted
Add Ona devcontainer and automations config
Co-authored-by: Ona <no-reply@ona.com>
1 parent 37b0c4c commit 8a015c8

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,13 @@
2121
]
2222
}
2323
},
24-
"remoteUser": "vscode"
24+
"remoteUser": "vscode",
25+
"forwardPorts": [8080],
26+
"portsAttributes": {
27+
"8080": {
28+
"label": "Port 8080",
29+
"onAutoForward": "openPreview",
30+
"elevateIfNeeded": true
31+
}
32+
}
2533
}

.gitpod/automations.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
tasks:
2+
run:
3+
command: |
4+
./mvnw spring-boot:run
5+
dependsOn:
6+
- init
7+
name: "Run PetClinic App"
8+
triggeredBy:
9+
- postDevcontainerStart
10+
- manual
11+
init:
12+
command: |
13+
./mvnw clean install -U -DskipTests
14+
name: "Build"
15+
triggeredBy:
16+
- manual
17+
- prebuild

0 commit comments

Comments
 (0)