-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
82 lines (76 loc) · 2.63 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# https://www.gitpod.io/docs
# https://www.gitpod.io/docs/references/gitpod-yml
# Commands to start on workspace startup
tasks:
- name: Mockintosh
before: |
pipx install mockintosh
pipx inject mockintosh markupsafe==2.0.1
cd ./single-threaded
# command: task runmocksservices
- name: Dependencies && Database
init: |
cd ./single-threaded
./mvnw -B dependency:go-offline package -DskipTests
mysql -e "show databases;"
mysql -e "create database if not exists singlethreadeddb;"
mysql -e "show databases;"
task dbbootstraping
cd ..
#- init: ./spring-batch-projects/mvnw -B dependency:go-offline package -DskipTests
# command: java -jar target/*.jar
# name: Run SingleThreaded app
image:
file: .gitpod.Dockerfile
# Define which path Gitpod considers the project’s workspace directory, relative to /workspace.
# workspaceLocation: "./single-threaded"
# exposed ports
ports:
- name: Web
port: 8080
onOpen: ignore
- name: Mysql Database
port: 3306
onOpen: notify
visibility: private
- name: Example Mock Service Config
port: 8081
onOpen: notify
visibility: public
- name: Demo Service
port: 8888
onOpen: notify
visibility: public
- name: Mockintosh Management API + UI
port: 9999
onOpen: notify
visibility: private
# Configure the VS Code editor.
vscode:
extensions:
- pivotal.vscode-spring-boot
- vscjava.vscode-java-pack
- WakaTime.vscode-wakatime # WakaTime
# Define the integration between Gitpod and JetBrains IDEs.
jetbrains:
intellij:
vmoptions: "-Xms2048m -Xmx2048m -XX:ReservedCodeCacheSize=1024m -Didea.connection.timeout=3600000"
# Find a page of the required plugin.
# Select the Versions tab.
# Click any version to copy the pluginId (short name such as org.rust.lang) of the plugin you want to install.
plugins:
- com.haulmont.jpab
- zielu.gittoolbox # GitToolBox
- lechuck.intellij-plugin.task # Taskfile
- cn.yiiguxing.plugin.translate # Translation
- com.intellij.grazie.pro # Grazie pro
- de.endrullis.idea.postfixtemplates # Custom Postfix Templates
- ru.adelf.idea.dotenv # .env files support
- String Manipulation # String Manipulation
- com.ultrahob.zerolength.plugin # Zero Width Characters locator
- com.intellij.javaee.batch # Jakarta EE: Batch Applications
- com.intellij.spring.batch # Spring Batch
- com.andrey4623.rainbowcsv # Rainbow CSV
# - com.wakatime.intellij.plugin # WakaTime, disable because api key is not stored and required every time new workspace start
prebuilds:
version: stable