woodpecker/server/pipeline
qwerty287 22dfd2ef62
Refactor pipeline parsing and forge refreshing (#2527)
- refactor pipeline parsing
- do not parse the pipeline multiple times to perform filter checks, do
this once and perform checks on the result directly
    - code deduplication
- refactor forge token refreshing
    - move refreshing to a helper func to reduce code

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-10-08 14:05:06 +02:00
..
approve.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
cancel.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
config.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
create.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
decline.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
errors.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
gated.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
helper.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
items.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
items_test.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
pipelineStatus.go Split and refactor (#1394) 2022-11-06 12:44:04 +01:00
pipelineStatus_test.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
queue.go Rename grpc pipeline to workflow (#2173) 2023-08-21 18:30:19 +02:00
restart.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
start.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
stepStatus.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
stepStatus_test.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
topic.go Add own workflow model (#1784) 2023-06-27 18:01:18 +02:00
workflowStatus.go Fix pipeline status calculation/reporting (#1898) 2023-06-29 14:56:01 +02:00