Commit graph

52 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
6543
70958acc44
update / remove drone dependencies (#236)
* include github.com/drone/signal

* update github.com/drone/envsubst

* move github.com/woodpecker-ci/expr to woodpecker org
2021-06-30 19:15:28 +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
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
b7f61fc81d Queue knows about skipped tasks now to handle transitive deps 2019-07-22 12:44:03 +02:00
Laszlo Fogas
1d564e978f More prometheus metrics, refactoring 2019-06-28 14:28:41 +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
2253ca66db Tasks should not run on error, unless specified 2019-06-16 15:56:32 +02:00
Laszlo Fogas
6a2c3f129c Factor into functions 2019-06-16 10:54:31 +02:00
Laszlo Fogas
f25317599a Unlimited 2019-06-01 09:45:20 +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
Thomas Boerger
06ff6b50ed
Use specific token for prometheus metrics 2018-03-27 22:22:19 +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
909053ba5b
Merge pull request #2244 from appleboy/fix2
Fix drone filter func
2018-02-19 13:01:05 -08:00
Elena Grahovac
296a4f1977 Log the exact error in case of 'error setting commit status' 2017-12-20 12:12:38 +01:00
Bo-Yi Wu
8ad98fa42b add missing filter expr content.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-17 23:47:53 +08:00
Thomas Boerger
5abfd70c53
Fix procs.proc_started value if not set 2017-10-06 22:17:48 +02:00
Brad Rydzewski
2c9d50ccc6 should use correct status for killed 2017-09-15 09:04:21 -07:00
Matt Leung
820d07263b Add server env var to specify .drone.yml location
Allow setting DRONE_REPO_CONFIG to override default location of .drone.yml
2017-09-12 17:06:12 -07:00
Brad Rydzewski
25c9b8050a introduce limiter for planned refactoring 2017-09-11 10:22:45 -07:00
Matt Leung
4c2ff78d20 Add expression parser evaulator for build filter
Vendor github.com/drone/expr
Vendor github.com/drone/expr/parse
2017-09-08 19:39:24 -07:00
Joachim Hill-Grannec
c30198e412 Adding Environment variable to configure the session expiration 2017-08-17 12:50:31 -07: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
eaa6d41699 pass agent hostname to all rpc calls 2017-07-20 12:21:15 -04:00
Brad Rydzewski
9720337655 set machine on proc update 2017-07-19 23:07:29 -04:00
Brad Rydzewski
250b048b22 pass agent hostname to server and persist 2017-07-19 17:46:03 -04:00
Brad Rydzewski
aed567a71e initial work to enable grpc 2017-06-28 13:21:22 -04:00
Brad Rydzewski
ec9171cead inject globals 2017-06-26 15:27:53 -04:00
Jacob McCann
daa23ce673 Allow specifying limits for pipeline steps from server config (#2085) 2017-06-24 08:16:16 -04:00
Brad Rydzewski
3ed811644f fixes #1523 to ensure json-file driver (#2083) 2017-06-22 15:11:05 -04:00
Brad Rydzewski
62876d6ad9 bump version to 0.7 2017-05-24 16:45:56 +02:00
Brad Rydzewski
4569b60f09 persist and compare yaml for gating 2017-05-05 18:59:37 +02:00
Brad Rydzewski
0f13620d66 fix remote status on build completion 2017-04-12 19:56:30 +02:00
Brad Rydzewski
2f67f5f706 compare server and agent version for compatibility 2017-04-12 13:04:39 +02:00
Brad Rydzewski
8348c858ba wip enable pluggable secret and registry backends 2017-04-11 19:06:45 +02: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
6c11444de0 agent update build steps 2017-04-01 20:17:04 +09:00
Brad Rydzewski
fc46a5be0a remove println from logs 2017-03-15 00:01:43 +08:00
Brad Rydzewski
395f0d52f9 enable restart 2017-03-14 23:56:22 +08:00
Brad Rydzewski
442e05a4e1 mask secrets, backport drone_ variables 2017-03-12 00:46:59 -08:00