This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
/
.psh.yaml.dist
115 lines (105 loc) · 3.36 KB
/
.psh.yaml.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
header: |
SHOPWARE Developer Version
_
| |
___| |__ ___ _ ____ ____ _ _ __ ___
/ __| '_ \ / _ \| '_ \ \ /\ / / _` | '__/ _ \
\__ \ | | | (_) | |_) \ V V / (_| | | | __/
|___/_| |_|\___/| .__/ \_/\_/ \__,_|_| \___|
| |
|_|
templates:
- source: ".env.dist"
destination: ".env"
paths:
- dev-ops/common/actions
const:
DB_USER: "app"
DB_PASSWORD: "app"
DB_HOST: "mysql"
DB_PORT: "3306"
DB_NAME: "shopware"
APP_URL: "http://localhost:8000"
APP_ENV: "dev"
APP_MAILER_URL: "smtp://mailhog:1025"
APP_WATCH: "false"
SSH_PRIVATE_KEY_PATH: ""
ESLINT_DISABLE: "true"
CYPRESS_HEADLESS: "true"
CYPRESS_ENV: "Administration"
CYPRESS_PARAMS: ""
CYPRESS_LOCAL: false
CHROME_BIN: ""
E2E_RESTORE_DUMP_PATH: /tmp/shopware_e2e_dump.sql.gz
SHOPWARE_ES_HOSTS: "elasticsearch:9200"
SHOPWARE_ES_ENABLED: "0"
SHOPWARE_ES_THROW_EXCEPTION: "0"
SHOPWARE_ES_INDEXING_ENABLED: "0"
SHOPWARE_ES_INDEX_PREFIX: "sw"
SHOPWARE_HTTP_CACHE_ENABLED: "0"
SHOPWARE_SCHEDULED_TASKS_DISABLED: "0"
BLUE_GREEN_DEPLOYMENT: "1"
SHOPWARE_HTTP_DEFAULT_TTL: 7200
DOCKER_SYNC_ENABLED: false
FEATURES: |
FEATURE_NEXT_516=1
DEVPORT: "8080"
STOREFRONT_PROXY_PORT: 9998
PHP_TEST_SUITES: "administration storefront checkout content framework profiling migration system elasticsearch docs"
PHP_TEST_COVERAGE:
VERSION:
DOCKER_IMAGE_PHP: webdevops/php-apache
DOCKER_IMAGE_PHP_VERSION: 7.4
DOCKER_STOP_BEHAVIOUR: down
dynamic:
USERKEY: echo "$(id -u):$(id -g)"
APP_ID: docker-compose ps -q app_server
MYSQL_ID: docker-compose ps -q app_mysql
CYPRESS_ID: docker-compose ps -q cypress
USER_ID: id -u
GROUP_ID: id -g
E2E_ENV: if [ -z "$(grep docker /proc/self/cgroup)" ]; then echo "default"; else echo "docker"; fi
PROJECT_ROOT: echo `pwd`
COMPOSER_HOME: echo ${COMPOSER_HOME:-"$HOME/.composer"}
DOCKER_APP_VOLUME_MOUNT: echo ".:/app"
DOCKER_APP_VOLUMES: echo ""
environments:
docker:
paths:
- "dev-ops/docker/actions"
dynamic:
DOCKER_APP_VOLUME_MOUNT: |
DOCKER_SYNC_ENABLED=$(grep DOCKER_SYNC_ENABLED .env | xargs); DOCKER_SYNC_ENABLED=${DOCKER_SYNC_ENABLED#*=};
if [[ ${DOCKER_SYNC_ENABLED} ]]; then echo "app_server:/app:nocopy"; else echo ".:/app"; fi
DOCKER_APP_VOLUMES: |
DOCKER_SYNC_ENABLED=$(grep DOCKER_SYNC_ENABLED .env | xargs); DOCKER_SYNC_ENABLED=${DOCKER_SYNC_ENABLED#*=};
if [[ ${DOCKER_SYNC_ENABLED} ]]; then echo "volumes:\n app_server:\n external: true"; else echo ""; fi
templates:
- source: ".env.dist"
destination: ".env"
- source: "dev-ops/docker/docker-compose.override.yml"
destination: "./docker-compose.override.yml"
administration:
dynamic:
HOST: if [ -z "$(grep docker /proc/self/cgroup)" ]; then echo "localhost"; else echo "0.0.0.0"; fi
paths:
- "dev-ops/administration/actions"
e2e:
const:
DB_NAME: "shopware_e2e"
APP_ENV: e2e
paths:
- "dev-ops/e2e/actions"
templates:
- source: ".env.dist"
destination: ".env"
- source: "dev-ops/docker/docker-compose.override.yml"
destination: "./docker-compose.override.yml"
storefront:
paths:
- "dev-ops/storefront/actions"
docs:
const:
DOCS_DIR: "./vendor/shopware/platform/src/Docs"
paths:
- "dev-ops/docs/actions"