@automattic/vip 2.14.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +582 -0
  2. package/CONTRIBUTING.md +2 -2
  3. package/README.md +0 -549
  4. package/assets/dev-env.lando.template.yml.ejs +10 -14
  5. package/dist/bin/vip-config-software-get.js +90 -0
  6. package/dist/bin/vip-config-software-update.js +147 -0
  7. package/dist/bin/vip-config-software.js +27 -0
  8. package/dist/bin/vip-config.js +1 -1
  9. package/dist/bin/vip-dev-env-create.js +11 -9
  10. package/dist/bin/vip-dev-env-import-sql.js +1 -1
  11. package/dist/bin/vip-dev-env-info.js +0 -3
  12. package/dist/bin/vip-dev-env-start.js +3 -2
  13. package/dist/bin/vip-dev-env-update.js +2 -2
  14. package/dist/bin/vip-import-sql.js +6 -4
  15. package/dist/lib/analytics/clients/pendo.js +2 -5
  16. package/dist/lib/api/app.js +9 -3
  17. package/dist/lib/api/http.js +71 -0
  18. package/dist/lib/api.js +4 -24
  19. package/dist/lib/app.js +36 -0
  20. package/dist/lib/cli/command.js +9 -2
  21. package/dist/lib/config/software.js +345 -0
  22. package/dist/lib/constants/dev-environment.js +7 -8
  23. package/dist/lib/constants/vipgo.js +22 -0
  24. package/dist/lib/dev-environment/dev-environment-cli.js +109 -43
  25. package/dist/lib/dev-environment/dev-environment-core.js +25 -3
  26. package/dist/lib/dev-environment/dev-environment-lando.js +5 -4
  27. package/dist/lib/site-import/db-file-import.js +1 -1
  28. package/dist/lib/user-error.js +14 -0
  29. package/dist/lib/validations/is-multisite-domain-mapped.js +161 -0
  30. package/dist/lib/validations/line-by-line.js +3 -2
  31. package/dist/lib/validations/site-type.js +27 -1
  32. package/dist/lib/validations/utils.js +45 -0
  33. package/npm-shrinkwrap.json +134 -35
  34. package/package.json +5 -2
package/README.md CHANGED
@@ -23,552 +23,3 @@ For help with contributing to this project, including instructions for local dev
23
23
  ## Analytics
24
24
 
25
25
  By default, we record information about the usage of this tool using an in-house analytics sytem. If you would prefer to opt-out of this data collection, you can do so via the `DO_NOT_TRACK` environment variable. You may either export it in your shell configuration or specify it on the command line (e.g. `DO_NOT_TRACK=1 vip app list`).
26
-
27
- ## Changelog
28
-
29
- ### 2.14.0 (19 Jul 2022)
30
-
31
- - #1059 Update engines to show support for npm > 6
32
- - #1058 [dev-env] switch dev-env error during import to warning
33
- - #1057 [dev-env] Update debug instruction example
34
- - #1055 [dev-env] Makes exec attempt to run the task even if env seems to be down
35
-
36
- ### 2.13.1 (20 Jun 2022)
37
-
38
- - #1052 [dev-env] Update/lando compose version
39
- - #1045 README: Fix Typo `VIP CLI` => `VIP-CLI`
40
- - #1048 Switch to GitHub Actions
41
-
42
- ### 2.13.0 (16 Jun 2022)
43
-
44
- - #1046 Add Cache Purge Command
45
- - #1050 [dev-env] Change docs link
46
- - #1047 [dev-env] Bump lando package
47
- - #1044 [dev-env] Fix healthchecks No. 2
48
- - #1043 [dev-env] add docker-compose v2 support
49
- - #1042 [dev-env] Fix search popup during wizard
50
- - #1038 [dev-env] Adds domain validation during sql import
51
- - #1040 [dev-env] track dev-env start time in seconds
52
-
53
- ### 2.12.0 (19 May 2022)
54
-
55
- - #1035 and #1032 Improved publishing checks to publish on npm
56
- - #1037 [dev-env] only record the php version numbers update/clean_php_version
57
- - #999 Add Feature to Support HTTPS/HTTP/NO_PROXY Settings
58
- - #1036 Move DO_NOT_TRACK handling to Analytics lib
59
- - #1033 [dev-env] Bump lando in order to support node 18
60
-
61
- #### Special thanks
62
- frank-cerny for the contribution on #999
63
-
64
- ### 2.11.2 (12 May 2022)
65
-
66
- - Hotfix to use correct production config.json in the NPM published package caused by a different NPM version in the build process.
67
-
68
- ### 2.11.1 (12 May 2022)
69
-
70
- - Hotfix to use correct production config.json in the NPM published package
71
-
72
- ### 2.11.0 (11 May 2022)
73
-
74
- - #1022 [dev-env] Validate docker installed
75
- - #1026 [dev-env] adds tracking to stop subcommand
76
- - #1028 Re-calculate the fileMeta if file gets changed by the searchAndReplace
77
- - #1029 Adds Pendo analytics client
78
- - #1030 [dev-env] Fix failure tracking
79
-
80
- ### 2.10.0 (4 May 2022)
81
-
82
- - #1021 [dev-env] Add login info and documentation link to `dev-env info`
83
- - #1023 [dev-env] Skip the trunk from the prompt about the latest available WordPress versions
84
- - #1019 [dev-env] Unifies lando and other dev-env debug logs
85
- - #1018 [dev-env] enable lando debug on `--debug`
86
- - #1017 [dev-env] Adding tracking for create and destroy sub commands
87
- - #1016 [dev-env] Adding tracking for start sub command
88
- - #1020 [dev-env] More tracking
89
-
90
- ### 2.9.5 (26 April 2022)
91
-
92
- - #1005 [dev-env] updateWordPress image improvements
93
- - #1006 Remove renovate.json
94
- - #1007 Set up CodeQL Scanning
95
- - #1008 WP-CLI: Reattach Reconnect-Related Events After a Successful Reconnection
96
- - #1009 Add ability to choose a PHP image to use
97
- - #1010 [dev-env] Add Enterprise Search, XDebug, phpMyAdmin options to the config wizard.
98
-
99
- ### 2.9.4 (07 April 2022)
100
-
101
- - #996 Clean up lint warnings
102
- - #1001 Fix reconnect event listeners
103
- - #1000 Bump socket.io-client from 4.0.1 to 4.4.1
104
-
105
- ### 2.9.3 (29 March 2022)
106
-
107
- - #995 Add debug call to dev-envs handleCLIException
108
- - #992 Add --debug flag to all commands
109
- - #993 [dev-env] Fix in caching version list.
110
- - #994 Fix typo in error message
111
- - #990 [dev-env] Add check for wp folder map add/php_healthcheck
112
- - #991 Adds optional channing since `progress` can be null as per GraphQL schema
113
- - #989 Fixes unit test error `bsdthread_register error`
114
- - #987 Add support for M1 Macs in the search-replace tests
115
-
116
- ### 2.9.2 (9 March 2022)
117
-
118
- - #980 [dev-env] Fix/tag formatting on stapled images
119
- - #986 Clean the build folder prior to rebuilding it
120
- - #985 Adding webP to the list of accepted extensions for files
121
- - #972 Run tests in Windows Env
122
-
123
- https://github.com/Automattic/vip/releases/tag/v2.9.2
124
-
125
- ### 2.9.1 (2 March 2022)
126
-
127
- - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
128
- - #978 [dev-env] Added phpmyadmin proxy value
129
-
130
- https://github.com/Automattic/vip/releases/tag/v2.9.1
131
-
132
- ### 2.9.0 (1 March 2022)
133
-
134
- - #966 [dev-env] Dynamic WordPress Image List
135
- - #975 [dev-env] prompt On Unselected Env
136
- - #974 [dev-env] Corrections of text for -h menu in dev-env create
137
- - #973 [dev-env] update Nginx image
138
- - #971 [dev-env] Use custom add user command
139
- - #964 [dev-env] Validate sql on import
140
- - #970 [dev-env] Do not use /tmp as a userConfRoot
141
- - #977 Fix flow errors
142
- - #976 Fix/duplicate shortcut parameter
143
- - #968 Update minimum Node version
144
-
145
- https://github.com/Automattic/vip/releases/tag/v2.9.0
146
-
147
- ### 2.8.2 (27 January 2021)
148
-
149
- - #961 Fixes md5 calculation failing when search-replace is used
150
- - #959 Fixes md5 calculation for SQL Imports on VIPd
151
-
152
- https://github.com/Automattic/vip/releases/tag/v2.8.2
153
-
154
- ### 2.8.0 (25 January 2021)
155
-
156
- - #952 FORNO-1047: Fix SQL Import for compressed files
157
- - #955 Add Error prefix for "Failed to fetch logs" msg
158
- - #946 Add support for the site logs tailing feature
159
- - #953 [dev-env] Updated list of available wordpress images for dev-env
160
- - #933 Update dependency debug to v4.3.3
161
-
162
- https://github.com/Automattic/vip/releases/tag/v2.8.0
163
-
164
- ### 2.7.1 (10 January 2021)
165
-
166
- - #950 Switch to npm-shrinkwrap
167
- - #947 [dev-env] List all dev env alias
168
- - #944 Add `vip whoami` command
169
- - #942 Envvar: Show message when there is an attempt to change the New Relic key.
170
-
171
- https://github.com/Automattic/vip/releases/tag/v2.7.1
172
-
173
- ### 2.7.0 (07 December 2021)
174
-
175
- - #941 [dev-env] Bump lando CLI dependency
176
- - #938 Hide roll back message after SQL Import failure for launched sites
177
- - #936 Sets jest maxWorkers to 4
178
-
179
- https://github.com/Automattic/vip/releases/tag/v2.7.0
180
-
181
- ### 2.6.0 (23 November 2021)
182
-
183
- - #921 [dev-env] Introuces update to change existing environment
184
- - #928 [dev-env] Switch lando to use our fork
185
- - #927 [dev-env] Handles user already exists during sql import
186
- - #925 [dev-env] Fix the issue with dev-env update
187
- - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
188
- - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
189
- - #922 Update eslint-config-wpvip commit hash to c6605d1
190
- - #873 Pin dependencies
191
-
192
- ### 2.5.0 (9 November 2021)
193
-
194
- - #919 [dev-env] Expose lando core logs
195
- - #916 [dev-env] Save instance data state
196
- - #914 [dev-env] update help wording for dev env
197
- - #915 Add warning message when an envvar is set/deleted
198
-
199
- ### 2.4.0 (5 November 2021)
200
-
201
- - #913 [dev-env] No login required for dev-env
202
- - #911 Adds more release instructions
203
-
204
- ### 2.3.1 (2 November 2021)
205
-
206
- - Fixes an issue with the 2.3.0 where the intended changes didn't get published correctly.
207
-
208
- ### 2.3.0 (2 November 2021)
209
-
210
- - #908 [dev-env] Custom user permissions setup
211
- - #897 [dev-env] Primary domain prompt for primary domain redirect
212
- - #902 [dev-env] Delete file permissions
213
- - #900 Clarify CONTRIBUTING guidelines
214
- - #905 Update contribution steps
215
-
216
- ### 2.2.0 (27 October 2021)
217
-
218
- New: Environment variables command
219
-
220
- - #896 Open config envvar command for all customers
221
- - #876 Update envvar list command to only show names
222
- - #879 Add config envvar get and get-all commands
223
- - #875 Temporarily gate access to new config command to VIP staff
224
- - #858 Environment variable CLI commands (list, set, delete)
225
-
226
- Fixes:
227
-
228
- - #901 Don't mark import as failed until restore has completed
229
- - #899 Proxy fix + healthchecks
230
- - #894 support windows db import
231
- - #889 Proxy config change
232
- - #888 mount wordpress code
233
- - #872 Auto flush cache after import and add vipgo user
234
- - #869 Media redirect to production site.
235
- - #885 Make search data persistent between restarts
236
- - #844 Expose DB and expose extra services in info table
237
- - #865 spawn WP-CLI as root to allow for FS operations
238
- - #895 Fix rmdir deprecation warning
239
- - #870 Add the VIP-CLI release process and release schedule
240
-
241
- Dependencies updates:
242
-
243
- - #778 Update dependency ini to v2
244
- - #786 Update dependency keytar to v7
245
- - #884 Update dependency cli-columns to v4
246
- - #887 Update dependency lando to v3.4.3
247
- - #874 Update dependency lando to v3.4.0
248
- - #750 Bump hosted-git-info from 2.8.8 to 2.8.9
249
- - #877 Bump tmpl from 1.0.4 to 1.0.5
250
-
251
- https://github.com/Automattic/vip/releases/tag/v2.2.0
252
-
253
- ### 2.1.0 (16 September 2021)
254
-
255
- - #857 Remove select DB checks
256
- - #864 Adding WordPress versions to dev-env
257
- - #868 persist database data in between container restarts
258
- - #862 Fix lint warnings
259
- - #867 Update dependency lando to v3.3.2
260
- - #863 Add links to CONTRIBUTING and SECURITY
261
- - #855 Add some helpful hints for new command scaffolding
262
- - #856 Adding media import command on dev environment
263
- - #849 Adding SQL import to dev environment
264
- - #854 Updating command descriptions and arguments on dev-env
265
- - #850 Use official memcached image on dev-env
266
- - #853 Enable ssl forwarding on dev-env
267
- - #851 Conditionally disabling statsd on mu-plugins
268
- - #852 Fixing Prettier format annotation typo
269
- - #843 Removing custom wp-config-defaults
270
- - #848 Not using a prefix to all dev environments
271
- - #847 Update dependency lando to v3.3.0
272
- - #840 Use official Elasticsearch image on dev-env
273
- - #845 Fix MariaDB healthcheck
274
- - #846 dev-env: Update error message for directory prompt
275
- - #842 Removing PHP parameter from dev environment
276
- - #839 Use official MariaDB image and enable version selection on dev-env
277
-
278
- https://github.com/Automattic/vip/releases/tag/v2.1.0
279
-
280
- ### 2.0.14 (26 August 2021)
281
-
282
- - Update dependency graphql to v15.5.1 #796
283
- - Update dependency graphql-tag to v2.12.5 #799
284
- - Update dependency debug to v4.3.2 #806
285
- - Remove fake data dev-env commands #830
286
- - Disable statsd by default #831
287
- - Support ES version option #832
288
- - Removing mu-plugins test command #835
289
- - Making PHPMyAdmin optional on dev-env #836
290
- - Patching Docker for Windows in dev-env #837
291
- - enable/disable xdebug #838
292
-
293
- https://github.com/Automattic/vip/releases/tag/v2.0.14
294
-
295
- ### 2.0.13 (19 August 2021)
296
-
297
- - Allow user to run multisite import even if wpSites.nodes doesn't exist. #815
298
- - Bumping version number to 2.0.12 #827
299
- - Path resolving fixes #829
300
- - Send header each time #826
301
- - Sets up a volume for media files #825
302
- - Update dependency chalk to v4.1.2 #813
303
- - Update dependency lando to v3.1.4 #797
304
- - Upgrading statsd container to 0.9.0 #828
305
-
306
- https://github.com/Automattic/vip/releases/tag/v2.0.13
307
-
308
- ### 2.0.12 (13 August 2021)
309
-
310
- - Using new VIP Docker images for dev-env #818
311
- - Bump path-parse from 1.0.6 to 1.0.7 #819
312
- - Increasing dev-env PMA upload limit to 4G #822
313
- - PIE-2890 Fixes issue where user is unable to login after logout #823
314
-
315
- https://github.com/Automattic/vip/releases/tag/v2.0.12
316
-
317
- ### 2.0.11 (5 August 2021)
318
-
319
- - Handle parameter validation in a consistent way #795
320
- - Fix error blocking data sync on CLI sites #810
321
- - Update DB Engine check to reduce false positives #811
322
- - Retrieve the status and steps regardless of the site type. #812
323
- - Dev-Env: Handle relative file paths #802
324
- - Dev-Env: Make dev-env start more resilient #804
325
- - Dev-Env: Validate Path to a component #803
326
- - Dev-Env: Handle multisite = false correctly #809
327
- - Dev-Env: Adds a check for an orphaned proxy container #814
328
- - FORNO-759: Add logged in user details to all Tracks events #801
329
- - FORNO-779: Throttle request to Parker when fetching media import status #808
330
-
331
- https://github.com/Automattic/vip/releases/tag/2.0.11
332
-
333
- ### 2.0.10 (21 June 2021)
334
-
335
- - Adds Media Import Abort subcommand
336
- - Disables enterprise search by default
337
- - Handles numbered slugs correctly
338
- - Unifies print table on start command with other commands
339
- - Drops the isVip requirement for dev-env
340
- - Fixes intermittent fatal error caused due to analytics tracking
341
- - Misc dependency updates
342
-
343
- https://github.com/Automattic/vip/releases/tag/v2.0.10
344
-
345
- ### 2.0.9 (3 June 2021)
346
-
347
- - Enable SQL import for all site types
348
- - Bug fix for analytics errors causing some commands to fail
349
- - Add the full changelog to the readme
350
- - Improved error output by adding debug info and consistent output/error codes
351
- - Misc dependency updates
352
-
353
- https://github.com/Automattic/vip/releases/tag/v2.0.9
354
-
355
- ### 2.0.8 (27 May 2021)
356
-
357
- - [Beta] Media Import: Enable media imports for production WordPress applications
358
- - SQL Import: Enable SQL Import for launched sites
359
- - SQL Import: Enable SQL Import for multisite networks
360
- - SQL Import: Additional input file validation
361
-
362
- https://github.com/Automattic/vip/releases/tag/v2.0.8
363
-
364
- ### 2.0.7 (6 May 2021)
365
-
366
- - SQL Import: Add additional multisite validations
367
- - Update socket.io-client to 4.0.1
368
- - Misc. dependency updates
369
-
370
- https://github.com/Automattic/vip/releases/tag/v2.0.7
371
-
372
- ### 2.0.6 (15 Apr 2021)
373
-
374
- - SQL Import: Add additional checks for site type
375
-
376
- https://github.com/Automattic/vip/releases/tag/v2.0.6
377
-
378
- ### 2.0.5 (8 Mar 2021)
379
-
380
- - Fix a bug when comparing env data to selected environment #697
381
-
382
- https://github.com/Automattic/vip/releases/tag/v2.0.5
383
-
384
- ### 2.0.4 (3 Mar 2021)
385
-
386
- - Bump socket.io-client from 2.3.0 to 2.4.0 (Fixes WP-CLI in node 15+) #679
387
- - Additional SQL import file static validations #669
388
-
389
- https://github.com/Automattic/vip/releases/tag/v2.0.4
390
-
391
- ### 2.0.3 (19 Feb 2021)
392
-
393
- - Improved SQL import validation around the use of TRIGGER
394
-
395
- https://github.com/Automattic/vip/releases/tag/v2.0.3
396
-
397
- ### 2.0.2 (15 Feb 2021)
398
-
399
- - Improved handling of debug output during search & replace
400
- - Updated the vip-search-replace package to ^1.0.13
401
-
402
- https://github.com/Automattic/vip/releases/tag/v2.0.2
403
-
404
- ### 2.0.1 (11 Feb 2021)
405
-
406
- - SQL Import: Improved reporting of server-side failures
407
- - SQL Import: Add ability to skip local validation
408
- - Updated the vip-search-replace package to v1.0.12
409
- - SQL Import: Fix and test for multi-site tables that have more than one digit
410
-
411
- https://github.com/Automattic/vip/releases/tag/v2.0.1
412
-
413
- ### 2.0.0 (2 Feb 2021)
414
-
415
- - Drops support for Node 8
416
- - Added Security Policy
417
- - Added SQL file import feature for new sites
418
- - Added SQL search and replace feature
419
-
420
- https://github.com/Automattic/vip/releases/tag/v2.0.0
421
-
422
- ### 1.12.1 (8 Sep 2020)
423
-
424
- - Updated list of accepted special characters for media files for imports
425
-
426
- https://github.com/Automattic/vip/releases/tag/v1.12.1
427
-
428
- ### 1.12.0 (21 Aug 2020)
429
-
430
- - Added multisite support for media files validation
431
- - Added Tracks for SQL and media file validation events
432
-
433
- https://github.com/Automattic/vip/releases/tag/v1.12.0
434
-
435
- ### 1.11.2 (17 Aug 2020)
436
-
437
- - Added support for multiple nested folders for the media file validation command
438
-
439
- https://github.com/Automattic/vip/releases/tag/v1.11.2
440
-
441
- ### 1.11.1 (17 Aug 2020)
442
-
443
- - Added fix to process the import validation subcommands
444
-
445
- https://github.com/Automattic/vip/releases/tag/v1.11.1
446
-
447
- ### 1.11.0 (17 Aug 2020)
448
-
449
- - Added `vip import validate sql` and `vip import validate files` commands to run static validation checks for SQL and media files for imports
450
-
451
- https://github.com/Automattic/vip/releases/tag/v1.11.0
452
-
453
- ### 1.10.0 (12 Jun 2020)
454
-
455
- - Added support for specifying a SOCKS proxy through the environment variable VIP_PROXY
456
-
457
- https://github.com/Automattic/vip/releases/tag/v1.10.0
458
-
459
- ### 1.9.0 (30 Mar 2020)
460
-
461
- - Added support for [opting out of usage tracking](https://github.com/Automattic/vip/tree/e54d9ee0ce2dd4725ca8718b3aba06db24306ad7#analytics) via `DO_NOT_TRACK` environment variable #547
462
- - Fix interactive commands not working correctly #478
463
- - Show usage information when an unsupported command is entered #527
464
- - Dependency & dev dependency upgrades
465
-
466
- https://github.com/Automattic/vip/releases/tag/v1.9.0
467
-
468
- ### 1.8.0 (25 Sep 2019)
469
-
470
- - Fixes around cancelling commands via Ctrl-C
471
- - Gracefully handle remote command cancellation
472
- - Enhance Rollbar logging for additional use cases
473
-
474
- https://github.com/Automattic/vip/releases/tag/v1.8.0
475
-
476
- ### 1.7.0 (15 Aug 15 2019)
477
-
478
- - Resume long-running WP-CLI commands in case of network interruptions
479
-
480
- https://github.com/Automattic/vip/releases/tag/v1.7.0
481
-
482
- ### 1.6.2 (25 Jul 2019)
483
-
484
- - Corrected some install issues with the 1.6.0/1.6.1 releases.
485
-
486
- https://github.com/Automattic/vip/releases/tag/v1.6.2
487
-
488
- ### 1.6.1 (25 Jul 2019)
489
-
490
- - Intermittent release to test some issues with v1.6.0
491
-
492
- https://github.com/Automattic/vip/releases/tag/v1.6.1
493
-
494
- ### 1.6.0 (25 Jul 2019)
495
-
496
- - We added ability to cancel running commands.
497
- - We fixed an issue with trailing characters such as line breaks affecting use of command output by scripts.
498
- - Various dependancy updates.
499
-
500
- https://github.com/Automattic/vip/releases/tag/v1.6.0
501
-
502
- ### 1.5.0 (15 Jul 2019)
503
-
504
- - Added `--yes` flag for WP-CLI commands to skip confirmation on production environments.
505
- - We fixed the character limit errors raised when running long WP-CLI commands.
506
- - We've added Rollbar to allow us to monitor and address errors
507
- - We updated third party dependencies to newer, more secure versions.
508
-
509
- https://github.com/Automattic/vip/releases/tag/v1.5.0
510
-
511
- ### 1.4.1 (29 Apr 2019)
512
-
513
- - No functional changes, 1.4.0 was already taken on NPM :)
514
-
515
- https://github.com/Automattic/vip/releases/tag/1.4.1
516
-
517
- ### 1.4.0 (29 Apr 2019)
518
-
519
- - Added "environment alias" support (`vip @my-site.env sync`)
520
- - Added support for WP-CLI commands
521
- - Misc. dependency updates
522
-
523
- https://github.com/Automattic/vip/releases/tag/1.4.0
524
-
525
- ### 1.3.0 (1 Feb 2019)
526
-
527
- - We now display information header for every `vip app --app` execution [(#223)](https://github.com/Automattic/vip/pull/223).
528
- - We fixed the logout bug asking the user to login before being able to logout [(#222)](https://github.com/Automattic/vip/pull/222) and we also display a message when a user logout [(#221)](https://github.com/Automattic/vip/pull/221).
529
- - We replaced `inquirer` with `enquirer` [(#229)](https://github.com/Automattic/vip/pull/229).
530
- - We fixed a bug where we didn't check if we can sync to an environment before accessing some information about it [(#230)](https://github.com/Automattic/vip/pull/230).
531
- - We fixed an `EPIPE` bug when hitting `q` in `app list` command [(#225)](https://github.com/Automattic/vip/pull/225).
532
- - We updated third party dependencies to newer, more secure versions.
533
-
534
- https://github.com/Automattic/vip/releases/tag/v1.3.0
535
-
536
- ### 1.2.1 (5 Dec 2018)
537
-
538
- - The `1.2.0` version was containing a bug and we published a patch to fix it. Please use this version instead.
539
-
540
- https://github.com/Automattic/vip/releases/tag/v1.2.1
541
-
542
- ### 1.2.0 (5 Dec 2018)
543
-
544
- - We now display a preview of the `sync` feature with the backup time and the search/replace taking place in your database.
545
- - We now display your mapped domain instead of the placeholder `go-vip.co` domain in `vip app` and `vip app list`.
546
- - We now display a better message when an app does not have any non-production environments.
547
- - We fixed a bug where the help menu was not showing until you're logged in.
548
- - We updated third party dependencies to newer, more secure versions.
549
-
550
- https://github.com/Automattic/vip/releases/tag/v1.2.0
551
-
552
- ### 1.1.1 (1 Nov 2018)
553
-
554
- - Updates dependencies to fix a bug introduced by sub-dependencies.
555
-
556
- https://github.com/Automattic/vip/releases/tag/v1.1.1
557
-
558
- ### 1.1.0 (12 Jul 2018)
559
-
560
- - We now correctly report errors when `vip sync` fails. Previously, this would incorrectly report that a sync was run previously.
561
- - We fixed permissions issues for some users with `admin` access for repos. They were unable to properly view and access applications.
562
- - We now display more applications in `vip app list` (up to 100!) and have made it easier to browse through a large list thanks to (`$PAGER`|`less`) support. Previously you would only see the first 10 applications in your account.
563
-
564
- https://github.com/Automattic/vip/releases/tag/v1.1.0
565
-
566
- ### 1.0.0 (2 Jul 2018)
567
-
568
- The first release!
569
-
570
- - `vip app list`: view a list of all your applications.
571
- - `vip app`: view details about one of your applications.
572
- - `vip sync`: trigger [a data sync](https://vip.wordpress.com/2018/03/28/data-sync-on-vip-go/) to synchronize data from your production environment to non-production environments.
573
-
574
- https://github.com/Automattic/vip/releases/tag/v1.0.0
@@ -68,8 +68,6 @@ services:
68
68
  command: docker-entrypoint.sh mysqld
69
69
  ports:
70
70
  - ":3306"
71
- healthcheck:
72
- test: 'mysql -uroot --silent --execute "SHOW DATABASES;"'
73
71
  environment:
74
72
  MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'true'
75
73
  volumes:
@@ -92,7 +90,7 @@ services:
92
90
  environment:
93
91
  UPLOAD_LIMIT: 4G
94
92
  <% } %>
95
- <% if ( enterpriseSearchEnabled ) { %>
93
+ <% if ( elasticsearchEnabled ) { %>
96
94
  vip-search:
97
95
  type: compose
98
96
  services:
@@ -106,8 +104,6 @@ services:
106
104
  discovery.type: 'single-node'
107
105
  ports:
108
106
  - ":9200"
109
- healthcheck:
110
- test: "curl --noproxy '*' -XGET localhost:9200"
111
107
  volumes:
112
108
  - search_data:/usr/share/elasticsearch/data
113
109
  volumes:
@@ -151,7 +147,7 @@ services:
151
147
  mu-plugins: {}
152
148
  <% } %>
153
149
 
154
- <% if ( clientCode.mode == 'image' ) { %>
150
+ <% if ( appCode.mode == 'image' ) { %>
155
151
  client-code:
156
152
  type: compose
157
153
  services:
@@ -209,7 +205,7 @@ tooling:
209
205
  <% } else { %>
210
206
  - <%= muPlugins.dir %>:/wp/wp-content/mu-plugins
211
207
  <% } %>
212
- <% if ( clientCode.mode == 'image' ) { %>
208
+ <% if ( appCode.mode == 'image' ) { %>
213
209
  - type: volume
214
210
  source: clientcode_clientmuPlugins
215
211
  target: /wp/wp-content/client-mu-plugins
@@ -247,12 +243,12 @@ tooling:
247
243
  volume:
248
244
  nocopy: true
249
245
  <% } else { %>
250
- - <%= clientCode.dir %>/client-mu-plugins:/wp/wp-content/client-mu-plugins
251
- - <%= clientCode.dir %>/images:/wp/wp-content/images
252
- - <%= clientCode.dir %>/languages:/wp/wp-content/languages
253
- - <%= clientCode.dir %>/plugins:/wp/wp-content/plugins
254
- - <%= clientCode.dir %>/private:/wp/wp-content/private
255
- - <%= clientCode.dir %>/themes:/wp/wp-content/themes
256
- - <%= clientCode.dir %>/vip-config:/wp/wp-content/vip-config
246
+ - <%= appCode.dir %>/client-mu-plugins:/wp/wp-content/client-mu-plugins
247
+ - <%= appCode.dir %>/images:/wp/wp-content/images
248
+ - <%= appCode.dir %>/languages:/wp/wp-content/languages
249
+ - <%= appCode.dir %>/plugins:/wp/wp-content/plugins
250
+ - <%= appCode.dir %>/private:/wp/wp-content/private
251
+ - <%= appCode.dir %>/themes:/wp/wp-content/themes
252
+ - <%= appCode.dir %>/vip-config:/wp/wp-content/vip-config
257
253
  <% } %>
258
254
  <% } %>