Releases: ministryofjustice/analytics-platform-control-panel
Option to connect to Redis securely
Added REDIS_SCHEME
setting to allow secure connection to Redis cluster (using REDIS_SCHEME="rediss"
).
This defaults to non-secure REDIS_SCHEME="redis"
for retro-compatibility.
PR: #843
New k8s probe / admin user ordering
Add "worker_health" command to check worker health
This new command will be used by kubernetes to monitor the health of the workers.
The command will check whether a given worker has performed any (health) background task in the last --stale-after-secs
seconds (default is 120
s/2m but k8s livelinessProbe pass 300
s/5m now)
See PRs below for more details on how it works.
PR: #840
Helm chart PR: ministryofjustice/analytics-platform-helm-charts#468
Part of ticket: https://trello.com/c/eUMRw1gK
Bugfix in User Admin
UI and Monitoring Improvements
This release introduces the following updates to the control panel:
- A small accessibility change in the navigation panel (PR #832).
- A change to the behaviour of the "Open" button on the tools page to meet accessibility best practice.(PR #833).
- Addition of nginx endpoint for health check probes. (PR #834).
- Modification to admin function relating to users so those who have not logged in for 90 days are highlighted as potentially expired users. A link is also provided to the page in GitHub for that user's membership of the MoJ organisation. (PR #837).
Tools Catalogue, Home directory reset, other minor fixes
This release lands several new features:
- The tools catalogue - users can select the build/version of the tools they want to use (see: PR #829 and this Trello ticket)
- The home directory reset button - users can automatically clean the conda related aspects of their home directory if they get into a bad state (see: PR #829 and this Trello ticket)
- UI improvements to the tools page (see: PR #829 and this Trello ticket)
- A minor UI improvement so the "Log out" link is higher contrast and easier to see (see: PR #830 and this Trello ticket)
- A minor fix to the handling of the "grant access" form when allowing users access to data sources (see: PR #831 and this Trello ticket)
Prompt with future tool version
Users will now be prompted with the future version of the tool they're about to Deploy/Upgrade so that they have more information before deciding whether to proceed or not.
PR: #822
Ticket: https://trello.com/c/jHI3iCHq
Version S3 buckets and see tools tab on login.
This release introduces two new changes:
- Any bucket created by the control panel now has the expected versioning flag and associated life cycle configuration associated with it (migration of existing S3 buckets is underway). Please see PR #816
- Users who are not admins, upon first logging in, are directed to their tool tab, rather than an empty screen with a welcome message. Please see PR #820
helm upgrade uses --force flag now
This will hopefully help reduce the number of helm upgrade failures.
Specifically few suggested on this helm issue that it could help with the app-name has no deployed releases
problem which seem to be related to helm releases in FAILED
status (we currently have to manually intervene by helm delete --purge
failed release).
If that's the case it should improve the user experience (with less errors) and help us by reducing the volume of support requests related to this.
PR: #819
Ticket: https://trello.com/c/1XIRi1JS
Show tools versions
Allow users to see the versions of their deployed tools from the Control Panel.
This information is extracted by the metadata in the helm charts.
PR: #812
Ticket: https://trello.com/c/74QeufKf