As promised in Blogposts before, a bit focus from our engineering team goes towards the Lagoon UI and making is more self service. With todays release we bring two exiting new features to the Lagoon UI and API!

Features:

  • Lagoon UI Tasks (#860 and #845)
    You can now via the Lagoon UI create tasks that run within your site without the need to connect via the SSH Remote Shell 🎉, currently there is support for the following Tasks:
    • drush cr/drush cc all (automatically based on Drupal Version)
    • drush sql-sync and drush rsync (both with the possibility to define the source environment where whould be synced from)
    • drush sql-dump and drush archive-dump (both with the possibility to download the generated files via the UI directly!)
  • Lagoon UI Environment Delete (#852)
    Which allows a convenient way to delete environments (branches or pull-requests) via the UI.

Changes:

  • ❗️Deletion of environments via rest2tasks has been removed ❗️ (#852)
    Before this change environments where able to be deleted via
    curl -X POST \
      https://<rest2tasksURL>/remove \
      -H 'Content-Type: application/json' \
      -d '{ "projectName" :"myproject", "branch": "develop" }'
    
    this is not possible anymore and now needs to happen via the GraphQL API:
     curl -X POST \
       https://<apiURL>/graphql \
       -H 'Authorization: Bearer <LagoonAPIBearerToken>' \
       -H 'Content-Type: application/json' \
       -d '{ "query": "mutation { deleteEnvironment(input: {name: \"develop\", project: \"myproject\"}) }" }'
    
    If you wonder how to get the LagoonAPIBearerToken, please see the documentation for it: https://lagoon.readthedocs.io/en/latest/using_lagoon/graphql_api/#connect-to-graphql-api

Bugfixes:

  • Environment variables injected via the Lagoon API not present in environments (#861)

Improvements:

  • Better mariadb-shared migration Scripts (#859)
  • Updated Elasticsearch, Kibana, Logstash to version 6.5.4, plus SearchGuard to the same versions (d5da69a)

Documentation:

  • #855
  • PHP 5.6 and 7.0 Deprecation: (#857)
Assets 2