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

Development environment for containerized Teaclave services #560

Open
bigdata-memory opened this issue Oct 4, 2021 · 2 comments
Open

Development environment for containerized Teaclave services #560

bigdata-memory opened this issue Oct 4, 2021 · 2 comments
Labels
question Further information is requested

Comments

@bigdata-memory
Copy link
Contributor

I found there seems no straightforward way to prepare a development environment for containerized Teaclave services. I think it could improve the collaboration efficiency and dev. productivity if we can streamline it using standard approaches with comprehensive documentation.
Firstly, I often use Emacs to develop, so those bother me don’t necessarily apply to developers who use other IDE at all, e.g. VS.
I lists my consideration here for your reference, perhaps, we may identify some more associated opportunities later.

  1. Adding both trusted and untrusted parts of code tags to LSP system.
  2. Containerizing the Teaclave source code in a local docker volume instead of host FS.
  3. Containerizing development tools e.g. Emacs, VS in a development container mounted with Teaclave source code volume.
  4. The Build Container can rebuild the topic branch triggered by the changes from development container.
  5. The RT containers could reuse the same containers images for different service.
  6. The RT service containers can be instructed or automatically detect the service binaries updates to roll up in dev. mode.
@bigdata-memory bigdata-memory added the question Further information is requested label Oct 4, 2021
@mssun
Copy link
Member

mssun commented Oct 12, 2021

Thanks for raising this issue.

Yes, this is very important for all collaborators. Currently, we only have a simple document about some tips for Teaclave development: https://teaclave.apache.org/docs/development-tips/.

@bigdata-memory
Copy link
Contributor Author

The crate cmake is capable to manage the build of native code well. it looks possible to address the problem of separated rust codes in LSP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants