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: exposing kurtosis frontend v0 #833

Merged
merged 8 commits into from Jul 11, 2023
Merged

Conversation

Peeeekay
Copy link
Contributor

@Peeeekay Peeeekay commented Jul 6, 2023

This PR just exposes the current to the user:

  1. I have frontend directory in engine/fronted/...
  2. the build artifacts generated by the frontend using npm build are stored in engine/server/engine/dist
  3. these are copied over to engine dockerfile, and are exposed on port 9711..

The frontend build artifacts step is manual at the moment; will include this in build process in upcoming PR(s).
This is only working with docker backend at the moment; will make it work with k8s in upcoming PRs .

This is not backward compatible; that is frontend would not work with enclaves created before 0.80.8

@Peeeekay Peeeekay marked this pull request as ready for review July 10, 2023 18:54
@Peeeekay Peeeekay requested review from gbouv and removed request for laurentluce July 10, 2023 18:54
@adschwartz
Copy link
Contributor

is there a reason you chose javascript over typescript? I'd think we would prefer ts unless there's a strong reason why not?

@Peeeekay
Copy link
Contributor Author

is there a reason you chose javascript over typescript? I'd think we would prefer ts unless there's a strong reason why not?

The frontend code is pretty simple, and adding typescript will be just an overkill imo. I would def. need to refactor some of the js code to make it more maintainable at that time, I can use typescript.
For initial versions, I believe javascript is fine as in my experience typescript is very good for backend but for most frontends ( generally aren't super complex, mostly async requests and state management for those cases, javascript works well.

@Peeeekay Peeeekay requested a review from adschwartz July 11, 2023 18:21
@Peeeekay Peeeekay merged commit 110e910 into main Jul 11, 2023
29 checks passed
@Peeeekay Peeeekay deleted the pk/add_kurtosis_frontend branch July 11, 2023 22:07
Peeeekay pushed a commit that referenced this pull request Jul 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.80.8](0.80.7...0.80.8)
(2023-07-11)


### Features

* auto assign docs issue to karla
([#834](#834))
([7d0a245](7d0a245))
* exposing kurtosis frontend v0
([#833](#833))
([110e910](110e910))
* Make Run also accept argument other than args dict
([#859](#859))
([9fce411](9fce411))


### Bug Fixes

* fixed the output for port print
([#816](#816))
([ede32e7](ede32e7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <kurtosisbot@users.noreply.github.com>
@mieubrisse mieubrisse restored the pk/add_kurtosis_frontend branch July 14, 2023 20:07
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.

None yet

3 participants