-
Notifications
You must be signed in to change notification settings - Fork 58
/
.gitpod.yml
40 lines (36 loc) · 1.2 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
image:
file: Dockerfile
tasks:
- init: |
mysql -e "CREATE USER 'monUser'@'localhost' IDENTIFIED BY 'monPassword';"
mysql -e "CREATE DATABASE GestionPedaBD"
mysql -e "GRANT ALL PRIVILEGES ON GestionPedaBD.* TO 'monUser'@'localhost';"
mysql -u monUser -pmonPassword GestionPedaBD < gestion_peda_mysql.sql
mvn package
- command: mvn compile exec:java -Dexec.mainClass=fr.univ_amu.iut.TestJDBC -Dexec.cleanupDaemonThreads=false
ports:
- port: 3306
onOpen: ignore
vscode:
extensions:
- vscjava.vscode-maven
- vscjava.vscode-java-dependency
- vscjava.vscode-java-debug
- vscjava.vscode-java-test
- vscjava.vscode-java-pack
- redhat.vscode-commons
- redhat.java
- redhat.vscode-xml
- redhat.fabric8-analytics
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# 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