1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2026-06-03 16:35:37 +02:00
Commit Graph

28 Commits

Author SHA1 Message Date
6543 c61d7403b2 Migrate gopkg.in/yaml.v3 usages to go.yaml.in/yaml/v4 (#6651) 2026-05-28 15:08:09 +02:00
Simon Meyer 64d7ed8952 Support optional flag in depends_on for workflows and steps (#6461)
Extends `depends_on` to accept objects with `name` and `optional` fields, at both workflow and step level. When `optional: true`, the dependency is silently dropped if the referenced workflow/step is not part of the pipeline (e.g. filtered out by `when` conditions). If present, it is enforced as usual.

Co-authored-by: 6543 <6543@obermui.de>
2026-05-28 09:23:42 +02:00
6543 11f74a6291 format with gofumpt v0.10.0 (#6573) 2026-05-14 14:02:43 +02:00
6543 280d2e902a Fix workflow serialize to omit skip_clone if false (#6319) 2026-03-24 20:27:29 +02:00
qwerty287 39a7ebda75 Independently evaluate status filter and support on workflows (#6183)
fix https://github.com/woodpecker-ci/woodpecker/issues/6161

And also allow `when.status` at workflow level. `runs_on` is deprecated then.


Co-authored-by: 6543 <6543@obermui.de>
2026-03-02 17:37:37 +01:00
qwerty287 fe9db664fe Add some tests (#6076) 2026-02-06 23:49:42 +01:00
qwerty287 bd8e2f350e Use require to exit tests (#5998) 2026-01-22 09:41:20 +01:00
6543 d1b7e35ca8 Improve service syntax related docs and tests nits (#5991) 2026-01-19 19:44:18 +02:00
6543 3d43a3fce6 Make pipeline/frontend/yaml/* types able to be marshaled back to YAML (#1835) 2025-10-25 10:27:22 +02:00
qwerty287 428ba689cb Remove workflow-level volumes and networks (#4636) 2024-12-30 10:34:59 +01:00
qwerty287 afa6dee30b Migrate away from goblin (#4624)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-30 08:08:53 +02:00
qwerty287 81b74025d4 Update Go imports paths (#4605)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-22 10:44:34 +01:00
qwerty287 aafd217cce Remove old pipeline options (#4016) 2024-08-15 18:58:51 +02:00
6543 1c7c87b8f0 Remove deprecated pipeline settings (#3916) 2024-07-23 13:06:47 +02:00
qwerty287 001b5639a6 Use assert for test (#3201)
instead of `if`s
2024-01-14 19:33:58 +01:00
Anbraten 6fbf98f1b9 Fix slice unmarshaling (#3097)
closes #3055
2024-01-01 11:03:31 +01:00
qwerty287 7e2ea306c4 Remove workflow version again (#3052) 2023-12-28 14:34:13 +01:00
runephilosof-karnovgroup adb2c82790 Update go module path for major version 2 (#2905)
https://go.dev/doc/modules/release-workflow#breaking

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-08 08:15:08 +01:00
6543 5a7b689e30 Switch to go vanity urls (#2706)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00
qwerty287 1bc4415075 Add workflow version (#2476)
Closes #1834

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-11-06 01:37:02 +01:00
qwerty287 c1faa95d8f Revert breaking pipeline changes (#2677)
Revert #2180 and #2480 so we can release v2.0 without breaking changes
in pipeline config.

After merging #2476 we should apply these changes to a new v2.

After merging this, we should be ready for the 2.0 release.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-02 15:31:49 +01:00
qwerty287 842e8a8e50 Remove deprecated options parsing (#2480)
Main change is that backwards compatibility to `platform` was removed.
Part of
https://github.com/woodpecker-ci/woodpecker/discussions/2170#discussioncomment-7047394
2023-09-20 13:48:34 +02:00
qwerty287 8cdac56d8f Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
6543 63d5c40afd Deprecate "platform" filter in favour of "labels" (#2181)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-09 16:09:44 +02:00
6543 71666f0500 Fail hard on deprecated pipeline keys (#2180)
so we can drop it in next minor version complete
2023-08-09 15:33:10 +02:00
Thomas Anderson b616a822a0 Fixed when:evaluate on non-standard (non-CI*) env vars (#1907)
Makes it possible to evaluate `when` constraint on custom environment
variables.
2023-07-02 23:45:22 +02:00
6543 7e708874ae Rename yaml pipeline to steps (#1833)
Adjust pipeline-config to match
[Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
2023-06-07 12:04:37 +02:00
6543 971cb52032 Rename pipeline frontend types (#1829)
this adjust the packages that parse the yaml-config-file to match
[Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
2023-06-06 09:14:21 +02:00