Skip to content

feat(devbox): Bootstrap code #2452

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

* feat(devbox): Bootstrap code.
Figuring out the workfow.

* feat(devboxes): create a directory called devboxes inside /home/frappe/

* fix(devbox): add property job setter

* feat(devboxes): Added Jobs and made changes to the Devbox doctype

* feat(devbox): process job updates. added few doctype fields as well to track the same

* feat(devboxes): tracking machine status

* feat(devbox): add go to devbox link on desk

* feat(devboxes): persist websockify port on sucessful running

* fix(devbox): sync status

* fix(devbox): process job updates

* fix(ruff): ci was breaking

* style(ruff): was breaking ci

* feat(devboxes): wip added dockerfile to build devboxes

* feat(devboxes): install bench dependencies

* fix(devbox image): working image with proper perms

* fix(devbox-image): remove fiile

* feat(devbox-image): with athuentication a truntime

* chore(devbox): readme

* chore(devbox): readme

* chore(devbox): readme

* chore(devbox): readme

* feat(devboxes):  adding code server and made changes to desk spin up commands

* chore(devboxes): send all required params to start devbox

* feat(ui): Add DevBoxes in side bar

* chore(devbox): code-server-auth

* feat(devbox): store docker volume sizes

* feat(devbox): sync all devboxes

* feat(devbox): Destroy Devbox

* chore(Devbox): added team field and rearranged fields

* fix(devbox) : check for domain existence while new site and new devbox

* chore(devbox): field cleanups

* fix(devbox): no need to run bench role if said server is a devbox server

* fix(devbox): sane port assignmnet, remove dumb methods, more precise sync logic

* fix(merge-conflict): Re-added omitted code which somehow got deleted before.

* fix(devbox): added agent job as fixtures and fixed lint issues with team.py doctype

* feat(devboxes): Added new doctype devbox image to track images

* feat(devbox): Link devbox to devbox image doctype

* fix(devbox): Fetch all servers that are not devbox servers

* ci: Update .cspell.json

* fix(proxy): added flag for proxy being solely for devbox xluster

* feat(devbox): add cluster field and create dns record

* fix(ruff): Reverting untouched files

* fix(ruff) Formatting bench_dependency

* fixUpdate role.json

* fix(ruff): Reverting untouched files
@arunmathaisk arunmathaisk changed the title feat(devbox): Bootstrap code. feat(devbox): Bootstrap code Jan 30, 2025
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 31.03448% with 100 lines in your changes missing coverage. Please review.

Project coverage is 37.82%. Comparing base (01d13a1) to head (8b9d4e3).
Report is 23 commits behind head on master.

Files with missing lines Patch % Lines
press/press/doctype/devbox/devbox.py 28.97% 76 Missing ⚠️
press/press/doctype/devbox_image/devbox_image.py 0.00% 11 Missing ⚠️
press/press/doctype/devbox/devbox_helper.py 40.00% 6 Missing ⚠️
press/press/doctype/server/server.py 28.57% 5 Missing ⚠️
press/press/doctype/agent_job/agent_job.py 75.00% 2 Missing ⚠️

❌ Your patch check has failed because the patch coverage (31.03%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2452      +/-   ##
==========================================
- Coverage   37.99%   37.82%   -0.17%     
==========================================
  Files         385      391       +6     
  Lines       30654    31031     +377     
==========================================
+ Hits        11646    11739      +93     
- Misses      19008    19292     +284     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -143,6 +143,13 @@ export default {
),
disabled: enforce2FA
},
{
name: 'Dev Boxes',
Copy link
Member

Choose a reason for hiding this comment

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

maybe have this inside dev tools?

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.

2 participants