Skip to content

Configure data-services to connect to solr - #3918

Merged
eikek merged 4 commits into
release-0.65.0from
build/search-migration-part1
Feb 28, 2025
Merged

eikek merged 4 commits into
release-0.65.0from
build/search-migration-part1

Conversation

@eikek

@eikek eikek commented Feb 21, 2025

Copy link
Copy Markdown
Member

/deploy

@RenkuBot

Copy link
Copy Markdown
Collaborator

@eikek
eikek marked this pull request as ready for review February 21, 2025 13:39
@eikek
eikek requested a review from a team as a code owner February 21, 2025 13:39
@eikek
eikek marked this pull request as draft February 21, 2025 13:39
@eikek
eikek force-pushed the build/search-migration-part1 branch from f78951c to eb27919 Compare February 28, 2025 12:35
@eikek
eikek marked this pull request as ready for review February 28, 2025 12:36
@eikek
eikek requested a review from a team as a code owner February 28, 2025 13:28

@rokroskar rokroskar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @eikek !

Comment thread helm-chart/values.yaml.changelog.md Resolved
Comment thread CHANGELOG.rst Resolved
@eikek

eikek commented Feb 28, 2025

Copy link
Copy Markdown
Member Author

Thanks!!

@eikek
eikek merged commit e831264 into release-0.65.0 Feb 28, 2025
@eikek
eikek deleted the build/search-migration-part1 branch February 28, 2025 14:00
Comment on lines +101 to +102
- name: SOLR_CORE
value: {{ index .Values.solr.coreNames 1 }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break when someone overrides the helm values with the wrong number of core names.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I know; or the order is changed etc. It's crazy. I did it analogous to what already exists (the other core was picked by a first template function…). This whole yaml programming stuff is a giant mess to me anyways 😅 The plan is to phase out one of them eventually.

Panaetius pushed a commit that referenced this pull request Mar 4, 2025
* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* feat: Define some more sensible defaults.

* feat: Configure data-services to connect to solr (#3918)

* chore(ci): update renku actions to v1.14.1 (#3927)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* chore: update renku-ui to 3.47.0 (#3930)

* revert: Configure data services to connect to solr

Refs: e831264

* tests: add cypress tests for Renku 2.0 (#3879)

* Add prettier and update linter configuration
* Fix setting up baseUrl when running on cli
* Test project basic operations: create, edit, delete (#3881, #3908)
* Test working on groups: create, edit, delete (#3883, #3908)
* Test project resources -- code, data, environments (#3894)
* Test search entities (#3904)
* Test anonymous users navigation (#3906)
* Test running sessions (#3912)
* Update the cypress tests readme file (#3884)
* Split v2 and legacy cypress tests, improve naming (#3926)

---------

Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Rok Roškar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Alessandro Degano <[email protected]>
Co-authored-by: eikek <[email protected]>
Co-authored-by: Chandrasekhar Ramakrishnan <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
leafty added a commit that referenced this pull request Mar 11, 2025
* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat!: define a custom environment from a repository

* update values.yaml to define whether image builds are enabled

* update the permissions of the data-services k8s service account

* fix rbac typo

* update the data services config

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* update for k8s caching (#3910)

Add support caching buildruns and taskruns.

---------

Co-authored-by: Ralf Grubenmann <[email protected]>

* define retention parameters (#3913)

* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* feat: Define some more sensible defaults.

* feat: support node selectors and tolerations for buildruns (#3920)

* feat: allow setting timeouts for builds (#3922)

* add comments for the new values

* feat: Configure data-services to connect to solr (#3918)

* chore(ci): update renku actions to v1.14.1 (#3927)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* chore: create release 0.66.0

* adjust for 0.66

* build: bump renku-notebooks to 1.29.0

* fix merge

* Update data-cy for session launcher form

* build: bump renku-data-services to 0.35.0

* build: bump renku-notebooks to 1.29.1

* build: bump renku-ui to 3.48.0

* squashme: clarify dependence on Shipwright

* add shipwright version qualifier

* update changelog

* spelling

* chore: no secret cabal

* fix: make the helm charts work when the feature is not enabled (#3941)

* update CHANGELOG.rst

* Update CHANGELOG.rst

Co-authored-by: Ralf Grubenmann <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Renku Bot <[email protected]>
Co-authored-by: RenkuBot <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Alessandro Degano <[email protected]>
Co-authored-by: Ralf Grubenmann <[email protected]>
Co-authored-by: eikek <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Rok Roškar <[email protected]>
olevski pushed a commit that referenced this pull request Mar 25, 2025
* feat: Configure data-services to connect to solr (#3918)

* Hardcode new core name
olevski added a commit that referenced this pull request Mar 25, 2025
* chore: create release 0.67.0

* chore(ci): update renku actions to v1.16.0 (#3945)

* chore: bump renku-actions to 1.17.0 (#3958)

* test: add a custom check for 2.0 infrastructure (#3955)

Co-authored-by: Flora Thiebaut <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>

* feat: data connector authorization, use private gitlab images (#3959)

* feat: update amalthea to 0.18.1

* feat: update ui to 3.51.0, data services to 0.37.0

* feat: enable migrate project with private images from the Renku Gitlab registry  from Renku V1 to Renku 2.0 (#3961)

* chore: update missing renku-ui 3.52.0 individual component in changelog

* feat: Enable accessing solr from data-services (#3939)

* feat: Configure data-services to connect to solr (#3918)

---------

Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Flora Thiebaut <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Andrea Cordoba <[email protected]>
Co-authored-by: eikek <[email protected]>
olevski added a commit that referenced this pull request May 13, 2025
* chore: create release 0.65.0

* chore(ci): update renku actions to v1.14.0 (#3886)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* fix: update csi rclone to 0.3.6 (#3889)

* chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /cypress-tests (#3888)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /cypress-tests (#3840)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>

* Merge branch 'master' into release-0.65.0 (#3895)

* feat(helm): Make Jena passwords optional in values file.

This commit continues on the topic of making the definition
of the secrets in the values files optional, to simplify CI
deployments.

As previous similar commits this change supports:

- Existing deployments where the secret is defined will
keep working as usual

- New deployments where the secret is defined will keep
working as they did before this change

- New deployments where the secret is NOT defined will
get 2 random passwords which will be persisted across
upgrades/redeployments

The three scenarios have been manually tested.

* feat: Make Redis and OIDC client secrets optional.

These are the last two secrets that were needed to be generated
out-of-bands before deploying Renkulab.

Thus the `generate-values` script is not really necessary anymore
and in its place there is a `minimal-deployment` values file that
in a future commit will also be used as a base for CI deployments.

The documentation has been updated to reflect the removal of the
script.

Further cleanup and simplification of the Helm chart will result
in a smaller and simpler minimum-deployment file, with the ultimate
goal of being able to issue `helm install renku/renku` resulting
in a functioning development deployment.

* feat: Define some more sensible defaults.

* feat: Configure data-services to connect to solr (#3918)

* chore(ci): update renku actions to v1.14.1 (#3927)

Co-authored-by: Lorenzo Cavazzi <[email protected]>

* chore: update renku-ui to 3.47.0 (#3930)

* revert: Configure data services to connect to solr

Refs: e831264

* tests: add cypress tests for Renku 2.0 (#3879)

* Add prettier and update linter configuration
* Fix setting up baseUrl when running on cli
* Test project basic operations: create, edit, delete (#3881, #3908)
* Test working on groups: create, edit, delete (#3883, #3908)
* Test project resources -- code, data, environments (#3894)
* Test search entities (#3904)
* Test anonymous users navigation (#3906)
* Test running sessions (#3912)
* Update the cypress tests readme file (#3884)
* Split v2 and legacy cypress tests, improve naming (#3926)

---------

Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Rok Roškar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Roškar <[email protected]>
Co-authored-by: Alessandro Degano <[email protected]>
Co-authored-by: eikek <[email protected]>
Co-authored-by: Chandrasekhar Ramakrishnan <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
olevski added a commit that referenced this pull request May 13, 2025
* chore: create release 0.67.0

* chore(ci): update renku actions to v1.16.0 (#3945)

* chore: bump renku-actions to 1.17.0 (#3958)

* test: add a custom check for 2.0 infrastructure (#3955)

Co-authored-by: Flora Thiebaut <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>

* feat: data connector authorization, use private gitlab images (#3959)

* feat: update amalthea to 0.18.1

* feat: update ui to 3.51.0, data services to 0.37.0

* feat: enable migrate project with private images from the Renku Gitlab registry  from Renku V1 to Renku 2.0 (#3961)

* chore: update missing renku-ui 3.52.0 individual component in changelog

* feat: Enable accessing solr from data-services (#3939)

* feat: Configure data-services to connect to solr (#3918)

---------

Co-authored-by: Lorenzo Cavazzi <[email protected]>
Co-authored-by: Flora Thiebaut <[email protected]>
Co-authored-by: Tasko Olevski <[email protected]>
Co-authored-by: Andrea Cordoba <[email protected]>
Co-authored-by: eikek <[email protected]>

This branch was successfully deployed

1 active deployment
ci-renku-3918 — 691b4251 Deployed Feb 28, 2025 by eikek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants