Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e735038
feat(build): Diff docker commits
Aradhya-Tripathi May 24, 2026
675173f
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 24, 2026
a082c41
fix(build): In case of app changes don't allow instant builds
Aradhya-Tripathi May 25, 2026
1745b15
feat(build): Ensure instant deploy is not default
Aradhya-Tripathi May 25, 2026
26fd075
feat(build): Realtime output streaming for instant builds
Aradhya-Tripathi May 25, 2026
3852e93
feat(build): Only show instant build option if supported
Aradhya-Tripathi May 25, 2026
228dff5
feat(build): Integrate instant deploys with new flow
Aradhya-Tripathi May 25, 2026
afac644
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 25, 2026
1905914
chore(build): Rename as patch build
Aradhya-Tripathi May 25, 2026
743fbb3
fix(build): Ensure no race conditions occur when patch building
Aradhya-Tripathi May 25, 2026
afb6ee9
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 25, 2026
89cd38a
Update press/press/doctype/bench_update/bench_update.py
Aradhya-Tripathi May 25, 2026
7a468d6
Update press/press/doctype/release_pipeline/release_pipeline.py
Aradhya-Tripathi May 25, 2026
dee58d2
chore(build): Gracefully handle suspended builds when patch deploying
Aradhya-Tripathi May 25, 2026
99e9d4c
feat(test): Add tests for when the patch build can be run
Aradhya-Tripathi May 26, 2026
265b6e6
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 26, 2026
f574d32
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 26, 2026
ae06445
feat(build): Better modal for patch update
Aradhya-Tripathi May 26, 2026
8867637
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 26, 2026
ea6e3ec
fix(test): Magic Mock magic
Aradhya-Tripathi May 27, 2026
2c9144c
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 27, 2026
73cf680
Merge branch 'develop' into quick-builds
Aradhya-Tripathi May 27, 2026
c8dd9e6
Merge branch 'develop' into quick-builds
Aradhya-Tripathi Jun 2, 2026
bdc7a6c
fix(build): Merge conflict
Aradhya-Tripathi Jun 2, 2026
63dfa0f
Merge branch 'develop' into quick-builds
Aradhya-Tripathi Jun 2, 2026
9cdca72
Merge branch 'develop' into quick-builds
Aradhya-Tripathi Jun 2, 2026
a5e659d
fix(test): Allow patch builds in tests
Aradhya-Tripathi Jun 2, 2026
2e42c6d
Merge branch 'develop' into quick-builds
Aradhya-Tripathi Jun 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
437 changes: 270 additions & 167 deletions dashboard/src/components/group/UpdateReleaseGroupDialog.vue

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions press/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,15 @@ def run_build(self, data: dict):
reference_name=reference_name,
)

def run_patch_build(self, data: dict):
return self.create_agent_job(
"Run Patch Build",
"builder/patch_build",
data=data,
reference_doctype="Deploy Candidate Build",
reference_name=data.get("deploy_candidate_build"),
)

def call_supervisorctl(self, bench: str, action: str, programs: list[str]):
return self.create_agent_job(
"Call Bench Supervisorctl",
Expand Down
11 changes: 9 additions & 2 deletions press/api/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@ def deploy_and_update(
apps: list,
sites: list | None = None,
run_will_fail_check: bool = True,
trigger_patch_deploy: bool = False,
):
use_new_deploy_flow = frappe.db.get_single_value("Press Settings", "use_new_deploy_flow") or 0

Expand All @@ -815,7 +816,10 @@ def deploy_and_update(
apps,
sites,
False,
).deploy(run_will_fail_check)
).deploy(
run_will_fail_check,
trigger_patch_deploy=trigger_patch_deploy,
)

# We check permissions early on and don't change permissions in the middle of the Workflow
current_team = get_current_team()
Expand All @@ -829,7 +833,10 @@ def deploy_and_update(
)
release_pipeline.insert()
release_pipeline.create_release.run_as_workflow(
apps=apps, sites=sites, run_will_fail_check=run_will_fail_check
apps=apps,
sites=sites,
run_will_fail_check=run_will_fail_check,
trigger_patch_deploy=trigger_patch_deploy,
)
return release_pipeline.name

Expand Down
4 changes: 3 additions & 1 deletion press/api/tests/test_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ def test_deploy_fn_deploys_bench_container(self):
"press.press.doctype.deploy_candidate.deploy_candidate.frappe.enqueue_doc",
new=foreground_enqueue_doc,
)
@patch.object(DeployCandidate, "schedule_build_and_deploy", new=MagicMock())
@patch.object(
DeployCandidate, "schedule_build_and_deploy", new=MagicMock(return_value={"name": "mock-deploy"})
)
@patch("press.press.doctype.deploy_candidate.deploy_candidate.frappe.db.commit", new=Mock())
def test_deploy_and_update_fn_creates_bench_update(self):
group = new(
Expand Down
Loading
Loading