woodpecker/server
6543 e57a09a404
Update pipeline state on server as a whole on approval (#3504)
We can not just update some records for steps, as we want the pipeline
engine as single source of truth but not manage the state.
And the server should only manage the state but not how pipelines work.

We can match the pipeline but neither workflows or steps 1:1, so we
"update" them as a whole by deleting existing workflow and step data and
insert the new info from engine.

close   #3494
close  #3472

---------
*Sponsored by Kithara Software GmbH*

---------

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-18 20:07:45 +01:00
..
api Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
badges Replace goimports with gci (#3202) 2024-01-14 18:22:06 +01:00
cache Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
ccmenu Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
cron Set correct link for commit (#3368) 2024-02-11 10:44:50 +01:00
forge Update pipeline state on server as a whole on approval (#3504) 2024-03-18 20:07:45 +01:00
grpc Fix agent polling (#3378) 2024-02-16 10:04:13 +01:00
logging Fix linter (#3354) 2024-02-08 22:49:07 +01:00
model Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
pipeline Update pipeline state on server as a whole on approval (#3504) 2024-03-18 20:07:45 +01:00
pubsub Fix linter (#3354) 2024-02-08 22:49:07 +01:00
queue Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
router Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
services Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
store Update pipeline state on server as a whole on approval (#3504) 2024-03-18 20:07:45 +01:00
web Replace goimports with gci (#3202) 2024-01-14 18:22:06 +01:00
config.go Refactor internal services (#915) 2024-02-11 18:42:33 +01:00