Skip to content

Commit c1be009

Browse files
authored
Merge pull request #3653 from SwissDataScienceCenter/release/v2.8.0
2 parents 74ccfb7 + 4ca2032 commit c1be009

File tree

505 files changed

+4113
-3262
lines changed

Some content is hidden

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

505 files changed

+4113
-3262
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
!.git
99
!.gitignore
1010
!Makefile
11+
!gunicorn.conf.py
1112
.git/config

.github/workflows/acceptance-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
renku-graph: ${{ steps.deploy-comment.outputs.renku-graph}}
2727
renku-notebooks: ${{ steps.deploy-comment.outputs.renku-notebooks}}
2828
renku-ui: ${{ steps.deploy-comment.outputs.renku-ui}}
29+
renku-data-services: ${{ steps.deploy-comment.outputs.renku-data-services}}
2930
test-enabled: ${{ steps.deploy-comment.outputs.test-enabled}}
3031
extra-values: ${{ steps.deploy-comment.outputs.extra-values}}
3132
persist: ${{ steps.deploy-comment.outputs.persist}}
3233
steps:
3334
- id: deploy-comment
34-
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.4.5
35+
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.7.0
3536
with:
3637
string: /deploy
3738
pr_ref: ${{ github.event.number }}
@@ -43,7 +44,7 @@ jobs:
4344
name: renku-ci-rp-${{ github.event.number }}
4445
steps:
4546
- name: deploy-pr
46-
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.4.5
47+
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.7.0
4748
env:
4849
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
4950
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
@@ -52,7 +53,7 @@ jobs:
5253
RANCHER_PROJECT_ID: ${{ secrets.CI_RANCHER_PROJECT }}
5354
RENKU_RELEASE: renku-ci-rp-${{ github.event.number }}
5455
RENKU_VALUES_FILE: "${{ github.workspace }}/values.yaml"
55-
RENKU_VALUES: ${{ secrets.CI_RENKU_VALUES }}
56+
RENKU_VALUES: ${{ secrets.COMBINED_CHARTS_CI_RENKU_VALUES }}
5657
RENKUBOT_KUBECONFIG: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}
5758
RENKUBOT_RANCHER_BEARER_TOKEN: ${{ secrets.RENKUBOT_RANCHER_BEARER_TOKEN }}
5859
RANCHER_DEV_API_ENDPOINT: ${{ secrets.RANCHER_DEV_API_ENDPOINT }}
@@ -66,6 +67,7 @@ jobs:
6667
renku_graph: "${{ needs.check-deploy.outputs.renku-graph }}"
6768
renku_notebooks: "${{ needs.check-deploy.outputs.renku-notebooks }}"
6869
renku_ui: "${{ needs.check-deploy.outputs.renku-ui }}"
70+
renku_data_services: "${{ needs.check-deploy.outputs.renku-data-services }}"
6971
extra_values: "${{ needs.check-deploy.outputs.extra-values }}"
7072
- name: Check existing renkubot comment
7173
uses: peter-evans/find-comment@v2
@@ -88,7 +90,7 @@ jobs:
8890
if: ${{ github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true' && needs.check-deploy.outputs.test-enabled == 'true' }}
8991
needs: [check-deploy, deploy-pr]
9092
steps:
91-
- uses: SwissDataScienceCenter/renku-actions/test-renku@v1.4.5
93+
- uses: SwissDataScienceCenter/renku-actions/test-renku@v1.7.0
9294
with:
9395
kubeconfig: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}
9496
renku-release: renku-ci-rp-${{ github.event.number }}
@@ -103,7 +105,7 @@ jobs:
103105
runs-on: ubuntu-20.04
104106
steps:
105107
- name: renku teardown
106-
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.4.5
108+
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.7.0
107109
env:
108110
HELM_RELEASE_REGEX: "^renku-ci-rp-${{ github.event.number }}$"
109111
GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }}

.github/workflows/test_deploy.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,7 @@ jobs:
496496
CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}
497497
CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}
498498
CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}
499-
run: pytest -m "integration and not serial and not service" -v
500-
- name: Start Redis
501-
uses: supercharge/[email protected]
499+
run: pytest -m "integration and not serial and not service and not redis" -v
502500
- name: Test with pytest (serial)
503501
env:
504502
POETRY_VIRTUALENVS_CREATE: false
@@ -589,19 +587,16 @@ jobs:
589587
run: |
590588
echo "GIT_USER=Renku Bot" >> $GITHUB_ENV
591589
echo "[email protected]" >> $GITHUB_ENV
592-
- name: Push chart and images
593-
uses: SwissDataScienceCenter/renku-actions/publish-chart@v1.4.5
590+
- name: Build and push images
591+
uses: SwissDataScienceCenter/renku-actions/publish-chartpress-images@v1.7.0
594592
env:
595-
CHART_NAME: renku-core
596593
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
597594
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
598595
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
599-
- name: Wait for chart to be available
600-
run: sleep 120
601596
- name: Update component version
602-
uses: SwissDataScienceCenter/renku-actions/update-component-version@v1.4.5
597+
uses: SwissDataScienceCenter/renku-actions/update-component-version@v1.7.0
603598
env:
604-
CHART_NAME: renku-core
599+
COMPONENT_NAME: renku-core
605600
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
606601

607602
coveralls-final:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var/
3535
*.egg-info/
3636
.installed.cfg
3737
*.egg
38+
.python-version
3839

3940
# PyInstaller
4041
# Usually these files are written by a python script from a template

AUTHORS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
..
2-
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
2+
Copyright Swiss Data Science Center (SDSC).
33
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
44
Eidgenössische Technische Hochschule Zürich (ETHZ).
55

CHANGES.rst

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
..
2-
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
2+
Copyright Swiss Data Science Center (SDSC).
33
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
44
Eidgenössische Technische Hochschule Zürich (ETHZ).
55
@@ -18,6 +18,57 @@
1818
Changes
1919
=======
2020

21+
`2.8.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.7.0...v2.8.0>`__ (2023-11-17)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **cli:** do not error unnecessarily on session stop
28+
(`#3642 <https://github.com/SwissDataScienceCenter/renku-python/issues/3642>`__)
29+
(`4726f66 <https://github.com/SwissDataScienceCenter/renku-python/commit/4726f660e33a6eb3706b20f661faa635fbe6356b>`__)
30+
- **cli:** do not pass the force-build flag to docker
31+
(`#3641 <https://github.com/SwissDataScienceCenter/renku-python/issues/3641>`__)
32+
(`ff5e8f6 <https://github.com/SwissDataScienceCenter/renku-python/commit/ff5e8f63b94691a65dfe5e44438c4f819819f7ee>`__)
33+
- **cli:** do not start a session when in detached HEAD state
34+
(`#3636 <https://github.com/SwissDataScienceCenter/renku-python/issues/3636>`__)
35+
(`80f70f5 <https://github.com/SwissDataScienceCenter/renku-python/commit/80f70f554ef552b67683ba2498959dbca4aa8200>`__)
36+
- **core:** do not clone submodules in renku clone command
37+
(`#3630 <https://github.com/SwissDataScienceCenter/renku-python/issues/3630>`__)
38+
(`e9986e0 <https://github.com/SwissDataScienceCenter/renku-python/commit/e9986e0d4a882cdf1b84603c9f08010d7f949972>`__)
39+
- don’t fail on exotic git diff types
40+
(`#3632 <https://github.com/SwissDataScienceCenter/renku-python/issues/3632>`__)
41+
(`160620c <https://github.com/SwissDataScienceCenter/renku-python/commit/160620c447f1ab7f6935ef63e3f92437c7537f98>`__)
42+
- make usage of name and slug consistent
43+
(`#3620 <https://github.com/SwissDataScienceCenter/renku-python/issues/3620>`__)
44+
(`b31ade0 <https://github.com/SwissDataScienceCenter/renku-python/commit/b31ade02eed873e09e790a46d92caaf2379871ce>`__)
45+
- **service:** set job timeouts correctly
46+
(`#3651 <https://github.com/SwissDataScienceCenter/renku-python/issues/3651>`__)
47+
(`db0f8cf <https://github.com/SwissDataScienceCenter/renku-python/commit/db0f8cf87d8f234e87aa48058eceaaf68283cedf>`__)
48+
- warn user about old version of git when using mergetool
49+
(`#3637 <https://github.com/SwissDataScienceCenter/renku-python/issues/3637>`__)
50+
(`5df0ce1 <https://github.com/SwissDataScienceCenter/renku-python/commit/5df0ce17e2264412ad081909d08a80f4e6523ae9>`__)
51+
52+
Features
53+
~~~~~~~~
54+
55+
- add prometheus metrics
56+
(`#3640 <https://github.com/SwissDataScienceCenter/renku-python/issues/3640>`__)
57+
(`d3eedb5 <https://github.com/SwissDataScienceCenter/renku-python/commit/d3eedb5e716cdc3299021f5e0c75d678c7c85da0>`__)
58+
- **cli, service:** support for project image
59+
(`#3623 <https://github.com/SwissDataScienceCenter/renku-python/issues/3623>`__)
60+
(`db9f93b <https://github.com/SwissDataScienceCenter/renku-python/commit/db9f93b83e077e62b0196305a82b860fcc2cad6b>`__)
61+
- **cli:** session pause and resume
62+
(`#3633 <https://github.com/SwissDataScienceCenter/renku-python/issues/3633>`__)
63+
(`f4b6480 <https://github.com/SwissDataScienceCenter/renku-python/commit/f4b648019cb0ef09e1591e34dbcdd56d2672f018>`__)
64+
- **service:** accept commit SHA in read endpoints
65+
(`#3608 <https://github.com/SwissDataScienceCenter/renku-python/issues/3608>`__)
66+
(`01a0798 <https://github.com/SwissDataScienceCenter/renku-python/commit/01a0798562357167944aab828e5e6b7967775f8a>`__)
67+
- **svc:** rename git_url to template_git_url and return git_url on all
68+
endpoints
69+
(`#3646 <https://github.com/SwissDataScienceCenter/renku-python/issues/3646>`__)
70+
(`314786e <https://github.com/SwissDataScienceCenter/renku-python/commit/314786e8f685d2e202de801434bf1dceed9e17bf>`__)
71+
2172
`2.7.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.6.2...v2.7.0>`__ (2023-09-27)
2273
-------------------------------------------------------------------------------------------------------
2374

DEVELOPING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ number.
261261
- Once the release PR has been merged, publish the github release. This creates
262262
the tag on master that kicks off the publishing CI.
263263
- Keep an eye on CI, make sure that the `publish-pypi`, `build-images` and
264-
`publish-chart` finish successfully.
264+
`publish-chartpress-images` finish successfully.
265265
* If any of them don't finish successfully, ask for help.
266266
- Go to the `Renku` repository and approve/merge the automatically created PR
267267
there.

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get install --no-install-recommends -y build-essential && \
1515
# time the code changes
1616
# set the BUILD_CORE_SERVICE to non null to install additional service dependencies
1717
ARG BUILD_CORE_SERVICE
18-
COPY pyproject.toml poetry.lock README.rst CHANGES.rst Makefile /code/renku/
18+
COPY pyproject.toml poetry.lock README.rst CHANGES.rst Makefile gunicorn.conf.py /code/renku/
1919
COPY .git /code/renku/.git
2020
COPY renku /code/renku/renku
2121
WORKDIR /code/renku
@@ -46,6 +46,7 @@ RUN addgroup -gid 1000 shuhitsu && \
4646
if [ -n "${BUILD_CORE_SERVICE}" ]; then mkdir /svc && chown shuhitsu:shuhitsu /svc ; fi
4747

4848
COPY --from=builder /code/renku /code/renku
49+
WORKDIR /code/renku
4950
ENV PATH="${PATH}:/code/renku/.venv/bin"
5051

5152
# shuhitsu (執筆): The "secretary" of the renga, as it were, who is responsible for
@@ -55,5 +56,6 @@ USER shuhitsu
5556
ENV RENKU_SVC_NUM_WORKERS 4
5657
ENV RENKU_SVC_NUM_THREADS 8
5758
ENV RENKU_DISABLE_VERSION_CHECK=1
59+
ENV PROMETHEUS_MULTIPROC_DIR /tmp
5860

5961
ENTRYPOINT ["tini", "-g", "--", "renku"]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright [yyyy] [name of copyright owner]
190+
Copyright 2019-2023 - Swiss Data Science Center
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2017-2023 - Swiss Data Science Center (SDSC)
4-
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
1+
# Copyright Swiss Data Science Center (SDSC). A partnership between
2+
# École Polytechnique Fédérale de Lausanne (EPFL) and
53
# Eidgenössische Technische Hochschule Zürich (ETHZ).
64
#
75
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)