1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Anbraten
289f0c9ad6
Change pipeline config path resolution (#299)
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)

# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)

---
closes #133

---

* adjust config fetching mechanism

* default path empty

* remove fallback flag from ui and db
2021-09-17 21:40:43 +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
fb6c2f1c20 Fixing nil value in newly added column 2019-07-15 14:26:00 +02:00
Laszlo Fogas
8d79f8671e Fallback to default config. Allows incremental rollout of custom-path 2019-06-25 13:45:43 +02:00
Laszlo Fogas
be0d1d73fb Task dependencies to survive restarts 2019-06-25 12:21:09 +02:00
Laszlo Fogas
806249ec16 Migrating build configs to the new schema 2019-06-19 16:13:09 +02:00
Laszlo Fogas
a18b7bb46e SQL changes for Postgres and MySQL 2019-06-14 09:55:40 +02:00
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./... 2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7 add apache license header to files 2018-02-19 14:24:10 -08:00
Brad Rydzewski
60cd607450 capture file metadata 2017-08-02 16:04:00 -04:00
Brad Rydzewski
bcdd5c9d06 implement file endpoints 2017-07-27 13:06:24 -04:00
Brad Rydzewski
587b07c69b sync working with postgres and mysql 2017-07-15 12:51:02 -04:00
Brad Rydzewski
37eb406092 update default visibility migration 2017-07-12 15:25:42 -04:00
Brad Rydzewski
ee54698c62 add migration function to remove null repo counters 2017-05-25 12:25:16 +02:00
Brad Rydzewski
3f45889ead fix merge conflicts 2017-05-23 14:43:50 +02:00
Brad Rydzewski
f16dfaa9f0 increment build from counter 2017-05-23 12:43:58 +02:00
Brad Rydzewski
9ed9f8f1c9 change repo_visibility to text 2017-05-22 23:16:42 +02:00
Brad Rydzewski
c64a244c27 add visibility database field 2017-05-22 23:11:29 +02:00
Brad Rydzewski
298d78e370 bump column size for registry secret [ci skip] 2017-05-19 18:15:57 +02:00
Brad Rydzewski
b8c09865b7 migration improvements 2017-05-13 16:38:26 +02:00
Brad Rydzewski
c0354572c3 remove generated migration code from gitignore 2017-05-13 10:08:39 +02:00