forked from shopware5/SwagBackendOrder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.psh.yml.dist
53 lines (50 loc) · 1.74 KB
/
.psh.yml.dist
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
templates:
- source: vendor/shopware/plugin-dev-tools/templates/config_testing.php.tpl
destination: vendor/shopware/plugin-dev-tools/output/config_tmp.php
dynamic:
PLUGIN: pwd | awk -F '/' '{print $NF}'
PLUGIN_LOWERCASE: pwd | awk -F '/' '{print tolower($NF)}'
DB_DATABASE: echo "test_$(pwd | awk -F '/' '{print tolower($NF)}')"
APP_ID: "docker-compose ps -q $(pwd | awk -F '/' '{print tolower($NF)}')"
SHOPWARE_ROOT: "./vendor/shopware/plugin-dev-tools/bin/shopware-root.sh"
ENV: pwd | awk -F '/' '{print tolower($NF)"test"}'
USER_ID: id -u
const:
PHP_VERSION: "7.0"
environments:
docker:
templates:
- source: vendor/shopware/plugin-dev-tools/docker/templates/docker-compose.yml.tpl
destination: ./docker-compose.yml
- source: vendor/shopware/plugin-dev-tools/docker/templates/Dockerfile.tpl
destination: ./Dockerfile
dynamic:
PLUGIN_WORKDIR: ./vendor/shopware/plugin-dev-tools/bin/plugin-workdir.sh
paths:
- vendor/shopware/plugin-dev-tools/docker
const:
DB_ROOT_PASSWORD: "root"
DB_USER: "shopware"
DB_PASSWORD: "shopware"
DB_HOST: "mysql"
DB_PORT: "3306"
local:
dynamic:
PLUGIN_WORKDIR: pwd
paths:
- vendor/shopware/plugin-dev-tools/local
const:
DB_USER: "root"
DB_PASSWORD: "root"
DB_HOST: "mysql"
DB_PORT: "3306"
travis:
dynamic:
PLUGIN_WORKDIR: pwd
paths:
- vendor/shopware/plugin-dev-tools/travis
const:
DB_PASSWORD: ""
DB_USER: "travis"
DB_HOST: "127.0.0.1"
DB_PORT: "3306"