vortex

Drupal project template

GPL-3.0 License

Stars
82
Committers
13

Bot releases are visible (Hide)

vortex - [8.x] Portability and stability.

Published by AlexSkrypnyk almost 4 years ago

This release concentrates on stability and portability.

DrevOps scripts are no longer altered as a part of install for every project. All configuration is managed through .env file.

Docker

CI and workflow

  • Added support for custom scripts to run after site install. This allows to prevent the need to directly modify DrevOps scripts for every project.
  • Added JS and CSS to PHPCS lint target.
  • Added additional PHPCS rules to enforce no empty lines before and after function opening.
  • Fixed 'ahoy debug' not restarting nginx service.
  • Added support for local environment overrides using .env.local file.
  • Added CONFIRM_RESPONSE to default.env.local to suppress questions locally.
  • Fixed install script replacing content in binary files.
  • Added suppressing of DB download flag (#618).
  • Added conditional install of theme assets if the theme was provided. This allows to use DrevOps scripts without modifying them when a custom theme is not present (for example, with headless installations).
  • Added enabling and disabling maintenance mode on build.
  • Added re-running of failed Behat tests.
  • Fixed DIDI failed tests affecting other CI builds (internal DrevOps utilities).
  • Fixed Bats test helper to work with the latest Bats (internal DrevOps utilities).
  • Fixed Drush lookup to always use local version before global.

Back-end

  • Added post config import update Drush command post-config-import-update. Addresses this core issue https://www.drupal.org/project/drupal/issues/2901418.
  • Added Composer update changelog generator (used after composer update to nicely summarise the modified packages with links to release and compare URLs).
  • Added $config_exclude_modules variable to settings.
  • Fixed config_split not using correct configuration per environment.
  • Added support for npm assets packages for libraries. (#606)
  • Switched to drupal/core-dev and updated package versions. (#611)
  • Updated drupal install scripts to support DB settings read from environment variables. (#603)

Front-end

  • Removed obsolete minified theme file (cleanup).

Integrations

  • Added Lagoon cloud routes to trusted host patterns in settings.
  • Updated Lagoon integration settings. (#604)
  • Added deployment notification script which sends emails on successful deployment.

Documentation

  • Added FAQ item about debugging Behat tests.
vortex - Updates

Published by AlexSkrypnyk about 4 years ago

vortex - [8.x] Database stored in Docker image

Published by AlexSkrypnyk over 4 years ago

This release adds highly demanded and long overdue support for using databases stored in Docker image. Using this workflow allows to build large database images in CI overnight and download databases as a fresh image in the morning to use for development and as a cache in CI.

During development, rebuilding local environments for projects with large databases will no longer be a long process (due to the time it takes to import from the database dump), but rather a matter of restarting a container. On the large databases (>1G) the time is reduced from 15-20 minutes to 15-30 seconds.

Additionally, there is now a support for several database sources: files or docker registry. As a result - there is a support for the following workflows (simplified):

  • Download the database from CURL/FTP/Acquia as a dump file -> Import the database -> Develop/run tests -> Deploy
  • Download the database from CURL/FTP/Acquia as a dump file -> Import into the Docker database image -> Push image to the registry -> Use the image to develop/run tests -> Deploy
  • Download the database from the previous version of the image -> Use the image to develop/run tests -> Deploy

CI configuration now allows to enable using the database cache (file or Docker image) from the builds ran on the previous days. It also now supports nightly builds to cache the database to be used in builds during the day (significant builds speedup).

Lastly, the installer script was rewritten in PHP to allow more robust parameters handling and better development speed. It has own PHPUnit tests and updated Bats integration tests.

And of course, all the new functionality has automated tests.

Docker

  • Updated images to Lagoon v1.4.1.
  • Updated Docker Compose configuration to support custom database image taken from DATABASE_IMAGE environment variable.
  • Removed quite pulling of the images. This is due to requests from developers to see which images were cached and which were downloaded during the build.

CI

  • ❗❗Added support for nightly database builds + test.
  • ❗Added support for per-workflow caching.
  • Added support for cache fallback with a switch - using per-branch build caches from previous days.
  • Increased database job timeout in CI to 30 minutes.

Scripts

  • πŸ”₯πŸ”₯πŸ”₯ Rewritten installer in PHP.
    • Better installer written in PHP + complies with Drupal coding standards.
    • Installer is interactive by default (previsously was quiet).
    • Added PHPunit tests for installer.
    • Updated existing integration Bats tests for installer.
    • Fixed several issues with automated configuration discovery for existing projects.
    • Installer now always overrides existing files during an update.
  • πŸ”₯πŸ”₯πŸ”₯ Added support for database-in-Docker-image. This allows to work with DB image with in-built data.
    • ❗❗❗ Use https://github.com/drevops/mariadb-drupal-data as a base image + DB seeding script is included.
    • ❗❗❗ Workflow switch is controlled by DATABASE_IMAGE environment variable (one variable to controll the whole workflow).
    • ❗❗ Added support for exporting image as archive. Used by CI to pass built images between jobs as cache and re-use this cache in the subsequent jobs.
    • ❗ Added support for deploying an image to a registry when exporting (if EXPORT_DB_DEPLOY_DOCKER is set).
    • Added reload-db command. Used to quickly restart database image.
    • Added ahoy pull-db command. Used to pull the latest version of the Database image.
  • Added support for deployment of multiple docker images to Docker registry (according to provided service-to-image map).
  • Added support for archiving and un-archiving of Docker images.
  • Removed DrevOps test files from the downloadable package. This makes the downloadable archive cleaner.
  • Moved DrevOps' tests and documentation under scripts/drevops directory.
  • Added VERBOSE_BUILD variable to show the build progress.
  • Added linting of Bats tests with Shellcheck.
  • Improved bats test helpers and assertions.
  • Added confirmations to ahoy build and ahoy down commands.

Back-end

  • Removed Gherkin patch to run single tests with release of behat/gherkin version 4.6.1.
  • Fixed cron running locally and in CI.

Front-end

No changes

Integrations

  • Added support for ODE environments in Acquia (settings and hooks).
  • Acquia is no longer an integration enabled by default.
  • Lagoon is no longer an integration suggested by default.

Documentation

  • Added more documentation in comments to .env file.
  • Added more FAQs.
  • Added documentation scaffolding (still WIP).
vortex - [7.x] Database stored in Docker image

Published by AlexSkrypnyk over 4 years ago

This release adds highly demanded and long overdue support for using databases stored in Docker image. Using this workflow allows to build large database images in CI overnight and download databases as a fresh image in the morning to use for development and as a cache in CI.

During development, rebuilding local environments for projects with large databases will no longer be a long process (due to the time it takes to import from the database dump), but rather a matter of restarting a container. On the large databases (>1G) the time is reduced from 15-20 minutes to 15-30 seconds.

Additionally, there is now a support for several database sources: files or docker registry. As a result - there is a support for the following workflows (simplified):

  • Download the database from CURL/FTP/Acquia as a dump file -> Import the database -> Develop/run tests -> Deploy
  • Download the database from CURL/FTP/Acquia as a dump file -> Import into the Docker database image -> Push image to the registry -> Use the image to develop/run tests -> Deploy
  • Download the database from the previous version of the image -> Use the image to develop/run tests -> Deploy

CI configuration now allows to enable using the database cache (file or Docker image) from the builds ran on the previous days. It also now supports nightly builds to cache the database to be used in builds during the day (significant builds speedup).

Lastly, the installer script was rewritten in PHP to allow more robust parameters handling and better development speed. It has own PHPUnit tests and updated Bats integration tests.

And of course, all the new functionality has automated tests.

Docker

  • Updated images to Lagoon v1.4.1.
  • Updated Docker Compose configuration to support custom database image taken from DATABASE_IMAGE environment variable.
  • Removed quite pulling of the images. This is due to requests from developers to see which images were cached and which were downloaded during the build.

CI

  • ❗❗Added support for nightly database builds + test.
  • ❗Added support for per-workflow caching.
  • Added support for cache fallback with a switch - using per-branch build caches from previous days.
  • Increased database job timeout in CI to 30 minutes.

Scripts

  • πŸ”₯πŸ”₯πŸ”₯ Rewritten installer in PHP.
    • Better installer written in PHP + complies with Drupal coding standards.
    • Installer is interactive by default (previsously was quiet).
    • Added PHPunit tests for installer.
    • Updated existing integration Bats tests for installer.
    • Fixed several issues with automated configuration discovery for existing projects.
    • Installer now always overrides existing files during an update.
  • πŸ”₯πŸ”₯πŸ”₯ Added support for database-in-Docker-image. This allows to work with DB image with in-built data.
    • ❗❗❗ Use https://github.com/drevops/mariadb-drupal-data as a base image + DB seeding script is included.
    • ❗❗❗ Workflow switch is controlled by DATABASE_IMAGE environment variable (one variable to controll the whole workflow).
    • ❗❗ Added support for exporting image as archive. Used by CI to pass built images between jobs as cache and re-use this cache in the subsequent jobs.
    • ❗ Added support for deploying an image to a registry when exporting (if EXPORT_DB_DEPLOY_DOCKER is set).
    • Added reload-db command. Used to quickly restart database image.
    • Added ahoy pull-db command. Used to pull the latest version of the Database image.
  • Added support for deployment of multiple docker images to Docker registry (according to provided service-to-image map).
  • Added support for archiving and un-archiving of Docker images.
  • Removed DrevOps test files from the downloadable package. This makes the downloadable archive cleaner.
  • Moved DrevOps' tests and documentation under scripts/drevops directory.
  • Added VERBOSE_BUILD variable to show the build progress.
  • Added linting of Bats tests with Shellcheck.
  • Improved bats test helpers and assertions.
  • Added confirmations to ahoy build and ahoy down commands.

Back-end

  • Removed Gherkin patch to run single tests with release of behat/gherkin version 4.6.1.
  • Fixed cron running locally and in CI.

Front-end

No changes

Integrations

  • Added support for ODE environments in Acquia (settings and hooks).
  • Acquia is no longer an integration enabled by default.
  • Lagoon is no longer an integration suggested by default.

Documentation

  • Added more documentation in comments to .env file.
  • Added more FAQs.
  • Added documentation scaffolding (still WIP).
vortex - [8.x] Better CI handling πŸ€– πŸ€– πŸ€–

Published by AlexSkrypnyk over 4 years ago

DrevOps has moved to its own GitHub organisation https://github.com/drevops! πŸŽ‰ πŸŽ‰ πŸŽ‰
This allows to maintain all repositories related to DrevOps in one place.

Docker

  • πŸ”₯ Updated container images to 1.2.0.
  • πŸ”₯ Updated PHP to 7.3.
  • πŸ”₯ Added Dockerfile for mariadb service with ability to provide custom configuration.
  • Less output when installing FE tools.
  • Added docker pull progress output suppression.

CI

  • πŸ”₯πŸ”₯πŸ”₯ Removed additional CI scripts. CI now uses ahoy scripts directly!
  • πŸ”₯πŸ”₯ Refactored CI config to use YAML anchors as variables. Also, defined section that should change per-project.
  • πŸ”₯ Move code linting is a separate job in CI.
  • πŸ”₯ Added default timezone for CI runner container.
  • Updated CI builder image to use new namespace.
  • Added more timeout for commands without output in CI.
  • Fixed network warning in CI.
  • Updated default database directory location in CI.
  • Added artifacts storage in CI
  • Added test results storage in CI

Scripts

  • Workflow
    • πŸ”₯πŸ”₯ Updated install-site script to support installing from database or fresh install if database dump file is not available.
    • πŸ”₯πŸ”₯ Fixed env variables with values being overridden by values in .env. Any variable that has a value in the current environment would be overwritten by the value in the .env file.
    • Fixed ahoy clean command not removing files with readonly permissions.
    • Moved Composer validation to project build stage (but only if composer is installed).
    • Refactored all scripts to correctly work with database dump directory and filename.
    • Improved the logic of DB sanitization - now only runs if file exists.
  • Tools
    • Updated lint for PHPCS to not be verbose while scanning.
    • Added logs for running unit tests.
    • Removed global unit test directory. Tests should live with modules.
  • Doctor
    • Removed Composer presence check from Doctor. Composer is not required on host.
    • Fixed Doctor check for status code of the homepage to allow 200 and 403, returned depending on the installation type.
    • Updated Doctor to check the status of all containers.
    • Added DOCTOR_CHECK_MINIMAL shorthand variable to run minimal Doctor checks in CI env.
  • Installation
    • Fixed install.sh not correctly discovering project settings when installed into a custom directory + tests.
    • Fixed install.sh not failing on errors.
    • Fixed install.sh to never modify DrevOps scripts when installing.
  • Testing
    • Fixed some integration tests not running.
  • πŸ”₯ Added printing of debug output in DrevOps scripts using DREVOPS_DEBUG variable.
  • Fixed code formatting in multiple scripts.
  • Removed DOCKER_HOST temporary override in .env file.
  • Removed default deployer user name from the deployment script. This should be set through env variables.

Back-end

  • Core and Modules
    • Updated Drupal core version to 8.8.
    • Removed obsolete code to load hook implementations from included sub-directories.
    • Added Shield popup default title.
    • Removed custom patches. Some of the patches were breaking existing sites.
  • Settings
    • Improved readability of settings.php file.
    • Updated default values in settings.local.php file.
    • Added skipping of permissions hardening locally and in CI.
  • Testing
    • Renamed test helper class to a trait in your_site_core module.

Front-end

  • Renamed style.scss to styles.scss.
  • Fixed FE browser list for autoprefix package.
  • Removed Barrio base theme and twbs/bootstrap library from theme.

Integrations

  • Updated Acquia credentials in .env file to not rely on variables.
  • Added NewRelic notifications for Acquia production.
  • Fixed Acquia DB download script not correctly identifying it's location.
  • Refactored Acquia hooks scripts to allow configuration through environment variables and comply with coding standards.

Other

  • Removed obsolete Brewfile.
  • Removed obsolete .nvmrc file.
vortex - [7.x] Better CI handling πŸ€– πŸ€– πŸ€–

Published by AlexSkrypnyk over 4 years ago

DrevOps has moved to its own GitHub organisation https://github.com/drevops! πŸŽ‰ πŸŽ‰ πŸŽ‰
This allows to maintain all repositories related to DrevOps in one place.

Docker

  • πŸ”₯ Updated container images to 1.2.0.
  • πŸ”₯ Updated PHP to 7.3.
  • πŸ”₯ Added Dockerfile for mariadb service with ability to provide custom configuration.
  • Less output when installing FE tools.
  • Added docker pull progress output suppression.

CI

  • πŸ”₯πŸ”₯πŸ”₯ Removed additional CI scripts. CI now uses ahoy scripts directly!
  • πŸ”₯πŸ”₯ Refactored CI config to use YAML anchors as variables. Also, defined section that should change per-project.
  • πŸ”₯ Move code linting is a separate job in CI.
  • πŸ”₯ Added default timezone for CI runner container.
  • Updated CI builder image to use new namespace.
  • Added more timeout for commands without output in CI.
  • Fixed network warning in CI.
  • Updated default database directory location in CI.
  • Added artifacts storage in CI
  • Added test results storage in CI

Scripts

  • Workflow
    • πŸ”₯πŸ”₯ Updated install-site script to support installing from database or fresh install if database dump file is not available.
    • πŸ”₯πŸ”₯ Fixed env variables with values being overridden by values in .env. Any variable that has a value in the current environment would be overwritten by the value in the .env file.
    • Fixed ahoy clean command not removing files with readonly permissions.
    • Moved Composer validation to project build stage (but only if composer is installed).
    • Refactored all scripts to correctly work with database dump directory and filename.
    • Improved the logic of DB sanitization - now only runs if file exists.
  • Tools
    • Updated lint for PHPCS to not be verbose while scanning.
    • Updated PHPCS config to include more Features exclusions.
    • Added logs for running unit tests.
    • Removed global unit test directory. Tests should live with modules.
  • Doctor
    • Removed Composer presence check from Doctor. Composer is not required on host.
    • Fixed Doctor check for status code of the homepage to allow 200 and 403, returned depending on the installation type.
    • Updated Doctor to check the status of all containers.
    • Added DOCTOR_CHECK_MINIMAL shorthand variable to run minimal Doctor checks in CI env.
  • Installation
    • Fixed install.sh not correctly discovering project settings when installed into a custom directory + tests.
    • Fixed install.sh not failing on errors.
    • Fixed install.sh to never modify DrevOps scripts when installing.
  • Testing
    • Fixed some integration tests not running.
  • πŸ”₯ Added printing of debug output in DrevOps scripts using DREVOPS_DEBUG variable.
  • Fixed code formatting in multiple scripts.
  • Removed DOCKER_HOST temporary override in .env file.
  • Removed default deployer user name from the deployment script. This should be set through env variables.

Back-end

  • Core and Modules
    • Updated Drupal core version to 7.69.
    • Removed obsolete code to load hook implementations from included sub-directories.
    • Added Shield popup default title.
    • Removed custom patches. Some of the patches were breaking existing sites.
  • Settings
    • Improved readability of settings.php file.
    • Updated default values in settings.local.php file.
    • Added skipping of permissions hardening locally and in CI.
  • Testing
    • Fixed phpunit bootstrap.
    • Moved Drupal tests to your_site_core module.
    • Renamed test helper class to a trait.

Front-end

  • Renamed style.scss to styles.scss.
  • Fixed FE browser list for autoprefix package.
  • Removed Bootstrap 3 theme and library from theme.
  • Fixed sass-lint config file location.

Integrations

  • Updated Acquia credentials in .env file to not rely on variables.
  • Added NewRelic notifications for Acquia production.
  • Fixed Acquia DB download script not correctly identifying it's location.
  • Refactored Acquia hooks scripts to allow configuration through environment variables and comply with coding standards.

Other

  • Removed obsolete Brewfile.
  • Removed obsolete .nvmrc file.
vortex - [7.x] Renamed project to DrevOps πŸš€πŸš€πŸš€

Published by AlexSkrypnyk almost 5 years ago

It is time for this project to have a new catchy name: DrevOps

Drupal + DevOps = DrevOps

http://drevops.com

vortex - [8.x] Renamed project to DrevOps πŸš€πŸš€πŸš€

Published by AlexSkrypnyk almost 5 years ago

It is time for this project to have a new catchy name: DrevOps

Drupal + DevOps = DrevOps

http://drevops.com

vortex - Scripts for build unification πŸ”₯πŸ”₯πŸ”₯

Published by AlexSkrypnyk almost 5 years ago

This release is all about unifying workflows to work identically in all environments. It is implemented by extracting all configuration and logic from Ahoy config file into standalone scripts, which allows "cleaner" and portable logic implementation.

Added

  • ❗❗❗Moved workflow logic into scripts.
  • ❗❗❗Moved Gruntfile.js and other FE config to the theme.
  • Deployment as webhook.
  • Added config_split config for multiple environments.
  • Added SCSS helpers: rem, fonts, mixins.
  • Added toolbar removal mechanism to ease themeing while logged in as admin.
  • Added non-www to www redirection with Acquia support to .htaccess.
  • Added ahoy debug command.

Updated

  • ❗❗❗Removed support for .env.local.
  • ❗❗❗Removed composer.lock and package-lock.json.
  • Refactored tests for easy maintenance.
  • Removed local exclude support from the install script.
  • Patch to support for running single Behat test.
  • Updated Docker images to v1.1.2 and removed NPM workaround.
  • Updated mechanism for Xdebug status retrieval.
  • Updated Environment Indicator colors.
  • Added tests for tests failure bypass.
  • Updated dependencies.io configuration to only update PHP dependencies.
  • Refactored DB caching in CI.
  • Renamed ahoy test-behat to ahoy test-bdd.
  • Renamed ahoy test-phpunit to ahoy test-unit.

Fixed

  • Fixed demo DB not available on the first install.
  • Fixed environment conditions in settings.
  • Fixed Livereload not compiling JS.
  • Fixed Livereload loading on the admin path and admin theme.
  • Fixed testuite name in phpunit config.
  • Fixed config being imported when only sanitisation is required.
  • Fixed web driver not specifying explicitly to not use w3c format capabilities to the browser.
vortex - Scripts for build unification πŸ”₯πŸ”₯πŸ”₯

Published by AlexSkrypnyk almost 5 years ago

This release is all about unifying workflows to work identically in all environments. It is implemented by extracting all configuration and logic from Ahoy config file into standalone scripts, which allows "cleaner" and portable logic implementation.

Added

  • ❗❗❗Moved workflow logic into scripts.
  • ❗❗❗Moved Gruntfile.js and other FE config to the theme.
  • Deployment as webhook.
  • Added SCSS helpers: rem, fonts, mixins.
  • Added non-www to www redirection with Acquia support to .htaccess.
  • Added ahoy debug command.

Updated

  • ❗❗❗Removed support for .env.local.
  • ❗❗❗Removed composer.lock and package-lock.json.
  • Refactored tests for easy maintenance.
  • Removed local exclude support from the install script.
  • Patch to support for running single Behat test.
  • Updated Docker images to v1.1.2 and removed NPM workaround.
  • Updated mechanism for Xdebug status retrieval.
  • Updated Environment Indicator colors.
  • Added tests for tests failure bypass.
  • Updated dependencies.io configuration to only update PHP dependencies.
  • Refactored DB caching in CI.
  • Renamed ahoy test-behat to ahoy test-bdd.
  • Renamed ahoy test-phpunit to ahoy test-unit.

Fixed

  • Fixed demo DB not available on the first install.
  • Fixed environment conditions in settings.
  • Fixed Livereload not compiling JS.
  • Fixed Livereload loading on the admin path and admin theme.
  • Fixed testuite name in phpunit config.
  • Fixed config being imported when only sanitisation is required.
  • Fixed web driver not specifying explicitly to not use w3c format capabilities to the browser.
vortex - [7.x] Stabilisation release. Upgrade now!

Published by AlexSkrypnyk over 5 years ago

❗❗❗ Important note!
This release drastically changes how Drupal-Dev installs files. In previous versions, Drupal-Dev would be installing only required files and "attaching" the rest of the files in each environment by running ./drupal-dev.sh. This behaviour was (rightfully) criticised by the community, so the change was made to add all files to the project without the need to run ./drupal-dev.sh in every environment. With this change, every file of Drupal-Dev (based on your installation selection, of course) is now added to your project repository on installation, so that the project can have all required files in-place.

How to update?

Run ahoy update

Changes

Updated

  • ❗❗❗Disabled "attachability" of the environments.
  • Updated Drupal core and modules to the latest versions.
  • Updated Docker images to the latest version.

Added

  • Added Drupal-Dev version to the badge.stack and resolving issues easier.

Fixed

  • Fixed some internal files are added during installation.
vortex - [8.x] Stabilisation release. Upgrade now!

Published by AlexSkrypnyk over 5 years ago

❗❗❗ Important note!
This release drastically changes how Drupal-Dev installs files. In previous versions, Drupal-Dev would be installing only required files and "attaching" the rest of the files in each environment by running ./drupal-dev.sh. This behaviour was (rightfully) criticised by the community, so the change was made to add all files to the project without the need to run ./drupal-dev.sh in every environment. With this change, every file of Drupal-Dev (based on your installation selection, of course) is now added to your project repository on installation, so that the project can have all required files in-place.

How to update?

Run ahoy update

Changes

Updated

  • ❗❗❗Disabled "attachability" of the environments.
  • Updated Drupal core and modules to the latest versions.
  • Updated Docker images to the latest version.

Added

  • Added Drupal-Dev version to the badge.

Fixed

  • Fixed some internal files are added during installation.
vortex - [7.x] Bug fixes and minor improvements.

Published by AlexSkrypnyk over 5 years ago

Added

  • ❗❗❗ Added Doctor doing pre-flight checks before, during and after build. This makes working with the stack and resolving issues easier.
  • Added LAGOON_PROJECT variable to handle cases when project in Lagoon is named differently then git repo.
  • Added default user under which the containers should run. Allows to better run in Linux.

Fixed

  • Fixed default Lagoon drush stub URL.
  • Fixed handling of host volumes in tests.
  • Fixed core package name.
vortex - [8.x] Bug fixes and minor improvements.

Published by AlexSkrypnyk over 5 years ago

Added

  • ❗❗❗ Added Doctor doing pre-flight checks before, during and after build. This makes working with the stack and resolving issues easier.
  • ❗❗❗ Added support for PHPUnit tests + updated to PHPUnit 6.5 (used by Drupal core).
  • Added LAGOON_PROJECT variable to handle cases when project in Lagoon is named differently then git repo.
  • Added default user under which the containers should run. Allows to better run in Linux.

Fixed

  • Fixed default Lagoon drush stub URL.
  • Fixed handling of host volumes in tests.

Updated

  • Updated dependencies to the latest versions.
vortex - [7.x] Cumulative update of 7.x to 8.x-1.4 for feature parity.

Published by AlexSkrypnyk over 5 years ago

Added

  • ❗❗❗ Updated to PHP 7.2
  • Updated composer packages.
  • Updated FE packages.
  • ❗❗❗ Added versions to all images.
  • Added DB import progress using pv
  • ❗❗❗ Added Drupal scaffolding files and removed scaffolding on install.
  • Added checking of existence of ahoy in preflight check.
  • Added check for the DB download status.
  • Added truncating of the most common tables to the sanitisation script (commented out).
  • Added exit on error to all Acquia hooks.
  • Added more traits includions for Behat tests by default.
  • ❗❗❗ Added onboarding checklist.
  • Added ahoy doctor command to investigate development stack problems (MVP version).
  • Added a lot of tests to cover workflows and deployments.

Changed

  • ❗❗❗ Updated Drupal core to 7.65 and modules.
  • Updated outdated FE packages.
  • Renamed ahoy clean-full to ahoy reset.
  • Composer setting scripts to correctly handle missing and existing settings.php file.
  • Updated documentation to better reflect changes.
  • Increased deployment job timeout to 30 minutes.
  • Updated Drupal-Dev badge to be a link to the site.
  • ❗❗❗ Updated Livereload port allocation to use dynamic port (unblocks running multiple instances of sites at the same time).
  • Changed MODULE_PREFIX to DRUPAL_MODULE_PREFIX.
  • Updated PHPCS rule to allow inline block comments for variable types.
  • Refactored Gruntfile.js to use theme name as a variable.
  • Refactored deployment blacklisting to use whitelisting (files no longer deployed unless explicitly whitelisted).

Fixed

  • Fixed ahoy down not working when docker-compose.yml is not present.
  • Fixed ahoy clean and ahoy reset to only remove specific files and directories. Added tests.
  • Fixed .env and .env.local being loaded when empty causing errors due to empty export.
  • Fixed .gitattributes ignoring files globally instead of relatively to the repository.
  • Fixed services.yml being overwritten on install.
  • Fixed local exclusion of files relative to the root of the repository.
  • Fixed some testing assertions using internal run command which lead to corruption of the output of other commands leading to false positives.
  • Fixed test not running in a separate directory causing false positives.
  • Fixed full build running in DB caching step in CI making the result DB having updates already ran.
  • Fixed sanitisation script path.
  • Fixed $CI env variable not being passed to Drupal.
  • Fixed settings creation composer script to support multisite.
  • Fixed string replacement to not happen in DB dumps.
  • ❗❗❗ Fixed local git exclude file not being created previously.
  • Fixed DB download in CI should not expect the DB before downloading it.
  • Fixed doctor flags expecting strings.
  • Fixed Drupal-Dev tests to be dependencies in CI.
  • Fixed linting fail flag.
  • Fixed Drupal trying to send emails in non-prod environments.
  • ❗❗❗ Fixed Behat not running non-tagged parallel tests.
  • ❗❗❗ Fixed ahoy commands not failing the build
  • Fixed FE assets not processed during local build.
  • Fixed ahoy pull erroring when no images available in the environment.
  • ❗❗❗ Fixed ahoy cli splitting arguments.
  • Fixed Acquia DB download script using incorrect db dump dir.
  • Fixed Behat tests entering CLI on test fail.
  • Fixed quotes in Behat config.
  • Fixed Ahoy commands to fail if any command fails.
  • Fixed Drupal-Dev naming everywhere.
  • Fixed ahoy down to not error in empty directory.
vortex - [8.x] Stability fixes and improvements

Published by AlexSkrypnyk over 5 years ago

Added

  • ❗❗❗ Added versions to all images.
  • Added DB import progress using pv
  • ❗❗❗ Added Drupal scaffolding files and removed scaffolding on install.
  • Added checking of existence of ahoy in preflight check.
  • Added check for the DB download status.
  • Added truncating of the most common tables to the sanitisation script (commented out).
  • Added exit on error to all Acquia hooks.
  • Added more traits includions for Behat tests by default.
  • ❗❗❗ Added onboarding checklist.

Changed

  • ❗❗❗ Updated Drupal core to 8.6.13 and modules.
  • Updated outdated FE packages.
  • Renamed ahoy clean-full to ahoy reset.
  • Composer setting scripts to correctly handle missing and existing settings.php file.
  • Updated documentation to better reflect changes.
  • Increased deployment job timeout to 30 minutes.
  • Updated Drupal-Dev badge to be a link to the site.
  • ❗❗❗ Updated Livereload port allocation to use dynamic port (unblocks running multiple instances of sites at the same time).
  • Changed MODULE_PREFIX to DRUPAL_MODULE_PREFIX.
  • Updated PHPCS rule to allow inline block comments for variable types.
  • Refactored Gruntfile.js to use theme name as a variable.

Fixed

  • Fixed ahoy down not working when docker-compose.yml is not present.
  • Fixed ahoy clean and ahoy reset to only remove specific files and directories. Added tests.
  • Fixed .env and .env.local being loaded when empty causing errors due to empty export.
  • Fixed .gitattributes ignoring files globally instead of relatively to the repository.
  • Fixed services.yml being overwritten on install.
  • Fixed local exclusion of files relative to the root of the repository.
  • Fixed some testing assertions using internal run command which lead to corruption of the output of other commands leading to false positives.
  • Fixed test not running in a separate directory causing false positives.
  • Fixed full build running in DB caching step in CI making the result DB having updates already ran.
  • Fixed sanitisation script path.
  • Fixed $CI env variable not being passed to Drupal.
  • Fixed settings creation composer script to support multisite.
  • Fixed string replacement to not happen in DB dumps.
  • ❗❗❗ Fixed local git exclude file not being created previously.
  • Fixed DB download in CI should not expect the DB before downloading it.
  • Fixed doctor flags expecting strings.
  • Fixed Drupal-Dev tests to be dependencies in CI.
  • Fixed linting fail flag.
  • Fixed Drupal trying to send emails in non-prod environments.
  • ❗❗❗ Fixed Behat not running non-tagged parallel tests.
  • ❗❗❗ Fixed ahoy commands not failing the build
  • Fixed FE assets not processed during local build.
  • Fixed ahoy pull erroring when no images available in the environment.
  • ❗❗❗ Fixed ahoy cli splitting arguments.
vortex - [8.x] New attachable Drupal-Dev with install wizard!

Published by AlexSkrypnyk over 5 years ago

New features

  • Refactored how Drupal-Dev is installed - it is now modular and does not need to be installed in full.
  • Refactored install script to support more optional selections and interactive and silent installation.
  • Refactored deployment blacklisting to use whitelisting (files no longer deployed unless explicitly whitelisted).
  • Added ahoy doctor command to investigate development stack problems (MVP version).
  • Added installation summary and a footer.
  • Added indentation settings for yaml and js.
  • Added a lot of tests to cover workflows and deployments.
  • Added support for installing fresh profile and existing DB.

Fixes

  • Fixed Livereload port
  • Fixed Acquia DB download script using incorrect db dump dir.
  • Fixed Behat tests entering CLI on test fail.
  • Fixed quotes in Behat config.
  • Fixed Ahoy commands to fail if any command fails.
  • Fixed Drupal-Dev naming everywhere.
  • Fixed ahoy down to not error in empty directory.
  • Other minor fixes.

Updates

  • Updated to PHP 7.2
  • Updated Drupal to 8.6.10.
  • Updated composer packages.
  • Updated FE packages.
vortex - [7.x] Updated docker and CI configs, added tests + bug fixes.

Published by AlexSkrypnyk almost 6 years ago

New features

  • Refactored Docker Compose configuration to use a single config file (fixes #229, fixes #208, fixes #180, fixes #157 ).
  • Added Ahoy config and removed Makefile (fixes #179, fixes #170).
  • Added tests for project init, workflow and artefact building.
  • Added more descriptions about inner working of Drupal Dev.
  • Added example PHPUnit tests.

Fixes

  • Fixed up not waiting for DB service to become available (added dockerize).
  • Fixed Behat not being able to run single tests.
  • Fixed export-db and allow to specify custom file name.
  • Fixed DB downalod script from FTP.
  • Updated Behat default cache location.
  • Fixed several typos in comments.
  • Simplified existing commands.

Updates

  • Updated Drupal to 7.61.
  • Updated FE packages.
vortex - [8.x] Updated docker and CI configs, added tests + bug fixes.

Published by AlexSkrypnyk almost 6 years ago

New features

  • Refactored Docker Compose configuration to use a single config file
  • Added Ahoy config and removed Makefile (fixes #269 )
  • Added tests for project init, workflow and artefact building.
  • Added more descriptions about inner working of Drupal Dev.
  • Added example PHPUnit tests.

Fixes

  • Fixed up not waiting for DB service to become available (added dockerize).
  • Fixed Behat not being able to run single tests.
  • Fixed export-db and allow to specify custom file name.
  • Fixed DB downalod script from FTP.
  • Updated Behat default cache location.
  • Fixed several typos in comments.
  • Simplified existing commands.
  • Fixed D8 shield Acquia hook uses D7 command (fixes #159)

Changes

  • Temporary removed phpunit support until properly implemented (see #281)

Updates

  • Updated Drupal to 8.6.3.
  • Updated composer packages (see below)
  • Updated FE packages.

See https://github.com/integratedexperts/drupal-dev/pull/280 for more details.

vortex - Minor bug fixes and improvements

Published by AlexSkrypnyk over 6 years ago