Загрузка страницы

Drupal CI automation and integration with CircleCi

Running tests on DrupalCi is always a lottery, sometimes the test that passes perfectly on your local environment will fail on DrupalCi. I tried to run it locally following this documentation https://www.drupal.org/drupalorg/docs/drupal-ci/running-drupalci-locally but it requires a lot of steps and it’s quite fiddly.

I created this proof of concept where you can run tests on your Drupal module locally using only one command.

See the documentation on how it works and try it yourself: https://github.com/dennisinteractive/drupalci/tree/master/8/apache

Here is the link with all tags available, including Drupal 7 and Interactive mode https://cloud.docker.com/u/marcelovani/repository/docker/marcelovani/drupalci.

With interactive mode you can spin your Drupal site, ssh inside it, run test multiple times, etc. When you are done, you can shut down the image.

Here is an example of integration with CircleCi https://github.com/marcelovani/captcha_keypad/blob/8.x-1.x/.circleci/config.yml

And finally, here you can see the results and artifacts https://circleci.com/gh/marcelovani/captcha_keypad/79#artifacts/containers/0

Видео Drupal CI automation and integration with CircleCi канала Engineering Channel
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
11 марта 2019 г. 21:21:31
00:06:12
Яндекс.Метрика