lagoon-core v2.3.0
This is the most recent scheduled release of Lagoon, built from the https://github.com/uselagoon/lagoon-images/releases/tag/21.12.1 images
There are three main items here:
-
Support for deifining services in routerPatterns (#2953) - this will allow users (particularly those with multi-clusters) to define their own router patterns. The Lagoon default is
${service}.${environment}.${project}.clusterURL
- but this can cause issues with some certificate authorities when used to secure Autogenerated routes. This PR allows the service, environment and project combination to be defined per project (or per cluster) - commonly to${service}-${environment}-${project}.clusterURL
-
Support for Routes defined via the API (#2940) - this will allow Administrators to override, or add routes to projects without the need for them to be added to the project's .lagoon.yml file. This is especially handy from a support point of view, as well as in Polysite or Multisite applications.
-
Images from previous deployments available as cache in the build step (#2919) - this exposes some new environment variables into the Lagoon Build that provide the image reference for the previous deployment's images. These can then be loaded into your dockerfile as a cache, especially useful for builds that have submodules. There is a brief example we use for testing at https://github.com/uselagoon/lagoon/blob/main/tests/files/image-cache/Dockerfile#L17 but we will publish more information shortly
Other smaller fixes include improved logic for Drush sql-dumps, log verbosity improvements, our documentation change, cronjob fixes, storage-calculator improvements and some improvements to docker-host management.
What's Changed
- fix: actually check the project defined routerpattern exists by @shreddedbacon in #2926
- Documentation Fixes - Make uselagoon/* images easier discoverable by @dasrecht in #2934
- add fallback true to docker_pull by @tobybellwood in #2942
- Refactor drupal tests by @tobybellwood in #2936
- wrap HELM_ARGUMENTS in setx by @tobybellwood in #2928
- Adds image cache images to build by @bomoko in #2919
- Ensure to only capture single digest by @tobybellwood in #2944
- Adds tests for cache and fixes env var format by @bomoko in #2945
- feat: support routes from the api in environment variables by @shreddedbacon in #2940
- Reduce concurrent tests per run - adding third suite temporarily by @tobybellwood in #2948
- Fix error running addKubernetes with empty id by @rocketeerbkw in #2929
- Passing no-tablespaces flag into drush sql-dump for task by @timclifford in #2939
- gitignore stern by @shreddedbacon in #2963
- fix: use the project name instead of the environment name by @shreddedbacon in #2954
- first batch of updated docker images by @tobybellwood in #2938
- change to mkdocs from gitbook by @tobybellwood in #2968
- feat: support for service being defined in routerPattern by @shreddedbacon in #2953
- Adding startingDeadlineSeconds to all cli native cronjob templates by @cdchris12 in #2831
- Refactor Storage Calculator to be more robust by @seanhamlin in #2947
- prune dangling images on docker-host automatically by @twardnw in #2967
- docker-host - added environment variable PRUNE_IMAGES_UNTIL to prune-… by @dasrecht in #2960
Full Changelog: v2.2.4...v2.3.0