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

feat: modify charts and tests for new UI release #2665

Merged
merged 8 commits into from
Jul 27, 2022

Conversation

lorenzo-cavazzi
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi commented Jul 25, 2022

/deploy #persist

@lorenzo-cavazzi lorenzo-cavazzi requested review from a team as code owners July 25, 2022 13:21
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 25, 2022 13:21 Inactive
@RenkuBot
Copy link
Collaborator

You can access the deployment of this PR at https://ci-renku-2665.dev.renku.ch

@lorenzo-cavazzi lorenzo-cavazzi force-pushed the 000-fix-acceptance-tests branch from c175ee5 to 922516c Compare July 25, 2022 15:20
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 25, 2022 15:37 Inactive
@olevski
Copy link
Member

olevski commented Jul 25, 2022

@lorenzo-cavazzi can you isolate the fix to the acceptance tests from the ui chart update? Because it seems to me that this PR tries to do both in one. But perhaps I am confused.

@lorenzo-cavazzi
Copy link
Member Author

Sorry for the mess, this includes the first 3 commits from here #2643 and the others are the fixes -- but it works only with the latest (yet unreleased) UI version.
I'll try to clean up tomorrow if all the tests pass (both here and in the UI PRs 🤞 )

@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 25, 2022 16:44 Inactive
@olevski
Copy link
Member

olevski commented Jul 25, 2022

@lorenzo-cavazzi no problem. I just wanted to make sure it wasn't accidental. You dont have to bother cleaning up. We can just merge this after the other PR you mentioned gets merged.

@lorenzo-cavazzi lorenzo-cavazzi changed the title 000 fix acceptance tests feat: modify charts and tests for new UI release Jul 26, 2022
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 11:42 Inactive
olevski
olevski previously approved these changes Jul 26, 2022
@olevski olevski temporarily deployed to ci-renku-2665 July 26, 2022 14:13 Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 14:45 Inactive
olevski
olevski previously approved these changes Jul 26, 2022
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 15:02 Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 20:09 Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 21:43 Inactive
@lorenzo-cavazzi lorenzo-cavazzi force-pushed the 000-fix-acceptance-tests branch from 81cbab5 to 641d5ac Compare July 26, 2022 21:55
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 26, 2022 21:55 Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to ci-renku-2665 July 27, 2022 05:47 Inactive
baseUrl: https://{renku_domain}
gatewayUrl: https://{renku_domain}/api
client:
uiserverUrl: https://{renku_domain}/ui-server
Copy link
Member

Choose a reason for hiding this comment

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

I don't see this set in the default values in the renku chart - why is it set here? Seems like this default should either be set on the component chart or at least on the renku chart.

Copy link
Member

Choose a reason for hiding this comment

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

But more importantly, can't this always be built from the information contained in the ui.server.serverData values? Since the two charts are now unified, you shouldn't need to declare this manually.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you mean we should add it (commented) to helm-chart/renku/values.yaml ? Or we should drop it since it's set as a default in the UI values? If it's the latter, then we should probably drop baseUrl and gatewayUrl too since the default is already derived from ui.protocol and .Values.global.renku.domain.

Copy link
Member Author

@lorenzo-cavazzi lorenzo-cavazzi Jul 27, 2022

Choose a reason for hiding this comment

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

can't this always be built from the information contained in the ui.server.serverData values?

Yes, we can unify some of the values from client and server but that requires a bit more work since the URLs are built in different ways and it would make sense to unify the logic -- should I make an issue in the UI to take care of that?

Copy link
Member

Choose a reason for hiding this comment

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

yes please do, there is certainly an opportunity here to reduce redundancy

Copy link
Member

Choose a reason for hiding this comment

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

drop as much as possible from this template (but make sure it still yields a usable values file) because it's meant as a first exposure for someone deploying renku

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the issue in the UI SwissDataScienceCenter/renku-ui#1976

I removed all the values except the welcomePage since they are not strictly needed.

pameladelgado
pameladelgado previously approved these changes Jul 27, 2022
Copy link
Contributor

@pameladelgado pameladelgado left a comment

Choose a reason for hiding this comment

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

🚀

@lorenzo-cavazzi lorenzo-cavazzi merged commit a5ba90b into master Jul 27, 2022
@lorenzo-cavazzi lorenzo-cavazzi deleted the 000-fix-acceptance-tests branch July 27, 2022 08:34
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.

7 participants