Commit graph

72 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
Anbraten
1a67fc6e99
Use server-host as source for public links and warn if it is set to localhost (#251)
* Use server-host as source for public links

* use config and rm GetURL()

* fix: solve import cycle

Co-authored-by: 6543 <6543@obermui.de>
2021-08-20 16:32:52 +02:00
Paweł Bogusławski
68dbd488a9
Using configured server URL instead of obtained from request (#175)
Woodpecker should use configured server URL when creating self
URL-s for VCS UI and not depend on URL read from request. In
case of internal calls like answers for webhooks from Gitea
on backend, address in URL may be internal and this causes
Gitea to display CI status for commit with intenal URL
to woodpecker not external one.
2021-06-28 19:28:18 +02:00
6543
bfc4aa8059
Enforce code format (#228)
* format .drone.yml & go code

* improve .editorconfig

* extend Makefile

* enforce go code format

* fix space

* update deps

* clean up
2021-06-22 12:34:35 +02:00
Laszlo Fogas
c7ebd68232 Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker 2021-05-25 14:08:27 +02:00
Ian
a11db91e49 Upgrade dependencies 2020-05-18 16:41:15 +01:00
Laszlo Fogas
d8fe50dfa7 Iterating on cance;ation logic 2019-09-16 15:19:09 +02:00
mhmxs
db4876aabc Create separate Go file for proc status updates 2019-09-15 07:29:45 +02:00
mhmxs
fd361ddf2a Create separate Go file for build status updates 2019-09-14 14:20:16 +02:00
Laszlo Fogas
630c383181 Project is renamed to Woodpecker 2019-08-27 13:07:19 +02:00
Laszlo Fogas
ed51df29b3 Factor out sideeffects 2019-07-22 13:45:01 +02:00
Laszlo Fogas
69de8face1 Handling canceled, skipped builds 2019-06-19 08:36:13 +02:00
Laszlo Fogas
1d47ba8a32 Status line for each pipeline on Github 2019-06-17 10:48:40 +02:00
Laszlo Fogas
a3ec40d438 Fifo queue with dependencies 2019-06-13 18:02:26 +02:00
Laszlo Fogas
f9c5fcec0d N:N relationship between build and config. Restarts work 2019-06-11 10:50:50 +02:00
Laszlo Fogas
3fe710bbe4 1:n relationship for build-config 2019-06-07 10:40:16 +02:00
Laszlo Fogas
105a0708fe Refactor 2019-06-05 15:58:27 +02:00
Laszlo Fogas
c9f2346c2c Supporting multiple yamls in procBuilder 2019-06-01 13:02:26 +02:00
Laszlo Fogas
ddabcde3e3 Factored to a better place 2019-06-01 12:52:30 +02:00
Laszlo Fogas
21d6552b4b It's okay 2019-06-01 10:59:35 +02:00
Laszlo Fogas
8cec8ed0d5 Dryness 2019-06-01 10:27:28 +02:00
Laszlo Fogas
73aa46405a Factored into file 2019-06-01 10:17:02 +02:00
Laszlo Fogas
a4541ac901 Pull in cncd/* for simpler workflow 2019-04-06 15:44:04 +02:00
Laszlo Fogas
ca5817ffc2 Renamed package 2019-04-04 20:51:20 +02:00
Delfer
ea2c72b4b4 Add ability to restart build of any state 2018-04-06 17:54:24 +03: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
Jordan Brockopp
c84031e3e8 get page query param. set default of 1 if not set 2018-02-02 13:04:21 -06:00
Tony Li
2700a5eeaa
better format 2018-01-18 13:20:42 -05:00
Tony Li
e15e88584e
purge log w/ timestamp 2018-01-18 13:08:11 -05:00
Brad Rydzewski
8771fb53af purged log placeholder to include username 2018-01-18 09:30:41 -08:00
Brad Rydzewski
cd0524e77e endpoint to purge build logs 2018-01-18 09:26:28 -08:00
Elena Grahovac
296a4f1977 Log the exact error in case of 'error setting commit status' 2017-12-20 12:12:38 +01:00
Brad Rydzewski
45357681a6 do not restart errored build 2017-09-14 15:33:12 -07:00
Brad Rydzewski
c95d2bf9f0 restart build will always fork; update sqlite 2017-09-10 17:45:42 -07:00
Brad Rydzewski
49ea713a36 improve UI loader 2017-09-07 17:43:33 -07:00
Brad Rydzewski
7d245e7b27 fix route for proc logs 2017-08-24 17:03:11 -07:00
Brad Rydzewski
7a4879c3e4 ability to force kill zombie builds 2017-08-01 12:57:01 -04:00
Brad Rydzewski
825dc630b9 return files/artifacts with build 2017-07-26 17:58:44 -04:00
Brad Rydzewski
ec9171cead inject globals 2017-06-26 15:27:53 -04:00
Brad Rydzewski
076dc0c3b9 fix todo for missing env variables from api 2017-05-23 20:08:06 +02:00
Brad Rydzewski
108e3fe93b update secret order of operations 2017-05-19 23:36:08 +02:00
Brad Rydzewski
3a64aa4cf2 simplify gating logic 2017-05-05 20:05:42 +02:00
Brad Rydzewski
4569b60f09 persist and compare yaml for gating 2017-05-05 18:59:37 +02:00
Brad Rydzewski
8348c858ba wip enable pluggable secret and registry backends 2017-04-11 19:06:45 +02:00
Brad Rydzewski
4502e5a256 source registry secrets from db 2017-04-07 01:04:25 +09:00
Brad Rydzewski
76006d28ac restart build by clearing prior procs and logs 2017-04-04 19:50:15 +09:00
Brad Rydzewski
16a07e660a enable granular step data for matrix 2017-04-04 18:30:06 +09:00
Brad Rydzewski
0daee76aa8 use separate log table 2017-04-03 18:34:37 +09:00
Brad Rydzewski
ec88661d9e refactor job to proc 2017-04-02 23:13:26 +09:00