Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from auto-update/renku-core-2.9.2 #3509

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7a22ed4
chore: create release 0.48.x
RenkuBot Jan 23, 2024
606cac4
Merge branch 'master' into release-0.48.x
rokroskar Jan 23, 2024
f24f176
Merge changes from master back in to 0.48.x (#3458)
ciyer Feb 5, 2024
7737e6f
chore: updating renku-core version to 2.9.2
RenkuBot Feb 7, 2024
3a76d47
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
Panaetius Feb 7, 2024
bdf6886
chore: create release release-0.48.x
RenkuBot Feb 7, 2024
56cfa01
chore: create release 0.49.0
RenkuBot Feb 7, 2024
4f6dc72
chore: bump ui version to 3.20.0
lorenzo-cavazzi Feb 7, 2024
782133f
chore: bump cypress-io/github-action from 5 to 6
lorenzo-cavazzi Feb 7, 2024
8c2520e
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
Panaetius Feb 8, 2024
30ca4b3
build: make configuration of privacy policy more flexible
ciyer Jan 29, 2024
a0ca853
build: update to latest renku/keycloak-theme
leafty Feb 8, 2024
477be37
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
rokroskar Feb 9, 2024
db5420d
fix(cypress): fix the checkWorkflows test (#3488)
leafty Feb 9, 2024
9d1a8d7
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
rokroskar Feb 9, 2024
a213c25
chore: bump csi-rclone (#3492)
Panaetius Feb 12, 2024
f86186f
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
leafty Feb 12, 2024
8789034
Update from auto-update/renku-ui-3.20.1 (#3485)
RenkuBot Feb 12, 2024
dfec43b
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
Panaetius Feb 12, 2024
6581f61
chore: logback update to 1.5.0 (#3500)
jachro Feb 19, 2024
e69ab29
chore: scalafmt and selenium-java upgrades (#3504)
jachro Feb 20, 2024
ad977b3
Merge branch 'release-0.49.0' into auto-update/renku-core-2.9.2
Panaetius Feb 21, 2024
8079be1
chore: create release 0.49.0
RenkuBot Feb 7, 2024
89811a8
chore: logback update to 1.5.0 (#3500)
jachro Feb 19, 2024
924369b
chore: scalafmt and selenium-java upgrades (#3504)
jachro Feb 20, 2024
c305b5f
Merge branch 'release-0.49.0' into auto-update/renku-core-2.9.2
Panaetius Feb 21, 2024
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
40 changes: 27 additions & 13 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
.. _changelog:

0.49.0
------

This release contains bug fixes to renku core service related to project migration.

User-Facing Changes
~~~~~~~~~~~~~~~~~~~

**🐞 Bug Fixes**

- **Core Service**: Fix issue with having to run project migration twice to migrate the Dockerfile/project template.
(`#3690 <https://github.com/SwissDataScienceCenter/renku-python/issues/3690>`__)

Individual Components
~~~~~~~~~~~~~~~~~~~~~

- `renku-python 2.9.2 <https://github.com/SwissDataScienceCenter/renku-python/releases/tag/2.9.2>`_

0.48.1
------

Expand All @@ -12,9 +30,6 @@ can be customized by administrators.
Renku ``0.48.0`` introduces the ability to add a Terms of Use and Privacy Policy to
RenkuLab, as well as an assortment of small improvements and bug-fixes.

User-Facing Changes
~~~~~~~~~~~~~~~~~~~

**🌟 New Features**

- 📜 **UI**: Show terms of use and privacy policy in the help section
Expand Down Expand Up @@ -51,7 +66,6 @@ Individual components
- `renku-ui 3.20.1 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.20.1>`_
- `renku-ui 3.20.0 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.20.0>`_


0.47.1
------

Expand All @@ -65,11 +79,11 @@ It doesn't bring any new features or bug fixes.
This release expands Renku's cloud storage functionality in two key ways: First, mounted storages
are now read **and write**, so you can use mounted storage as an active workspace for your data in a RenkuLab
session. Second, we have expanded the cloud storage services you can integrate with RenkuLab. You can now
mount not only S3 buckets, but also WebDAV-based storages and Azure Blobs.
mount not only S3 buckets, but also WebDAV-based storages and Azure Blobs.

If you use SSH sessions via the CLI, you can use cloud storage there too! Configure cloud storage for your
project on RenkuLab.io, and those storages will be mounted in your remote session. Support for cloud
storage in local Renku sessions is still on our roadmap.
storage in local Renku sessions is still on our roadmap.

This release also adds the ability to change which resource class your session uses when you unpause the
session, in case the original resource class is now full.
Expand Down Expand Up @@ -200,15 +214,15 @@ Internal Changes
Individual components
~~~~~~~~~~~~~~~~~~~~~

- `renku-python 2.8.2 <https://github.com/SwissDataScienceCenter/renku-python/releases/tag/2.8.2>`_
- `renku-python 2.8.2 <https://github.com/SwissDataScienceCenter/renku-python/releases/tag/2.8.2>`_
- `renku-ui 3.17.2 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.17.2>`_
- `renku-graph 2.48.2 <https://github.com/SwissDataScienceCenter/renku-graph/releases/tag/2.48.2>`_
- `renku-graph 2.48.2 <https://github.com/SwissDataScienceCenter/renku-graph/releases/tag/2.48.2>`_


0.45.1
------
This is a bugfix release that updates the helm chart to work with new
prometheus metrics in the renku core service, which was preventing it from
This is a bugfix release that updates the helm chart to work with new
prometheus metrics in the renku core service, which was preventing it from
starting properly if metrics were enabled. In addition this release
also addresses problems with expiring Gitlab access tokens when sessions
are paused and resumed which caused resumed session to not be able to push to Gitlab
Expand All @@ -219,8 +233,8 @@ Internal Changes

**🐞 Bug Fixes**

- **Helm Chart**: update core-service deployment to allow service and rq
metrics to run side-by-side (`#3303
- **Helm Chart**: update core-service deployment to allow service and rq
metrics to run side-by-side (`#3303
<https://github.com/SwissDataScienceCenter/renku/pull/3303>`_).
- **Notebooks**: use a larger /dev/shm folder in sessions
(`#1723 <https://github.com/SwissDataScienceCenter/renku-notebooks/issues/1723>`_)
Expand Down
2 changes: 1 addition & 1 deletion acceptance-tests/.scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.17"
version = "3.8.0"

runner.dialect = "scala213"

Expand Down
4 changes: 2 additions & 2 deletions acceptance-tests/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ publishTo := Some(Resolver.file("Unused transient repository", file("target/unus

val circeVersion = "0.14.6"

libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.14"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.5.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.17.5" % Test
libraryDependencies += "eu.timepit" %% "refined" % "0.11.1" % Test
libraryDependencies += "io.circe" %% "circe-core" % circeVersion % Test
Expand All @@ -43,7 +43,7 @@ libraryDependencies += "org.scalacheck" %% "scalacheck"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test
libraryDependencies += "org.scalatestplus" %% "selenium-4-1" % "3.2.12.1" % Test
libraryDependencies += "org.seleniumhq.selenium" % "selenium-http-jdk-client" % "4.13.0" % Test
libraryDependencies += "org.seleniumhq.selenium" % "selenium-java" % "4.17.0" % Test
libraryDependencies += "org.seleniumhq.selenium" % "selenium-java" % "4.18.1" % Test
libraryDependencies += "org.slf4j" % "slf4j-log4j12" % "2.0.11" % Test
libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.3" % Test
libraryDependencies += "org.typelevel" %% "cats-effect-testing-scalatest" % "1.5.0" % Test
Expand Down
141 changes: 77 additions & 64 deletions cypress-tests/cypress/e2e/useSession.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,74 +233,87 @@ describe("Basic public project functionality", () => {
return;
}

cy.stopAllSessionsForProject(projectIdentifier);
cy.intercept("/ui-server/api/data/storage*").as("getProjectCloudStorage");
cy.getDataCy("cloud-storage-section")
.find("button")
.contains("Add Cloud Storage")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-header")
.contains("Add Cloud Storage")
.should("be.visible");

cy.getProjectSection("Settings").click();
cy.getDataCy("settings-navbar")
.contains("a.nav-link", "Cloud Storage")
cy.getDataCy("cloud-storage-edit-schema")
.contains("s3")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-providers")
.contains("AWS")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-next-button").should("be.visible").click();

cy.getDataCy("cloud-storage-edit-options").should("be.visible");
cy.get("#sourcePath").should("have.value", "").type("giab");
cy.get("#endpoint")
.should("have.value", "")
.type("http://s3.amazonaws.com");
cy.getDataCy("cloud-storage-edit-next-button").should("be.visible").click();

cy.getDataCy("cloud-storage-edit-mount").should("be.visible");
cy.get("#name").should("have.value", "").type("data_s3");
cy.get("#mountPoint")
.should("have.value", "external_storage/data_s3")
.type("{selectAll}data_s3");
cy.get("#readOnly").should("not.be.checked").check();

cy.getDataCy("cloud-storage-edit-update-button")
.should("be.visible")
.contains("Add")
.click();

// Add a S3 storage configuration if it doesn't exist
cy.wait("@getProjectCloudStorage").then(({ response }) => {
const storages = response.body as { storage: { name: string } }[];
if (storages.find(({ storage }) => storage.name === "data_s3")) {
return;
}

cy.getDataCy("cloud-storage-section")
.find("button")
.contains("Add Cloud Storage")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-header")
.contains("Add Cloud Storage")
.should("be.visible");

cy.getDataCy("cloud-storage-edit-schema")
.contains("s3")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-providers")
.contains("AWS")
.should("be.visible")
.click();
cy.getDataCy("cloud-storage-edit-next-button")
.should("be.visible")
.click();

cy.getDataCy("cloud-storage-edit-options").should("be.visible");
cy.get("#sourcePath").should("have.value", "").type("giab");
cy.get("#endpoint")
.should("have.value", "")
.type("http://s3.amazonaws.com");
cy.getDataCy("cloud-storage-edit-next-button")
.should("be.visible")
.click();

cy.getDataCy("cloud-storage-edit-mount").should("be.visible");
cy.get("#name").should("have.value", "").type("data_s3");
cy.get("#mountPoint")
.should("have.value", "external_storage/data_s3")
.type("{selectAll}data_s3");
cy.get("#readOnly").should("not.be.checked").check();

cy.getDataCy("cloud-storage-edit-update-button")
.should("be.visible")
.contains("Add")
.click();

cy.getDataCy("cloud-storage-edit-body").contains(
"storage data_s3 has been succesfully added"
);
cy.getDataCy("cloud-storage-edit-close-button")
.should("be.visible")
.click();
});

cy.getDataCy("more-menu").should("be.visible").click();
cy.getProjectPageLink(projectIdentifier, "sessions/new")
cy.getDataCy("cloud-storage-edit-body").contains(
"storage data_s3 has been succesfully added"
);
cy.getDataCy("cloud-storage-edit-close-button")
.should("be.visible")
.click();

// Wait for the image to be ready and start a session
cy.get(".renku-container")
.contains("A session gives you an environment")
.should("exist");
cy.get(".renku-container .badge.bg-success", { timeout: TIMEOUTS.vlong })
.contains("available")
.should("exist");
cy.getDataCy("cloud-storage-item").contains("data_s3").should("exist");
cy.get("#cloud-storage-data_s3-active").should("be.checked");
cy.get(".renku-container button.btn-secondary", { timeout: TIMEOUTS.long })
.contains("Start Session")
.should("exist")
.click();
cy.get(".progress-box .progress-title").should("exist"); //.contains("Step 2 of 2");
cy.get("button")
.contains(projectTestConfig.projectName)
.should("be.visible");
cy.get(".progress-box .progress-title")
.contains("Starting Session")
.should("exist");
cy.get(".progress-box .progress-title", { timeout: TIMEOUTS.vlong }).should(
"not.exist"
);

// Verify that the S3 data is mounted
cy.getIframe("iframe#session-iframe").within(() => {
cy.get(".jp-DirListing-content", { timeout: TIMEOUTS.long }).should(
"be.visible"
);
cy.get(".jp-DirListing-item")
.contains("data_s3")
.should("be.visible")
.dblclick();

cy.get(".jp-DirListing-item")
.contains("README.s3_structure")
.should("be.visible")
.first()
.click();
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ global:
fullnameOverride: ""
image:
repository: renku/renku-core
tag: "v2.9.1"
tag: "v2.9.2"
pullPolicy: IfNotPresent
uiserver:
## The client secret for the renku-ui client application registered in keycloak.
Expand Down Expand Up @@ -1512,4 +1512,4 @@ affinity: {}
versions:
latest:
image:
tag: v2.9.1
tag: v2.9.2
Loading