woodpecker/server/pipeline
qwerty287 16dca0abc2
Store workflows/steps for blocked pipeline (#2757)
This stores workflows and steps to DB even if it is not yet approved and
thus blocked.

I'm not really happy with this, because even though it is stored, it
must parse the pipeline again and set back the original UUID. If you
have any ideas how to fix/improve this just comment.

In addition, this allows to view step list and side panel for approved
pipelines, https://github.com/woodpecker-ci/woodpecker/pull/2345 is
partially not longer necessary.

Closes https://github.com/woodpecker-ci/woodpecker/issues/895

---------

Co-authored-by: 6543 <6543@obermui.de>
2024-02-22 15:48:29 +01:00
..
stepbuilder Do not alter secret key upper-/lowercase (#3375) 2024-02-20 14:20:25 +01:00
approve.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
cancel.go Remove multipart logger (#3200) 2024-01-14 10:54:02 +01:00
config.go Make PipelineConfig unique again (#3215) 2024-01-18 23:50:29 +02:00
create.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
decline.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
errors.go Enable nolintlint (#3158) 2024-01-10 12:11:18 +01:00
gated.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
helper.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
items.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
items_test.go Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
pipelineStatus.go Only update pipelineStatus in one place (#2952) 2023-12-15 10:03:05 +01:00
pipelineStatus_test.go Use assert for test (#3201) 2024-01-14 19:33:58 +01:00
queue.go Fix linter (#3354) 2024-02-08 22:49:07 +01:00
restart.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
start.go Store workflows/steps for blocked pipeline (#2757) 2024-02-22 15:48:29 +01:00
step_status.go Step status update dont set to running again once it got stoped (#3151) 2024-01-09 18:34:55 +01:00
step_status_test.go Use assert for test (#3201) 2024-01-14 19:33:58 +01:00
topic.go Replace goimports with gci (#3202) 2024-01-14 18:22:06 +01:00
workflowStatus.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00