Customer
Comments
-
To be a bit more clear, if you don’t use set -e, the build will exit with the exit code of the last command. For example: ls /folder/that/doesnt/exist exit 0 Will exit with exit code “0”, for succ...
-
Yes, you can do this with the platform subscription:info command. The shortcut for that command is platform s:info, and you can use it like this: platform s:info plan 2xlarge. If you add the -p fla...
-
Some services offer a native way to run “delete all” on data, in which case that is the preferred method. If that is difficult or not viable for some reason (for instance, on an SQL database where ...
-
That depends in large part on where you’re running the tests. If you’re running tests in build (good for PHPUnit and similar), then you can leave whatever artifacts you want on disk as it is still ...
-
For Drupal (all versions) a quick way to do this would be via drush : platform drush sql:drop …Will empty all tables, rather than attempt to “DROP DATABASE ...; CREATE DATABASE ...” which the web...
-
Hi Daniel. The build environment is branch-agnostic. Since build images can be reused on multiple branches there’s no way to detect the branch during build. This is not something we currently supp...
-
The command is missing a quote character. Should be curl -XGET 'elasticsearch.internal:9200/_cat/allocation?v&pretty'
-
Although it is not possible to manually set a password for a MySQL or MariaDB service, it is possible to cause Platform.sh to provide a generated password for the database endpoint. If you follow t...
-
For Drupal 8, the process will be the same, but the syntax of configuration settings overrides will be different. First explore the modules settings via the Drupal UI, and try setting it manually...
-
Example: Drupal 8 SMTP module Configs are seen at /admin/config/system/smtp but it’s better to set these from the environment level in your settings.php like so: $config['smtp.settings']['smtp_hos...