-
Notifications
You must be signed in to change notification settings - Fork 0
/
extra.gradle
31 lines (24 loc) · 1.24 KB
/
extra.gradle
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
task startPostgres(type: Exec, group: 'Docker', description: 'Starts and initialize PostgreSQL docker container') {
commandLine './docker/postgres.sh', 'start'
}
task stopPostgres(type: Exec, group: 'Docker', description: 'Stops and destroys PostgreSQL docker container') {
commandLine './docker/postgres.sh', 'stop'
}
task startMssql(type: Exec, group: 'Docker', description: 'Starts and initialize MSSQL docker container') {
commandLine './docker/mssql.sh', 'start'
}
task stopMssql(type: Exec, group: 'Docker', description: 'Stops and destroys MSSQL docker container') {
commandLine './docker/mssql.sh', 'stop'
}
task startOracle(type: Exec, group: 'Docker', description: 'Starts and initialize Oracle docker container') {
commandLine './docker/oracle.sh', 'start'
}
task stopOracle(type: Exec, group: 'Docker', description: 'Stops and destroys Oracle docker container') {
commandLine './docker/oracle.sh', 'stop'
}
task startMysql(type: Exec, group: 'Docker', description: 'Starts and initialize MySQL(MariaDB) docker container') {
commandLine './docker/mysql.sh', 'start'
}
task stopMysql(type: Exec, group: 'Docker', description: 'Stops and destroys MySQL(MariaDB) docker container') {
commandLine './docker/mysql.sh', 'stop'
}