mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
可视化创建流水线后端代码
This commit is contained in:
9
app/views/ci/pipeline_stage_steps/_list.json.jbuilder
Normal file
9
app/views/ci/pipeline_stage_steps/_list.json.jbuilder
Normal file
@@ -0,0 +1,9 @@
|
||||
json.id pipeline_stage_step.id
|
||||
json.step_name pipeline_stage_step.step_name
|
||||
json.stage_id pipeline_stage_step.stage_id
|
||||
json.template_id pipeline_stage_step.template_id
|
||||
json.show_index pipeline_stage_step.show_index
|
||||
json.content pipeline_stage_step.content
|
||||
json.created_at pipeline_stage_step.created_at
|
||||
json.updated_at pipeline_stage_step.updated_at
|
||||
|
||||
8
app/views/ci/pipeline_stages/_list.json.jbuilder
Normal file
8
app/views/ci/pipeline_stages/_list.json.jbuilder
Normal file
@@ -0,0 +1,8 @@
|
||||
json.id pipeline_stage.id
|
||||
json.stage_name pipeline_stage.stage_name
|
||||
json.stage_type pipeline_stage.stage_type
|
||||
json.pipeline_id pipeline_stage.pipeline_id
|
||||
json.show_index pipeline_stage.show_index
|
||||
json.created_at pipeline_stage.created_at
|
||||
json.updated_at pipeline_stage.updated_at
|
||||
|
||||
9
app/views/ci/pipelines/_list.json.jbuilder
Normal file
9
app/views/ci/pipelines/_list.json.jbuilder
Normal file
@@ -0,0 +1,9 @@
|
||||
json.id pipeline.id
|
||||
json.pipeline_name pipeline.pipeline_name
|
||||
json.pipeline_status pipeline.pipeline_status
|
||||
json.file_name pipeline.file_name
|
||||
json.created_at pipeline.created_at
|
||||
json.updated_at pipeline.updated_at
|
||||
json.stages pipeline.pipeline_stages do |pipeline_stage|
|
||||
json.partial! "/ci/pipeline_stages/list", pipeline_stage: pipeline_stage
|
||||
end
|
||||
1
app/views/ci/pipelines/content.json.jbuilder
Normal file
1
app/views/ci/pipelines/content.json.jbuilder
Normal file
@@ -0,0 +1 @@
|
||||
json.content @yaml
|
||||
3
app/views/ci/pipelines/list.json.jbuilder
Normal file
3
app/views/ci/pipelines/list.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.pipelines @pipelines do |pipeline|
|
||||
json.partial! "/ci/pipelines/list", pipeline: pipeline
|
||||
end
|
||||
3
app/views/ci/pipelines/stages.json.jbuilder
Normal file
3
app/views/ci/pipelines/stages.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.stages @pipeline_stages do |pipeline_stage|
|
||||
json.partial! "/ci/pipeline_stages/list", pipeline_stage: pipeline_stage
|
||||
end
|
||||
3
app/views/ci/pipelines/steps.json.jbuilder
Normal file
3
app/views/ci/pipelines/steps.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.steps @pipeline_stage_steps do |pipeline_stage_step|
|
||||
json.partial! "/ci/pipeline_stage_steps/list", pipeline_stage_step: pipeline_stage_step
|
||||
end
|
||||
8
app/views/ci/templates/_list.json.jbuilder
Normal file
8
app/views/ci/templates/_list.json.jbuilder
Normal file
@@ -0,0 +1,8 @@
|
||||
json.id template.id
|
||||
json.template_name template.template_name
|
||||
json.stage_type template.stage_type
|
||||
json.category template.category
|
||||
json.content template.content
|
||||
json.created_at template.created_at
|
||||
json.updated_at template.updated_at
|
||||
|
||||
4
app/views/ci/templates/_templates_by_stage.json.jbuilder
Normal file
4
app/views/ci/templates/_templates_by_stage.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.category category
|
||||
json.templates templates do |template|
|
||||
json.partial! "/ci/templates/list", template: template
|
||||
end
|
||||
3
app/views/ci/templates/list.json.jbuilder
Normal file
3
app/views/ci/templates/list.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.templates @templates do |template|
|
||||
json.partial! "/ci/templates/list", template: template
|
||||
end
|
||||
3
app/views/ci/templates/templates_by_stage.json.jbuilder
Normal file
3
app/views/ci/templates/templates_by_stage.json.jbuilder
Normal file
@@ -0,0 +1,3 @@
|
||||
json.array! @category_templates do |category, templates|
|
||||
json.partial! "/ci/templates/templates_by_stage", category: category, templates: templates
|
||||
end
|
||||
Reference in New Issue
Block a user