Repository navigation
Add frontend variant as session label - #1455
Conversation
Coverage Report for CI Build 36882444583Warning No base build found for commit Coverage: 85.29%Details
Uncovered Changes
Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
|
You can access the deployment of this PR at https://renku-ci-ds-1455.dev.renku.ch |
2e3882f to
5b0fefa
Compare
5b0fefa to
c51137d
Compare
c51137d to
e8cc3fa
Compare
leafty
left a comment
There was a problem hiding this comment.
See: SwissDataScienceCenter/amalthea#1230 (comment)
This is bad design: it is non-extensible and non-flexible. Add SSH into the amalthea spec.
Also, to be clear: the issue is not adding a new label, it is that the AmaltheaSession behavior should be dictated by the spec and not labels/annotations. |
83a697e to
0826723
Compare
ca14d5b to
81472fc
Compare
b7fe810 to
5f7d4f8
Compare
6293222 to
3c23bec
Compare
We now don't use the label in amalthea. We return a ssh url in the session responso to transport the details for how to connect. #1467 |
3c23bec to
4f6be2a
Compare
5f7d4f8 to
038bada
Compare
038bada to
1c452f7
Compare
The labels do not drive the behaviour of amalthea anymore. They are there for information purposes only. Subsequent PRs will provide information on how to connect to the SSH server. So all the comments have been addressed.
|
Tearing down the temporary RenkuLab deployment for this PR. |
* Add frontend variant as session label * Don't comment on the pr due to token issue * Return frontend_variant with session details * reactivate pr comment * Add ssh to the frontend options * Extend builder-frontend combination * Add test for ssh build * Change frontend_variant label on patch
Add the frontend variant to the session details. It will be also added as a label to the session k8s resource. This is later used to decide whether ssh specific configuration is added to the resource.
PR Stack
/deploy #notest extra-values=sshProxy.targetUser=renku,sshProxy.targetPort=2222,dataService.imageBuilders.enabled=true,dataService.imageBuilders.strategyName=renku-buildpacks-v3,dataService.imageBuilders.outputImagePrefix=harbor.dev.renku.ch/renku-build/,dataService.imageBuilders.nodeSelector.renku.io/node-purpose=user,dataService.imageBuilders.tolerations[0].effect=NoSchedule,dataService.imageBuilders.tolerations[0].key=renku.io/dedicated,dataService.imageBuilders.tolerations[0].operator=Equal,dataService.imageBuilders.tolerations[0].value=user amalthea-sessions=salimkayal/feat/2222-service-in-ssh-sessions renku-ui=lorenzo/ssh-keys-required renku=eikek/ssh-buildpack-update