Skip to content

Commit d5f7f95

Browse files
authored
chore: release v1.0.3 (#2605)
1 parent bd3a694 commit d5f7f95

File tree

38 files changed

+816
-339
lines changed

38 files changed

+816
-339
lines changed

CHANGES.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,61 @@
1818
Changes
1919
=======
2020

21+
` <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.0.2...v1.0.3>`__ (2022-01-26)
22+
--------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **core:** Execution graph linking of plans
28+
`#2600 <https://github.com/SwissDataScienceCenter/renku-python/issues/2600>`__
29+
(`0528d7c <https://github.com/SwissDataScienceCenter/renku-python/commit/0528d7c3a7285ce931d50661d549ae5c159d2e0f>`__)
30+
- **core:** fix copying keywords of a plan
31+
(`818093f <https://github.com/SwissDataScienceCenter/renku-python/commit/818093fda0a9528063ac34fcb5a87b8ce91c233c>`__)
32+
- **core:** fix cwl float type and derived from
33+
(`#2570 <https://github.com/SwissDataScienceCenter/renku-python/issues/2570>`__)
34+
(`19454ba <https://github.com/SwissDataScienceCenter/renku-python/commit/19454ba89f2eea15cc0051f48a0e60cf373d742d>`__)
35+
- **core:** fix SHACL for Plan and CompositePlan
36+
(`#2598 <https://github.com/SwissDataScienceCenter/renku-python/issues/2598>`__)
37+
(`21b022e <https://github.com/SwissDataScienceCenter/renku-python/commit/21b022e6ebfa0991abb3737aaec2d1f907236944>`__)
38+
- **core:** fix Zenodo dataset import if ``sameAs`` is set
39+
(`#2572 <https://github.com/SwissDataScienceCenter/renku-python/issues/2572>`__)
40+
(`f704916 <https://github.com/SwissDataScienceCenter/renku-python/commit/f7049165b53c69776a5a0a9d2c5ef0fd7b233b62>`__)
41+
- **core:** make activity ids deterministic in migration
42+
(`#2581 <https://github.com/SwissDataScienceCenter/renku-python/issues/2581>`__)
43+
(`7ed6102 <https://github.com/SwissDataScienceCenter/renku-python/commit/7ed6102496abb03329f6b19521232215e31a834a>`__)
44+
- **core:** move NodeJS requirement check to cwltool plugin
45+
(`#2586 <https://github.com/SwissDataScienceCenter/renku-python/issues/2586>`__)
46+
(`1d79ce2 <https://github.com/SwissDataScienceCenter/renku-python/commit/1d79ce27d7661e59e2ddc33b90e6003b16a4e090>`__)
47+
- **service:** fix cache.migrate not locking the project
48+
(`#2573 <https://github.com/SwissDataScienceCenter/renku-python/issues/2573>`__)
49+
(`ed2bcd8 <https://github.com/SwissDataScienceCenter/renku-python/commit/ed2bcd8551f500e3a4a422a6906d0813317b1c77>`__)
50+
- **service:** use separate queues for multi core service deployment
51+
(`#2602 <https://github.com/SwissDataScienceCenter/renku-python/issues/2602>`__)
52+
(`0f3fefb <https://github.com/SwissDataScienceCenter/renku-python/commit/0f3fefb97cadae79a26e4a33ef3aea30e870e2fe>`__)
53+
54+
Features
55+
~~~~~~~~
56+
57+
- **cli:** add explicit parameters to renku run
58+
(`#2583 <https://github.com/SwissDataScienceCenter/renku-python/issues/2583>`__)
59+
(`5118774 <https://github.com/SwissDataScienceCenter/renku-python/commit/511877464266a7c6053bcf78b49560c36135f412>`__)
60+
- **core:** extended template variable functionality
61+
(`#2120 <https://github.com/SwissDataScienceCenter/renku-python/issues/2120>`__)
62+
(`0e13fc1 <https://github.com/SwissDataScienceCenter/renku-python/commit/0e13fc1b4db8b0fd323cc3d3fc0c865ed280fccc>`__)
63+
- **core:** ignore quotation mark in git user/email config
64+
(`#2537 <https://github.com/SwissDataScienceCenter/renku-python/issues/2537>`__)
65+
(`e70481c <https://github.com/SwissDataScienceCenter/renku-python/commit/e70481cd386ceadd9e43e06d373c32e8f6c8669d>`__)
66+
- **core:** pass parameters as environment vars to scripts (and renku.api)
67+
(`#2596 <https://github.com/SwissDataScienceCenter/renku-python/issues/2596>`__)
68+
(`c4fd71c <https://github.com/SwissDataScienceCenter/renku-python/commit/c4fd71c6c3df0b755d88c88c40f1b81792e91b46>`__)
69+
- **core:** support forward compatibility of datasets
70+
(`#2554 <https://github.com/SwissDataScienceCenter/renku-python/issues/2554>`__)
71+
(`c6a7013 <https://github.com/SwissDataScienceCenter/renku-python/commit/c6a7013e02b639bf1894d6b96e53b05a0058cb9e>`__)
72+
- **core:** reintroduce shell completion command
73+
(`#2562 <https://github.com/SwissDataScienceCenter/renku-python/issues/2562>`__)
74+
(`6b3ee60 <https://github.com/SwissDataScienceCenter/renku-python/commit/6b3ee604db4e23bd8b51a323ec0af93fda0d23ff>`__)
75+
2176
` <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.0.1...v1.0.2>`__ (2022-01-18)
2277
--------------------------------------------------------------------------------------------------
2378

docs/how-to-guides/implementing_a_provider.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ A simple example of a ``MyProvider`` workflow executor plugin:
4343
4444
The execution of the workflow(s) shall be defined in ``workflow_execute`` function, where
4545

46-
- ``dag`` is a Directed Acyclic Graph of :py:class:`Plans<renku.core.models.workflow.plan>` to be executed represented with a `networkx.DiGraph <https://networkx.org/documentation/stable/reference/classes/digraph.html>`_,
46+
- ``dag`` is a Directed Acyclic Graph of :py:class:`Plans<renku.core.models.workflow.plan>`
47+
to be executed represented with a
48+
`networkx.DiGraph <https://networkx.org/documentation/stable/reference/classes/digraph.html>`_,
4749
- ``basedir`` is the absolute path to the project,
4850
- ``config`` dictionary contains the provider related optional configuration parameters.
4951

@@ -52,3 +54,9 @@ should be the plugin object, i.e. ``self`` and the string is a unique identifier
5254
provider plugin. This unique string will be the string that the user can provide to the
5355
``--provider`` command line argument to select this plugin for executing the desired
5456
workflows.
57+
58+
A provider HAS to set environment variables for a plans parameters, so they can be used by scripts.
59+
These environment variables have to be prefixed with the value of the
60+
``renku.core.plugins.provider.RENKU_ENV_PREFIX`` constant. So for a parameter with name
61+
``my-param`` and the ``RENKU_ENV_PREFIX`` value of ``RENKU_ENV_``, the environment variable
62+
should be called ``RENKU_ENV_my-param``.

docs/how-to-guides/shell-integration.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Shell integration of Renku CLI
55

66
Renku CLI supports shell auto-completion for Renku commands and their arguments like datasets and workflows.
77

8+
A convenience method is available for printing to the standard output the shell completion command for the
9+
currently used shell:
10+
11+
.. code-block:: console
12+
13+
$ renku env --shell-completion
14+
_RENKU_COMPLETE=zsh_source renku
15+
816
To activate tab completion for your supported shell run the following command after installing Renku CLI:
917

1018
.. tabs::
@@ -37,7 +45,7 @@ in case of ``renku workflow execute`` the available ``Plans`` are going to be li
3745
3846
.. note::
3947

40-
Tab completion of available ``Plans`` only works if the user is executing the command
48+
Tab completion of available ``Plans`` (or ``Datasets``) only works if the user is executing the command
4149
within a Renku project.
4250

4351

helm-chart/renku-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: renku-core
55
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
6-
version: 1.0.2
6+
version: 1.0.3

helm-chart/renku-core/templates/deployment.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{{- range $version := .Values.versions }}
2+
{{- $queuesWithVersion := dict "datasetqueues" (list) "managementqueues" (list) -}}
3+
{{- range $queue := (split "," $.Values.datasetsWorkerQueues) -}}
4+
{{- $var := printf "%s.%s" $version.name $queue | append $queuesWithVersion.datasetqueues | set $queuesWithVersion "datasetqueues" -}}
5+
{{- end }}
6+
{{- range $queue := (split "," $.Values.managementWorkerQueues) -}}
7+
{{- $var := printf "%s.%s" $version.name $queue | append $queuesWithVersion.managementqueues | set $queuesWithVersion "managementqueues" -}}
8+
{{- end }}
29
---
310
apiVersion: apps/v1
411
kind: Deployment
@@ -69,7 +76,7 @@ spec:
6976
value: "0"
7077
- name: REDIS_PASSWORD
7178
value:
72-
- name: WALRUS_NAMESPACE
79+
- name: REDIS_NAMESPACE
7380
value: {{ $version.name }}
7481
- name: CACHE_DIR
7582
value: {{ $.Values.cacheDirectory }}
@@ -135,7 +142,7 @@ spec:
135142
value: "0"
136143
- name: REDIS_PASSWORD
137144
value:
138-
- name: WALRUS_NAMESPACE
145+
- name: REDIS_NAMESPACE
139146
value: {{ $version.name }}
140147
- name: RENKU_JWT_TOKEN_SECRET
141148
value: {{ $.Values.jwtTokenSecret }}
@@ -144,7 +151,7 @@ spec:
144151
- name: RENKU_SVC_CLEANUP_INTERVAL
145152
value: {{ $.Values.cleanupInterval | quote }}
146153
- name: RENKU_SVC_WORKER_QUEUES
147-
value: {{ $.Values.datasetsWorkerQueues }}
154+
value: {{ join "," $queuesWithVersion.datasetqueues }}
148155
- name: RENKU_SVC_CLEANUP_TTL_FILES
149156
value: {{ $.Values.cleanupFilesTTL | quote }}
150157
- name: RENKU_SVC_CLEANUP_TTL_PROJECTS
@@ -178,14 +185,14 @@ spec:
178185
value: "0"
179186
- name: REDIS_PASSWORD
180187
value:
181-
- name: WALRUS_NAMESPACE
188+
- name: REDIS_NAMESPACE
182189
value: {{ $version.name }}
183190
- name: CACHE_DIR
184191
value: {{ $.Values.cacheDirectory }}
185192
- name: RENKU_SVC_CLEANUP_INTERVAL
186193
value: {{ $.Values.cleanupInterval | quote }}
187194
- name: RENKU_SVC_WORKER_QUEUES
188-
value: {{ $.Values.managementWorkerQueues }}
195+
value: {{ join "," $queuesWithVersion.managementqueues }}
189196
- name: RENKU_SVC_CLEANUP_TTL_FILES
190197
value: {{ $.Values.cleanupFilesTTL | quote }}
191198
- name: RENKU_SVC_CLEANUP_TTL_PROJECTS
@@ -219,7 +226,7 @@ spec:
219226
value: "0"
220227
- name: REDIS_PASSWORD
221228
value:
222-
- name: WALRUS_NAMESPACE
229+
- name: REDIS_NAMESPACE
223230
value: {{ $version.name }}
224231
- name: CACHE_DIR
225232
value: {{ $.Values.cacheDirectory | quote }}

helm-chart/renku-core/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ versions:
104104
fullnameOverride: ""
105105
image:
106106
repository: renku/renku-core
107-
tag: "v1.0.1"
107+
tag: "v1.0.3"
108108
pullPolicy: IfNotPresent
109109
v8:
110110
name: v8
@@ -113,5 +113,5 @@ versions:
113113
fullnameOverride: ""
114114
image:
115115
repository: renku/renku-core
116-
tag: "v0.16.2"
116+
tag: "v0.16.4"
117117
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)