Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ef99d94
refactor: remove core and graph
sgaist Dec 11, 2025
a75c25f
refactor: removed core and graph elements from values file
sgaist Dec 11, 2025
95c43fd
feat: add "charts" cache folder to gitignore
sgaist Dec 11, 2025
f1b59b6
refactor: moved session related eleemtns from notebooks to data-service
sgaist Dec 11, 2025
f424585
refactor: removed obsolete notebooks elements
sgaist Dec 11, 2025
b1ce01f
fix(data-service/deployment): update path to session-env-secret.yaml
sgaist Dec 11, 2025
606f2d6
refactor: removed everything enableV1Services related
sgaist Dec 11, 2025
0fcc7ea
refactor: add deletion information to changelog
sgaist Dec 11, 2025
1b5c4c4
fix: remove missed pod selector for V1 core
sgaist Dec 11, 2025
c5828c4
fix: improve changelog text
sgaist Dec 15, 2025
cb1a90f
refactor: removed dlf-chart from requirements
sgaist Dec 15, 2025
84a66ec
refactor: remove additional obsolete entries from values.yaml
sgaist Dec 15, 2025
479fadd
refactor: remove network policy for v1 sessions
sgaist Dec 15, 2025
206440a
refactor: remove core and kg related entries from gateway
sgaist Dec 16, 2025
fcd5299
refactor: remove obsolete core cookies handling
sgaist Dec 16, 2025
f4be2c2
feat: openBIS datasets and user alerts on the backend (#4290)
olevski Dec 17, 2025
ed19532
fix(gateway): add back kg url
sgaist Dec 17, 2025
23ac586
test(cypress): improve acceptance tests (#4242)
mohammad-alisafaee Dec 18, 2025
af18a1f
Merge branch 'release-2.12.0' into refactor/remove-obsolete-items
sgaist Dec 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
'',
'This PR is auto-generated by [actions/github-script](https://github.com/actions/github-script).',
'',
'/deploy #legacy ',
'/deploy #slow ',
].join('\n')
});
github.rest.issues.addLabels({
Expand Down
141 changes: 67 additions & 74 deletions .github/workflows/pull-request-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
outputs:
docs: ${{ steps.filter.outputs.docs }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docs:
- 'docs/**'
# For pull requests it's not necessary to check out the code
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docs:
- 'docs/**'

test-docs:
needs: changes
Expand Down Expand Up @@ -69,11 +69,11 @@ jobs:
amalthea: ${{ steps.deploy-comment.outputs.amalthea }}
amalthea-sessions: ${{ steps.deploy-comment.outputs.amalthea-sessions }}
test-enabled: ${{ steps.deploy-comment.outputs.test-enabled == 'true' }}
test-legacy-enabled: ${{ steps.deploy-comment.outputs.test-legacy-enabled == 'true' }}
test-slow-enabled: ${{ steps.deploy-comment.outputs.test-slow-enabled == 'true' }}
extra-values: ${{ steps.deploy-comment.outputs.extra-values }}
steps:
- id: deploy-comment
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.19.1
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.20.0
with:
pr_ref: ${{ github.event.number }}

Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:

- name: renku build and deploy
if: needs.check-deploy.outputs.deploy == 'true'
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.19.1
uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.20.0
env:
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}
Expand All @@ -151,92 +151,85 @@ jobs:
amalthea_sessions: "${{ needs.check-deploy.outputs.amalthea-sessions }}"
extra_values: "${{ needs.check-deploy.outputs.extra-values }}"

legacy-scala-tests:
name: Legacy Scala tests
runs-on: ubuntu-24.04
needs: [check-deploy, deploy-pr]
if: github.event.action != 'closed' && (needs.check-deploy.outputs.switch-deploy == 'true' || needs.check-deploy.outputs.deploy == 'true') && needs.check-deploy.outputs.test-legacy-enabled == 'true'
permissions:
id-token: write
steps:
- name: Azure login
if: needs.check-deploy.outputs.deploy == 'true'
uses: azure/login@v2
with:
client-id: ${{ secrets.CI_RENKU_AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.CI_RENKU_AZURE_TENANT_ID }}
subscription-id: ${{ secrets.CI_RENKU_AZURE_SUBSCRIPTION_ID }}

- uses: azure/aks-set-context@v4
if: needs.check-deploy.outputs.deploy == 'true'
with:
resource-group: "renku-dev"
cluster-name: "aks-switzerlandnorth-renku-dev"

- name: Get AKS credentials
if: needs.check-deploy.outputs.deploy == 'true'
run: |
az aks get-credentials --resource-group renku-dev --name aks-switzerlandnorth-renku-dev --file "${{ github.workspace }}/renkubot-kube.config"
chmod 400 "${{ github.workspace }}/renkubot-kube.config"

- uses: SwissDataScienceCenter/renku-actions/test-renku@v1.19.1
with:
kubeconfig: "${{ github.workspace }}/renkubot-kube.config"
renku-release: ci-renku-${{ github.event.number }}
gitlab-token: ${{ secrets.DEV_GITLAB_TOKEN }}
s3-results-access-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_ACCESS_KEY }}
s3-results-secret-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_SECRET_KEY }}
test-timeout-mins: "60"

legacy-cypress-acceptance-tests:
name: Legacy Cypress tests
cypress-acceptance-tests:
name: Cypress acceptance tests
runs-on: ubuntu-24.04
needs: [check-deploy, deploy-pr]
strategy:
fail-fast: false
matrix:
tests:
[
publicProject,
privateProject,
updateProjects,
testDatasets,
useSession,
checkWorkflows,
rstudioSession,
anonymousNavigation,
codeRepositories,
dashboard,
dataConnectors,
groups,
projects,
search,
sessionLaunchers,
sessions,
]
steps:
- uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.19.1
if: github.event.action != 'closed' && (needs.check-deploy.outputs.switch-deploy == 'true' || needs.check-deploy.outputs.deploy == 'true') && needs.check-deploy.outputs.test-legacy-enabled == 'true'
- uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.20.0
if: github.event.action != 'closed' && needs.check-deploy.outputs.deploy == 'true' && needs.check-deploy.outputs.test-enabled == 'true'
with:
e2e-folder: cypress/e2e/v2/
e2e-target: ${{ matrix.tests }}
kubernetes-cluster-fqdn: ${{ needs.check-deploy.outputs.deploy == 'true' && 'dev.renku.ch' }}
renku-reference: ${{ github.ref }}
renku-release: ci-renku-${{ github.event.number }}
test-user-password: ${{ secrets.RENKU_BOT_DEV_PASSWORD }}
kubernetes-cluster-fqdn: ${{ needs.check-deploy.outputs.deploy == 'true' && 'dev.renku.ch' }}

cypress-acceptance-tests:
name: Cypress tests
cypress-acceptance-tests-slow:
name: Cypress slow acceptance tests
if: github.event.action != 'closed' && needs.check-deploy.outputs.deploy == 'true' && needs.check-deploy.outputs.test-enabled == 'true' && needs.check-deploy.outputs.test-slow-enabled == 'true'
runs-on: ubuntu-24.04
needs: [check-deploy, deploy-pr]
permissions:
pull-requests: write
id-token: write
env:
KUBECONFIG: "${{ github.workspace }}/renkubot-kube.config"
strategy:
fail-fast: false
matrix:
tests:
[
anonymousNavigation,
dashboardV2,
groupBasics,
projectBasics,
projectResources,
searchEntities,
sessionBasics,
sessions,
sessionSecrets,
]
steps:
- uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.19.1
if: github.event.action != 'closed' && (needs.check-deploy.outputs.switch-deploy == 'true' || needs.check-deploy.outputs.deploy == 'true') && needs.check-deploy.outputs.test-enabled == 'true'
- name: Azure login
uses: azure/login@v2
with:
e2e-folder: cypress/e2e/v2/
client-id: ${{ secrets.CI_RENKU_AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.CI_RENKU_AZURE_TENANT_ID }}
subscription-id: ${{ secrets.CI_RENKU_AZURE_SUBSCRIPTION_ID }}

- name: Set AKS context
uses: azure/aks-set-context@v4
with:
resource-group: "renku-dev"
cluster-name: "aks-switzerlandnorth-renku-dev"

- name: Get AKS credentials
run: |
az aks get-credentials --resource-group renku-dev --name aks-switzerlandnorth-renku-dev --file "${{ github.workspace }}/renkubot-kube.config"
chmod 400 "${{ github.workspace }}/renkubot-kube.config"

- name: Install kubectl
uses: azure/setup-kubectl@v4
with:
version: 'latest'

- name: Check kubectl config and access to cluster
run: kubectl get pods -A

- name: Run Cypress slow tests
uses: SwissDataScienceCenter/renku-actions/test-renku-cypress@v1.20.0
with:
e2e-folder: cypress/e2e/slow/
e2e-target: ${{ matrix.tests }}
kubernetes-cluster-fqdn: ${{ needs.check-deploy.outputs.deploy == 'true' && 'dev.renku.ch' }}
renku-reference: ${{ github.ref }}
Expand All @@ -250,7 +243,7 @@ jobs:
steps:
- name: Check deploy string
if: ${{
needs.check-deploy.outputs.switch-deploy == 'true'
needs.check-deploy.outputs.deploy == 'true'
&& startsWith(github.base_ref, 'release-')
&& (
needs.check-deploy.outputs.renku-core != null
Expand All @@ -269,7 +262,7 @@ jobs:
name: Cleanup
runs-on: ubuntu-24.04
needs: [check-deploy]
if: github.event.action == 'closed' && (needs.check-deploy.outputs.switch-deploy == 'true' || needs.check-deploy.outputs.deploy == 'true')
if: github.event.action == 'closed' && needs.check-deploy.outputs.deploy == 'true'
permissions:
pull-requests: write
id-token: write
Expand Down Expand Up @@ -313,7 +306,7 @@ jobs:

# Cleanup Azure deployments
- name: renku teardown
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.19.1
uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.20.0
env:
HELM_RELEASE_REGEX: "^ci-renku-${{ github.event.number }}$"
GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ _sidebar.rst.inc
# The requirements lockfile is generated when packaging the chart
helm-chart/renku/requirements.lock

# Charts dependencies downloads
helm-chart/renku/charts

# Created by https://www.gitignore.io/api/vim,macos,linux,emacs,scala,python,visualstudiocode,helm
# Edit at https://www.gitignore.io/?templates=vim,macos,linux,emacs,scala,python,visualstudiocode,helm

Expand Down
2 changes: 1 addition & 1 deletion cypress-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Here is a list of the environment variables that you should set in the
| TEST_LAST_NAME | Last name. |
| TEST_USERNAME | Username. Usually, it's the email without the domain. |

> Tip: you might prefer _not_ to save you password in plain text in the `cypress.env.json`
> Tip: you might prefer _not_ to save your password in plain text in the `cypress.env.json`
> file.

## Integration with CI pipeline
Expand Down
2 changes: 1 addition & 1 deletion cypress-tests/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Timeouts for cypesss in miliseconds
// Timeouts for Cypress in milliseconds
export const TIMEOUTS = {
minimal: 1_000,
shorter: 2_000,
Expand Down
Loading
Loading