Commit graph

20 commits

Author SHA1 Message Date
Jacob Floyd 35a45b7961
Reorganize code into server/{api,grpc,shared} packages (#337)
* move api code to server/api
* move grpc server for agent communication to server/grpc
* move server.Config to server/config.go as it is used by both server/api and server/grpc
* move shared code used by server/api and server/grpc to server/shared
2021-09-22 20:48:01 +02:00
Anbraten 5653577d7e
Fix sanitizePath (#326)
With #299 the `sanitizePath` has a bug now. If no special config (empty string) has been set it falls back to default values, but the `sanitizePath` function  the used the pipelince-config-path to sanitize pipeline names.
2021-09-21 04:21:13 +02:00
Anbraten 8aeae0a651
Use custom config path to sanitize build names (#280)
fix #270
2021-08-29 22:25:41 +02:00
Alex Eftimie 2ff91e6a05
Add support for path-prefix condition (#174)
Example:
```yaml
when:
  path: '*.md'
```

should match only builds in which the commit added/removed or modified files with the *.md extension

Co-authored-by: 6543 <6543@obermui.de>
2021-06-28 23:50:35 +02:00
Laszlo Fogas c7ebd68232 Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker 2021-05-25 14:08:27 +02:00
Laszlo Fogas 630c383181 Project is renamed to Woodpecker 2019-08-27 13:07:19 +02:00
Laszlo Fogas 1f83f0f198 After filterItemsWithMissingDependencies introduced, the next id can be higher than the length of procs 2019-07-23 14:10:44 +02:00
Laszlo Fogas 3bb0f64025 Handling zero-steps as transitive dependencies 2019-07-22 14:29:15 +02:00
Laszlo Fogas 6879bf62cb Handling zero-step pipelines as multi-pipeline depedencies 2019-07-22 14:13:46 +02:00
Laszlo Fogas ed51df29b3 Factor out sideeffects 2019-07-22 13:45:01 +02:00
Laszlo Fogas c303a4d463 If there are no steps, it shouldn't yield a proc 2019-07-19 09:18:40 +02:00
Laszlo Fogas 2edc5fcfb7 Pid ID refactor 2019-07-19 09:17:47 +02:00
Laszlo Fogas eed92421c9 Branch conditions on pipelines 2019-06-19 09:36:54 +02:00
Laszlo Fogas a433591afa Introducing runs_on to run pipelines on failure 2019-06-17 09:06:36 +02:00
Laszlo Fogas a22747f5c3 Sort later, so it is sorted in restarts too 2019-06-16 15:55:55 +02:00
Laszlo Fogas a3ec40d438 Fifo queue with dependencies 2019-06-13 18:02:26 +02:00
Laszlo Fogas 105a0708fe Refactor 2019-06-05 15:58:27 +02:00
Laszlo Fogas dbfbd15238 Moved proc id changes closer to each other 2019-06-05 10:36:16 +02:00
Laszlo Fogas c9f2346c2c Supporting multiple yamls in procBuilder 2019-06-01 13:02:26 +02:00
Laszlo Fogas 73aa46405a Factored into file 2019-06-01 10:17:02 +02:00