woodpecker/server/forge
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
..
bitbucket Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
bitbucketdatacenter Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
common Use assert for test (#3201) 2024-01-14 19:33:58 +01:00
gitea Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
github fix(deps): update module github.com/google/go-github/v59 to v60 (#3493) 2024-03-16 09:37:08 +01:00
gitlab Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00
mocks Update pipeline state on server as a whole on approval (#3504) 2024-03-18 20:07:45 +01:00
types Replace http types on forge interface (#3374) 2024-02-13 16:19:02 +01:00
forge.go Replace http types on forge interface (#3374) 2024-02-13 16:19:02 +01:00
refresh.go Enable golangci linter gomnd (#3171) 2024-03-15 18:00:25 +01:00