Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!2233
Remove Ponos from CE
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove Ponos from CE
move-ponos-ee
into
community
Overview
1
Commits
23
Pipelines
0
Changes
1
Merged
Valentin Rigal
requested to merge
move-ponos-ee
into
community
1 year ago
Overview
1
Commits
23
Pipelines
0
Changes
1
Expand
Based on
!2227 (merged)
TODO:
Remove & update tests
Edited
1 year ago
by
Valentin Rigal
0
0
Merge request reports
Viewing commit
bf23c3ab
Show latest version
1 file
+
0
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bf23c3ab
Remove farm constraint to build a process
· bf23c3ab
Valentin Rigal
authored
1 year ago
arkindex/process/builder.py
+
0
−
2
Options
@@ -213,8 +213,6 @@ class ProcessBuilder(object):
"""
from
arkindex.process.models
import
ActivityState
,
ProcessMode
if
not
self
.
process
.
farm_id
:
raise
ValidationError
(
"
Process must have a farm ID to be built
"
)
if
self
.
run
>
0
and
not
self
.
process
.
is_final
:
raise
ValidationError
(
"
Cannot run a process that is not in a final state.
"
)
if
self
.
process
.
mode
in
(
ProcessMode
.
Local
,
ProcessMode
.
Template
):
Loading