Skip to content

Commit aaa7722

Browse files
authored
Merge pull request #3192 from SwissDataScienceCenter/release/v1.9.0
chore: release v1.9.0
2 parents f62f55d + 0d3000b commit aaa7722

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2386
-1283
lines changed

.github/workflows/test_deploy.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
6565
run: |
6666
python -m pip install --upgrade pip
67-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
67+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
6868
poetry-dynamic-versioning
6969
make download-templates
7070
python -m pip install .[all]
@@ -113,7 +113,7 @@ jobs:
113113
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
114114
run: |
115115
python -m pip install --upgrade pip
116-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
116+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
117117
poetry-dynamic-versioning
118118
make download-templates
119119
python -m pip install .[all]
@@ -152,7 +152,7 @@ jobs:
152152
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
153153
run: |
154154
python -m pip install --upgrade pip
155-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
155+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
156156
poetry-dynamic-versioning
157157
make download-templates
158158
python -m pip install .[all]
@@ -192,7 +192,7 @@ jobs:
192192
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
193193
run: |
194194
python -m pip install --upgrade pip
195-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
195+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
196196
poetry-dynamic-versioning
197197
make download-templates
198198
pip install .[all]
@@ -238,7 +238,7 @@ jobs:
238238
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
239239
run: |
240240
python -m pip install --upgrade pip
241-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
241+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
242242
poetry-dynamic-versioning
243243
make download-templates
244244
python -m pip install .[all]
@@ -306,7 +306,7 @@ jobs:
306306
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
307307
run: |
308308
python -m pip install --upgrade pip
309-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
309+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
310310
poetry-dynamic-versioning
311311
make download-templates
312312
python -m pip install .[all]
@@ -380,7 +380,7 @@ jobs:
380380
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
381381
run: |
382382
python -m pip install --upgrade pip
383-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
383+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
384384
poetry-dynamic-versioning
385385
make download-templates
386386
python -m pip install .[all]
@@ -454,7 +454,7 @@ jobs:
454454
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
455455
run: |
456456
python -m pip install --upgrade pip
457-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
457+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
458458
poetry-dynamic-versioning
459459
make download-templates
460460
python -m pip install .[all]
@@ -678,7 +678,7 @@ jobs:
678678
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
679679
run: |
680680
python -m pip install --upgrade pip
681-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
681+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
682682
poetry-dynamic-versioning
683683
make download-templates
684684
python -m pip install .[all]
@@ -769,7 +769,7 @@ jobs:
769769
if: steps.dependency-cache.outputs.cache-hit != 'true' || 'refs/heads/master' == github.ref || 'refs/heads/develop' == github.ref || startsWith(github.ref, 'refs/tags/')
770770
run: |
771771
python -m pip install --upgrade pip
772-
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
772+
python -m pip install coveralls poetry==1.1.15 wheel twine poetry-dynamic-versioning==0.17.1
773773
poetry-dynamic-versioning
774774
make download-templates
775775
python -m pip install .[all]
@@ -897,7 +897,7 @@ jobs:
897897
- name: Install dependencies
898898
run: |
899899
python -m pip install --upgrade pip
900-
python -m pip install poetry poetry-dynamic-versioning==0.17.1 poetry-lock-package twine
900+
python -m pip install poetry==1.1.15 poetry-dynamic-versioning==0.17.1 poetry-lock-package twine
901901
python -m pip install .[all]
902902
git config --global --add user.name "Renku Bot"
903903
git config --global --add user.email "[email protected]"

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
"\\.eggs | \\.git | \\.hg | \\.mypy_cache | \\.tox | \\.venv | _build | buck-out | build | dist | docs/conf.py",
2424
],
2525
"esbonio.sphinx.confDir": "",
26+
"python.analysis.include": [
27+
"renku/**"
28+
],
2629
}

CHANGES.rst

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

21+
`1.9.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.8.1...v1.9.0>`__ (2022-11-03)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **core:** fix metadata to match RFC and properly format wasDerivedFrom
28+
(`#3166 <https://github.com/SwissDataScienceCenter/renku-python/issues/3166>`__)
29+
(`42aee90 <https://github.com/SwissDataScienceCenter/renku-python/commit/42aee90b893fd24b0b7cf968f7958ce46905e88f>`__)
30+
- **core:** fix rerun overwriting plan details with previous versions
31+
(`#3172 <https://github.com/SwissDataScienceCenter/renku-python/issues/3172>`__)
32+
(`72ad1d5 <https://github.com/SwissDataScienceCenter/renku-python/commit/72ad1d58e6477288b95d483e91963b96a7411b1b>`__)
33+
- **service:** fixes core service not working with python 3.10
34+
(`#3186 <https://github.com/SwissDataScienceCenter/renku-python/issues/3186>`__)
35+
(`dc7554f <https://github.com/SwissDataScienceCenter/renku-python/commit/dc7554fc8e3ae02444792e0f97b30417860dd5ed>`__)
36+
37+
Features
38+
~~~~~~~~
39+
40+
- **svc:** added workflow endpoints in core service for new workflow UI
41+
(`#3135 <https://github.com/SwissDataScienceCenter/renku-python/issues/3135>`__)
42+
(`3cf7c5d <https://github.com/SwissDataScienceCenter/renku-python/commit/3cf7c5df8a04acea407a28f3eee46bc49b1a80db>`__)
43+
2144
`1.8.1 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.8.0...v1.8.1>`__ (2022-10-26)
2245
-------------------------------------------------------------------------------------------------------
2346

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ services:
117117
image: traefik:v2.4
118118
command: --api.insecure=true --providers.docker
119119
ports:
120-
- "80:80"
120+
- "81:81"
121121
# set the UI port to something other than 8080 since that's our service already
122122
- "8088:8080"
123123
volumes:

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.8.1
6+
version: 1.9.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
{{- include "certificates.initContainer" $ | nindent 8 }}
5050
securityContext:
5151
{{- toYaml $.Values.podSecurityContext | nindent 8 }}
52-
automountServiceAccountToken: false
52+
automountServiceAccountToken: {{ $.Values.global.debug }}
5353
containers:
5454
{{ if $.Values.metrics.enabled }}
5555
- name: {{ $.Chart.Name}}-rqmetrics

helm-chart/renku-core/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ global:
2828
renku-redis-host: "true"
2929
existingSecret: redis-secret
3030
existingSecretPasswordKey: redis-password
31+
debug: false
3132
# base path - this is the reverse proxy base path
3233
apiBasePath: /api
3334
cacheDirectory: /svc/cache
@@ -96,7 +97,7 @@ versions:
9697
fullnameOverride: ""
9798
image:
9899
repository: renku/renku-core
99-
tag: "v1.8.1"
100+
tag: "v1.9.0"
100101
pullPolicy: IfNotPresent
101102
v8:
102103
name: v8

load-tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
config.js

load-tests/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Load testing with k6
2+
3+
## To run
4+
1. Download k6: https://k6.io/docs/get-started/installation/ - you can also get a binary from the github page
5+
2. Enter the credentials and deployment you wish to test in a file named `config.js`, you can
6+
use the `example.config.js` to start - just make a copy and rename it.
7+
3. Run the tests with `k6 run testFileName.js`
8+
9+
## Limitations
10+
11+
- This can log into Renku only and specifically in the cases where Renku has its own built-in gitlab that does
12+
not require a separate log in OR when the gitlab deployment is part of another renku deployment
13+
- The login flow cannot handle giving authorization when prompted in the oauth flow - do this
14+
for the first time manually then run the tests with the same account
15+
- The project used to test migrations has to be in a namespace that you control and can create
16+
other projects in. When forks are created they are always created in the same namespace as the
17+
original project with the name being unique.

load-tests/example.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
export const baseUrl = "https://dev.renku.ch"
2+
// oldGitlabProjectId has to point to a project that resides in a namespace that the user
3+
// has at least maintainer access to. This is because the load tests will fork this project
4+
// into the same namespace as where the original project resides and only generate a uuid-like
5+
// name for the project. So if you point to a project that resides in a namespace to which
6+
// the test runner has no permissions, the forking part of the tests will fail.
7+
export const oldGitlabProjectId = 5011
8+
// This project is used to test calling api/renku/project.show, the project is not forked
9+
// and it does not have the same strict requirements as the project mentioned above. Any
10+
// public project should work here (whether the user has write access to it or not).
11+
export const sampleGitProjectUrl = "https://dev.renku.ch/gitlab/tasko.olevski/test-project-2.git"
12+
13+
// Two sets of credentials are needed only if the Renku deployment
14+
// has a separate Gitlab that requires logging into another Renku
15+
// instance. So for dev.renku.ch you need one set of credentials
16+
// for CI deployments you need 2. First the credentials to the
17+
// CI deployment then the ones for dev.renku.ch.
18+
export const credentials = [
19+
{
20+
username: "[email protected]",
21+
password: "secret-password1"
22+
},
23+
{
24+
username: "[email protected]",
25+
password: "secret-password1"
26+
},
27+
]

0 commit comments

Comments
 (0)