- 09 Nov, 2016 2 commits
-
-
Samuel Sirois authored
We should parametrize this option through drush's make/yml files. This will avoid an error that occurs in some situations where the folder to specified in contrib-destination gets overwritten by a git clone. e.g. : profiles/<my-profile> gets overwritten by a git clone while it might have been parent folder of contrib modules previously downloaded. This depends on the order a drush make/yml file has been written as far as I can understand the issue.
-
Philippe Mouchel authored
-
- 08 Nov, 2016 8 commits
-
-
Victor Nikulshin authored
Rewrite rsync exclude rules in deploy task Exclude `files/` directories and `settings.php` files from rsyncing. See merge request !28
-
Victor Nikulshin authored
Exclude `files/` directories and `settings.php` files from rsyncing.
-
Emmanuel Milou authored
Use of always_use_pty variable
-
Philippe Mouchel authored
-
Victor Nikulshin authored
Import missing lcd() from fabric api into deploy.py See merge request !27
-
Victor Nikulshin authored
-
Victor Nikulshin authored
Import missing execute() from fabric api into deploy.py See merge request !26
-
Victor Nikulshin authored
-
- 07 Nov, 2016 23 commits
-
-
Victor Nikulshin authored
Use fabric API to execute subtasks in docker.clean See merge request !25
-
Victor Nikulshin authored
-
Victor Nikulshin authored
Feature/docker.clean Removes container and images for a fresh workspace See merge request !24
-
Emmanuel Milou authored
-
Samuel Sirois authored
-
Samuel Sirois authored
-
Victor Nikulshin authored
Do not use `fab_run()` helper for local tasks Le `fab_run()` helper n'ajoute aucun fonctionnalité à l'exécution des commandes locales, mais il fair plus difficile à comprendre où un commande sera exécuter. Si on minimalise utilisation de `fab_run()`, le workflow de Drupalizer deviens plus transparent. See merge request !22
-
-
The `provision` task specifically targets Jenkins platform that can only exist in local environment. Direct usage of `local()` operation prevents accidental manipulation of build artifacts in other environments.
-
This argument is valid only in combination with `local` role parameter, and it is not being called in this combination anymore.
-
It makes sense (and even possible at all) to controll Docker containers from local environment. Replacing `fab_run()` directly with `local()` calls ensures that container management will not be performed inside of Docker instance or on remote server because of a configuration error.
-
The `fab_run()` function does not add any behavior for local calls, only ambiguity of the command execution environment. Inlining `local()` calls contributes to a clear separation of enrivonments.
-
Victor Nikulshin authored
Regularize usage of locale and site_languages config On n'a pas de besoin d'avoir deux parameters qui configure la locale d'installation. Seulement site_languages is suffisant. See merge request !23
-
The `site_languages` parameter can receive multiple language codes separated by commas. Thus its value cannot be reused as-is as a value of `locale` parameter which is passed to Drush during site installation. The value of `site_languages` must be split, and the first element in the list of languages will be used as a site locale during installation.
-
Locale configuration during installation is done with two config parameters: `locale` and `site_languages`, which is excessive. Given that the `locale` parameter is a simple boolean, its value can be inferred from the value of `site_languages` parameter.
-
Do not try to download translation if no languages were set in site configuration. Otherwise, Drush will try to download translations, will be able to find anything, and ultimately fail environment initialization.
-
Victor Nikulshin authored
Do not update /etc/hosts file if target hostname is not set See merge request !21
-
-
Victor Nikulshin authored
Change default vars values to something that does not crash Drupalizer See merge request !20
-
It is better to use the most common IP address assigned to Docker containers than to use a network broadcast address.
-
If configured host name is empty, Drupalizer will construct an invalid `sed` invocation to modify `/etc/hosts` file. As the result, environment initialization will fail.
-
-
Victor Nikulshin authored
Reformat code to match Python coding standards See merge request !17
-
- 02 Nov, 2016 7 commits
-
-
20th (Victor Nikulshin) authored
-
20th (Victor Nikulshin) authored
-
20th (Victor Nikulshin) authored
Exposing tasks from deploy module by their old names in addition to namespaced names for backwards compatibility.
-
20th (Victor Nikulshin) authored
-
20th (Victor Nikulshin) authored
Adding and removing blank lines where appropriate to be more in accordance with Python coding standards.
-
20th (Victor Nikulshin) authored
-
20th (Victor Nikulshin) authored
If function 'deploy' is defined in __init__.py it masks the imported module with the same name. Placing it into deploy.py file is more logical structure-wise. To make sure that the command is still accessible by its old name, it is marked as a default task for 'deploy' module.
-