Skip to content

Commit

Permalink
new-post: reana-0.9.2
Browse files Browse the repository at this point in the history
Closes #42
  • Loading branch information
mdonadoni committed Dec 14, 2023
1 parent b002db0 commit 1f6f25f
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions content/posts/2023/reana-0.9.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
title: "REANA 0.9.2 is released"
date: 2023-12-18T09:00:00+01:00
---

REANA 0.9.2 has just been released! This is a minor update that removes the limit on the number of restarts of a workflow, brings some more performance improvements, provides initial support for ARM platforms, and more!

<!--more-->

## What's new for the users?

### Increasing workflow restart limit

REANA already offers the possibility to restart a workflow, that is to execute a new workflow whose workspace is shared with the previous one. This comes in handy when developing a new analysis, for example to test small changes to the code or to fix some issues.

Up until now, a workflow could be restarted only up to nine times. This limitation has been removed with REANA 0.9.2 and it is now possible to restart workflows as many times as needed.

```console
$ reana-client restart -w reana-demo-root6-roofit.1.9
==> SUCCESS: reana-demo-root6-roofit.1.10 is pending
```

### Performance improvements

Similarly to the previous release, REANA 0.9.2 brings some more performance improvements.
In particular, the usage of the database has been optimised in order to reduce the time needed to perform some of the most common operations, including listing and filtering workflows and jobs.

These improvements can be quite noticeable, even more so when users have executed tens of thousands of workflows and jobs.
For example, we have measured a performance improvement of around 18x (18 times, not percent!) when listing all the details of a thousand workflows with `reana-client-go`.

### Launch-on-REANA badge generator

REANA 0.9.0 has introduced the possibility to construct custom URLs which can be used to easily launch on REANA analyses that are hosted on remote publicly-accessible sources such as GitHub, GitLab or Zenodo.
These URLs can then be shared with other users or used to create clickable badges that can be embedded, for example, in the README of your Git repository.

With the new 0.9.2 release, REANA now provides a convenient way to construct these URLs and badges directly from the web interface. You just need to provide the URL to your analysis, plus some optional details like the desired name of the workflow, the path to the REANA specification file, or custom parameters. REANA will then show you the constructed URL and the code snippet that you can use to embed the Launch-on-REANA badge in your Markdown files.

### ... and more!

There are more small improvements in this release.
It's now possible to delete all the runs of a given workflow directly from the web interface. Furthermore, the validation of the REANA specification file has been improved in case of invalid YAML files or unexpected keywords.

Please see the detailed [REANA 0.9.2 release notes](https://github.com/reanahub/reana/releases/tag/0.9.2) for the complete list of all user-oriented changes.

## What's new for the administrators?

### Automounting of CVMFS repositories

While users have been able to mount and access CVMFS repositories from their jobs, it was not possible to configure and access additional repositories other than the ones allowed by REANA.

Thanks to CVMFS CSI v2, REANA 0.9.2 allows users to mount any available repository, as long as CVMFS is correctly configured in the Kubernetes cluster. To learn more about this, you can check out the official docs of CVMFS CSI on [adding CVMFS repository configuration](https://github.com/cvmfs-contrib/cvmfs-csi/blob/master/docs/how-to-use.md#adding-cvmfs-repository-configuration).

### ARM images

Given the rise in interest for ARM computers, both for personal use and in servers, REANA now supports being deployed on ARM machines.
Starting from this release, the REANA's Docker images published on [DockerHub](https://hub.docker.com/u/reanahub) will contain two variants, supporting `linux/amd64` and `linux/arm64` platforms. This change is transparent, and the correct variant will be automatically chosen by Docker depending on the machine it's running on.

### How to upgrade existing REANA 0.9.1 clusters

<!-- taken and adapted from 0.9.0 blog post -->

If you are a REANA cluster administrator and you would like to upgrade from REANA 0.9.1 to REANA 0.9.2, you can proceed as follows.

First of all, this release does not introduce any new Helm values, so you can keep using your previous configuration without any changes needed.
Assuming that your custom Helm values are stored in `myvalues.yaml`, you can then use the [Helm diff plugin](https://github.com/databus23/helm-diff) to inspect the forthcoming change, and you can then perform the upgrade using the standard Helm commands:

```console
$ helm repo update
$ helm diff upgrade reana reanahub/reana --version 0.9.2 --values myvalues.yaml
$ helm upgrade reana reanahub/reana --version 0.9.2 --values myvalues.yaml
```

Additionally, this release includes some changes to the database schema, in order to allow for more than nine restarts of user workflows and to improve the performance of common database queries.
To perform the database schema upgrade, you can follow the dedicated [upgrade documentation](https://docs.reana.io/administration/deployment/upgrading-db/):

```
$ kubectl exec -i -t deployment/reana-server -c rest-api -- reana-db alembic upgrade
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade 377cfbfccf75 -> b85c3e601de4, Separate run number into major and minor run numbers.
INFO [alembic.runtime.migration] Running upgrade b85c3e601de4 -> 2461610e9698, Enforce naming convention.
INFO [alembic.runtime.migration] Running upgrade 2461610e9698 -> eb5309f3d8ee, Improve indexes usage.
```

Please see the detailed [REANA 0.9.2 release notes](https://github.com/reanahub/reana/releases/tag/0.9.2) for the complete list of administrator-oriented changes.

Enjoy!

0 comments on commit 1f6f25f

Please sign in to comment.