Skip to content

Passing commit references to config.show doesn't work as expected #3649

Description

@lorenzo-cavazzi

Describe the bug
The GET /config.show endpoint has a parameter called branch that (thanks to #3579) should accept all valid references.
It doesn't seem to work correctly. Here is an example that should return 0 CPU instead of 8 CPU
https://dev.renku.ch/ui-server/api/renku/10/config.show?branch=b44d8b8bca27d5e0c271083c57b17861ef370624&git_url=https%3A%2F%2Fgitlab.dev.renku.ch%2Fflora.thiebaut%2Fa-playground-project
Using the branch (test-settings) also leads to the same result; it seems that the field is ignored.

Link to project
If possible, provide a public renkulab link to the project with the bug.

To Reproduce
Use the link above; the project is just an example. It should be easy to reproduce this by playing around with the project config.

Run environment (please complete the following information):
Tested on dev.renku.ch where the renku-core version is v2.7.0

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions