Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!507
WS-677: `null_dag` capability
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WS-677: `null_dag` capability
WS-677-null_dag-capability
into
main
Overview
0
Commits
4
Pipelines
4
Changes
1
Merged
Nathan Hertz
requested to merge
WS-677-null_dag-capability
into
main
3 years ago
Overview
0
Commits
4
Pipelines
4
Changes
1
Expand
Additions
Added new capability:
null_dag
that simply launches the
null_dag
workflow
Added button to launch new capability to the sandbox
Changed "no-files" message to "No files are attached to this request."; added "no-parameters" message: "This request has no parameters."
Screenshot
New button
New empty-parameters/files messages
Completes
WS-677
(for real this time)
0
0
Merge request reports
Viewing commit
5c5af3f4
Show latest version
1 file
+
25
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5c5af3f4
New schema revision that adds the `null_dag` capability
· 5c5af3f4
Nathan Hertz
authored
3 years ago
schema/versions/c717f781828d_add_null_dag_capability.py
0 → 100644
+
25
−
0
Options
"""
add null_dag capability
Revision ID: c717f781828d
Revises: 990c5cd70082
Create Date: 2021-09-15 14:58:45.780793
"""
from
alembic
import
op
# revision identifiers, used by Alembic.
revision
=
"
c717f781828d
"
down_revision
=
"
990c5cd70082
"
branch_labels
=
None
depends_on
=
None
def
upgrade
():
op
.
execute
(
"
INSERT INTO capabilities (capability_name, capability_steps, max_jobs) VALUES
"
"
(
'
null_dag
'
,
'
prepare-and-run-workflow null_dag
\n
await-workflow
'
, 2)
"
)
def
downgrade
():
op
.
execute
(
"
DELETE FROM capabilities WHERE capability_name =
'
null_dag
'"
)
Loading