-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzerops.yaml
More file actions
103 lines (101 loc) · 2.38 KB
/
zerops.yaml
File metadata and controls
103 lines (101 loc) · 2.38 KB
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
zerops:
- setup: base
build:
os: ubuntu
base: [email protected]
envVariables:
prepareCommands:
- curl -sSO https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- sudo chmod +x wp-cli.phar
- sudo mv wp-cli.phar /usr/local/bin/wp
- wp --allow-root --info
buildCommands:
- curl -sS https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1.php -o ./wordpress/adminer.php
- wp --allow-root core download --path=./wordpress --locale=cs_CZ --version=6.6.2
deployFiles:
- ./wordpress
- ./scripts
- ./site.conf.tmpl
run:
os: ubuntu
base: [email protected]
envVariables:
HTTP_X_FORWARDED_PROTO: https
WORDPRESS_DB_HOST: ${wpdb_hostname}
WORDPRESS_DB_NAME: ${hostname}
WORDPRESS_DB_PASSWORD: ${wpdb_password}
WORDPRESS_DB_USER: ${wpdb_user}
prepareCommands:
- sudo apt-get update && sudo apt-get install -y mariadb-client
- curl -sSO https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- sudo chmod +x wp-cli.phar
- sudo mv wp-cli.phar /usr/local/bin/wp
initCommands:
- sudo -E -u zerops -- sh ./scripts/initialize.sh
siteConfigPath: site.conf.tmpl
- setup: wp01
extends: base
- setup: wp02
extends: base
- setup: wp03
extends: base
- setup: wp04
extends: base
- setup: wp05
extends: base
- setup: wp06
extends: base
- setup: wp07
extends: base
- setup: wp08
extends: base
- setup: wp09
extends: base
- setup: wp0a
extends: base
- setup: wp0b
extends: base
- setup: wp11
extends: base
- setup: wp12
extends: base
- setup: wp13
extends: base
- setup: wp14
extends: base
- setup: wp15
extends: base
- setup: wp16
extends: base
- setup: wp17
extends: base
- setup: wp18
extends: base
- setup: wp19
extends: base
- setup: wp1a
extends: base
- setup: wp1b
extends: base
- setup: wp21
extends: base
- setup: wp22
extends: base
- setup: wp23
extends: base
- setup: wp24
extends: base
- setup: wp25
extends: base
- setup: wp26
extends: base
- setup: wp27
extends: base
- setup: wp28
extends: base
- setup: wp29
extends: base
- setup: wp2a
extends: base
- setup: wp2b
extends: base