Welcome Lagoon UI Tasks and Environment Deletes
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
anddrush rsync
(both with the possibility to define the source environment where whould be synced from)drush sql-dump
anddrush 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 viathis is not possible anymore and now needs to happen via the GraphQL API:curl -X POST \ https://<rest2tasksURL>/remove \ -H 'Content-Type: application/json' \ -d '{ "projectName" :"myproject", "branch": "develop" }'
If you wonder how to get thecurl -X POST \ https://<apiURL>/graphql \ -H 'Authorization: Bearer <LagoonAPIBearerToken>' \ -H 'Content-Type: application/json' \ -d '{ "query": "mutation { deleteEnvironment(input: {name: \"develop\", project: \"myproject\"}) }" }'
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: