woodpecker/pipeline
Stephen Muth bc87208a33
Rework status constraint logic for successes (#1515)
Since "success" and "failure" are the only two possible values, and
"success" is considered to be included by default, the existing code can
also be simplified a little.

This has the side effect of ignoring the "exclude" part of the
constraint completely. I put it in the tests just to make sure the
workaround in
https://github.com/woodpecker-ci/woodpecker/issues/1181#issuecomment-1347253585
continues to work as expected, but couldn't think of any legitimate use
cases for it.

Fixes #1181
2023-01-02 06:36:57 +01:00
..
backend Allow adding additional labels/annotations to kubernetes worker pods (#1510) 2022-12-31 01:37:09 +01:00
frontend Rework status constraint logic for successes (#1515) 2023-01-02 06:36:57 +01:00
multipart Dedup code and migrate away from deprecated funcs (#1141) 2022-08-30 01:14:07 +02:00
rpc Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
samples Replace DRONE_ with CI_ variables in pipeline steps (#427) 2021-11-25 20:43:31 +01:00
schema Add option to ignore failures on steps (#1219) 2022-11-15 19:47:27 +01:00
shared Fix multiline secrets replacer (#700) 2022-01-16 22:57:37 +01:00
drone_compatibility.go Fix wrong drone env vars (#1419) 2022-11-22 23:57:12 +01:00
error.go Fix invalid service names for Kubernetes (#1234) 2022-10-05 13:39:48 +02:00
error_test.go Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00
logger.go Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
option.go Make pipeline runtime log with description (#970) 2022-06-15 18:11:20 +02:00
option_test.go Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00
pipeline.go Refactor agent: split code in subfunctions (#1441) 2022-11-23 15:35:24 +01:00
stepBuilder.go Split and refactor (#1394) 2022-11-06 12:44:04 +01:00
stepBuilder_test.go Split and refactor (#1394) 2022-11-06 12:44:04 +01:00
tracer.go Fix wrong drone env vars (#1419) 2022-11-22 23:57:12 +01:00