From 0b6e6315299c563757ff88be727ec726ec2d7683 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Mon, 4 Dec 2023 18:03:10 +0100 Subject: [PATCH] release: 0.9.2 --- CHANGES.rst | 44 ++++++++++++++++++++++++++++++++++---- helm/reana/Chart.yaml | 2 +- helm/reana/values.yaml | 18 ++++++++-------- reana/version.py | 2 +- scripts/prefetch-images.sh | 18 ++++++++-------- setup.py | 2 +- 6 files changed, 61 insertions(+), 25 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 42e6b10a..11f09dbf 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,15 +1,51 @@ Changes ======= -Version 0.9.2 (UNRELEASED) +Version 0.9.2 (2023-12-19) -------------------------- +- Users: + - Adds web interface form allowing to generate launcher URL for any user-provided public analysis, as well as the Markdown snippet for the corresponding Launch-on-REANA badge. + - Adds web interface option to delete all the runs of a workflow. + - Changes the Launch-on-REANA web interface page to improve how workflow parameters are shown by displaying them inside a table. + - Changes CVMFS support to allow users to automatically mount any available repository. + - Changes the REANA specification schema to use the ``draft-07`` version of the JSON Schema specification. + - Changes ``reana-client validate`` command to show detailed errors when the specification file is not a valid YAML file. + - Changes validation of REANA specification to make the ``environment`` property mandatory for the steps of serial workflows. + - Changes validation of REANA specification to raise a warning for unexpected properties for the steps of serial workflows. + - Changes validation of REANA specification to report improved validation warnings which also indicate where unexpected properties are located in the file. + - Changes workflow restarts to allow for more than nine restarts of the same workflows. + - Changes workflow scheduler logging behaviour to also report the main reason behind scheduling errors to the users. + - Fixes ``reana-client list`` command to accept case-insensitive column names when sorting the returned workflow runs via the ``--sort`` option. + - Fixes ``reana-client run`` wrapper command for workflows that do not contain ``inputs`` clause in their specification. + - Fixes ``reana-client``'s ``create_workflow_from_json`` API function to always load and send the workflow specification to the server. + - Fixes creation of image thumbnails for output files in Snakemake HTML execution reports. - Administrators: + - Changes several database index definitions in order to improve performance of most common database queries. + - Changes the names of database table, column, index and key constraints in order to follow the SQLAlchemy upstream naming conventions everywhere. + - Changes the ``Workflow`` table to replace the ``run_number`` column with two new columns ``run_number_major`` and ``run_number_minor`` in order to allow for more than nine restarts of user workflows. - Changes CVMFS support to allow users to automatically mount any available repository, thanks to CVMFS CSI v2. + - Fixes the mounting of CVMFS volumes for the REANA deployments that use non-default Kubernetes namespace. + - Fixes container image building of cluster components for the arm64 architecture. + - Fixes job monitoring in cases when job creation fails, for example when it is not possible to successfully mount volumes. + - Fixes job status consumer exception while attempting to fetch workflow engine logs for workflows that could not have been successfully scheduled. + - Fixes the creation of Kubernetes jobs by retrying in case of error and by correctly handling the error after reaching the retry limit. - Developers: - - Changes `python-run-tests` command to allow execution of selected pytests only by passing over `PYTEST_ADDOPTS` environment variable. - - Changes `python-run-tests` command to allow excluding certain Python components. - - Fixes `python-run-tests` command to create Python-3.8 based virtual environments to use the same version as container images. + - Adds automated multi-platform container image building of cluster components for amd64 and arm64 architectures. + - Adds new ``--image-name`` option to the ``reana-dev docker-push`` command to customise the name of the docker image to publish. + - Adds new ``--platform`` option to the ``reana-dev docker-build`` and ``reana-dev release-docker`` commands to build and publish multi-platform images. + - Adds new ``--registry`` option to the ``reana-dev docker-push`` and ``reana-dev release-docker`` commands to specify the registry where the built docker images should be pushed to. + - Adds new ``--tags-only`` option to the ``reana-dev release-docker`` command to only print the final docker image names, without pushing the images to the registry. + - Adds new ``reana-dev git-create-release-branch`` command to create a new Git branch for a new release. + - Adds new ``reana-dev git-upgrade-requirements`` command to upgrade the ``requirements.txt`` file before a new release. + - Changes ``reana-dev git-fork`` and ``reana-dev git-create-pr`` to use the ``gh`` CLI client instead of ``hub``. + - Changes ``reana-dev python-run-tests`` command to allow excluding certain Python components. + - Changes ``reana-dev python-run-tests`` command to allow execution of selected pytests only by passing over `PYTEST_ADDOPTS` environment variable. + - Changes validation of REANA specification to expose functions for loading workflow input parameters and workflow specifications. + - Changes version of ``reana-ui`` Node.js Docker image from 16 to 18. + - Changes the workflow deletion endpoint to return a different and more appropriate message when deleting all the runs of a workflow. + - Changes the workflow list endpoint on how pagination is performed in order to avoid counting twice the total number of records. + - Fixes ``reana-dev python-run-tests`` command to create Python-3.8 based virtual environments to use the same version as container images. Version 0.9.1 (2023-09-27) -------------------------- diff --git a/helm/reana/Chart.yaml b/helm/reana/Chart.yaml index 3f5ad25f..b2ffb343 100644 --- a/helm/reana/Chart.yaml +++ b/helm/reana/Chart.yaml @@ -27,7 +27,7 @@ keywords: - reusable-science type: application # Chart version. -version: 0.9.1 +version: 0.9.2 kubeVersion: ">= 1.21.0-0 < 1.29.0-0" dependencies: - name: traefik diff --git a/helm/reana/values.yaml b/helm/reana/values.yaml index 3428973c..a760ba6b 100644 --- a/helm/reana/values.yaml +++ b/helm/reana/values.yaml @@ -77,12 +77,12 @@ components: forum_url: https://forum.reana.io file_preview_size_limit: 5242880 # 5 * 1024**2 = 5 MiB imagePullPolicy: IfNotPresent - image: docker.io/reanahub/reana-ui:0.9.1 + image: docker.io/reanahub/reana-ui:0.9.3 reana_db: enabled: true reana_server: imagePullPolicy: IfNotPresent - image: docker.io/reanahub/reana-server:0.9.1 + image: docker.io/reanahub/reana-server:0.9.2 environment: REANA_MAX_CONCURRENT_BATCH_WORKFLOWS: 30 REANA_SCHEDULER_REQUEUE_SLEEP: 15 @@ -101,23 +101,23 @@ components: log_5xx: true reana_workflow_controller: imagePullPolicy: IfNotPresent - image: docker.io/reanahub/reana-workflow-controller:0.9.1 + image: docker.io/reanahub/reana-workflow-controller:0.9.2 environment: SHARED_VOLUME_PATH: /var/reana REANA_JOB_STATUS_CONSUMER_PREFETCH_COUNT: 10 reana_workflow_engine_cwl: - image: docker.io/reanahub/reana-workflow-engine-cwl:0.9.1 + image: docker.io/reanahub/reana-workflow-engine-cwl:0.9.2 reana_workflow_engine_yadage: - image: docker.io/reanahub/reana-workflow-engine-yadage:0.9.1 + image: docker.io/reanahub/reana-workflow-engine-yadage:0.9.3 reana_workflow_engine_serial: - image: docker.io/reanahub/reana-workflow-engine-serial:0.9.1 + image: docker.io/reanahub/reana-workflow-engine-serial:0.9.2 reana_workflow_engine_snakemake: - image: docker.io/reanahub/reana-workflow-engine-snakemake:0.9.1 + image: docker.io/reanahub/reana-workflow-engine-snakemake:0.9.2 reana_job_controller: - image: docker.io/reanahub/reana-job-controller:0.9.1 + image: docker.io/reanahub/reana-job-controller:0.9.2 reana_message_broker: imagePullPolicy: IfNotPresent - image: docker.io/reanahub/reana-message-broker:0.9.1 + image: docker.io/reanahub/reana-message-broker:0.9.2 notifications: enabled: false diff --git a/reana/version.py b/reana/version.py index 3d5642a2..9f0d638c 100644 --- a/reana/version.py +++ b/reana/version.py @@ -13,4 +13,4 @@ from __future__ import absolute_import, print_function -__version__ = "0.9.1" +__version__ = "0.9.2" diff --git a/scripts/prefetch-images.sh b/scripts/prefetch-images.sh index 6f73fa26..0c68bad1 100755 --- a/scripts/prefetch-images.sh +++ b/scripts/prefetch-images.sh @@ -11,15 +11,15 @@ for image in \ docker.io/maildev/maildev:1.1.0 \ docker.io/library/postgres:12.13 \ docker.io/library/redis:5.0.5 \ - docker.io/reanahub/reana-job-controller:0.9.1 \ - docker.io/reanahub/reana-message-broker:0.9.1 \ - docker.io/reanahub/reana-server:0.9.1 \ - docker.io/reanahub/reana-ui:0.9.1 \ - docker.io/reanahub/reana-workflow-controller:0.9.1 \ - docker.io/reanahub/reana-workflow-engine-cwl:0.9.1 \ - docker.io/reanahub/reana-workflow-engine-serial:0.9.1 \ - docker.io/reanahub/reana-workflow-engine-snakemake:0.9.1 \ - docker.io/reanahub/reana-workflow-engine-yadage:0.9.1 \ + docker.io/reanahub/reana-job-controller:0.9.2 \ + docker.io/reanahub/reana-message-broker:0.9.2 \ + docker.io/reanahub/reana-server:0.9.2 \ + docker.io/reanahub/reana-ui:0.9.3 \ + docker.io/reanahub/reana-workflow-controller:0.9.2 \ + docker.io/reanahub/reana-workflow-engine-cwl:0.9.2 \ + docker.io/reanahub/reana-workflow-engine-serial:0.9.2 \ + docker.io/reanahub/reana-workflow-engine-snakemake:0.9.2 \ + docker.io/reanahub/reana-workflow-engine-yadage:0.9.3 \ ; do docker pull $image kind load docker-image $image diff --git a/setup.py b/setup.py index 1c941cbb..efd47c44 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ history = open("CHANGES.rst").read() tests_require = [ - "pytest-reana>=0.9.1,<0.10.0", + "pytest-reana>=0.9.2,<0.10.0", ] extras_require = {