Commit graph

3801 commits

Author SHA1 Message Date
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
6543
978d666eac
Update Dependencies 2021-06-28 19:33:58 +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
d40a4a4b32
Enable go vet for ci (#230)
* enable go vet for ci

* fix vet issues

* move `./.cli.sh` into `make release-cli`
2021-06-22 13:26:37 +02:00
6543
b52ef5f270
ci: fix build (#231) 2021-06-22 13:12:26 +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
6543
310c46d3ab
Switch in docs to new docker hub image repo (#227) 2021-06-18 20:48:22 +02:00
techknowlogick
77e046b47f
Add OAuth2 Support for Gitea Remote (#226)
* add oauth support for Gitea

* go fmt

* cli flags
2021-06-17 09:02:44 +02:00
speatzle
b1ff2541b8
fix gitea "cannot authenticate user. 403 Forbidden" (#221)
Co-authored-by: slt <samuel.lorch@sp-online.de>
2021-06-05 10:55:48 +02:00
Marian Steinbach
16bdc9fe12
Move flag definitions into extra files (#215) 2021-05-31 14:35:47 +02:00
Marian Steinbach
3d083ec058
Remove unused code in server (#213) 2021-05-31 14:34:00 +02:00
Marian Steinbach
4824bb16a7
Wrap lines in LICENSE (#214) 2021-05-31 13:47:18 +02:00
Laszlo Fogas
a6ffa54639
We only support drone.yml for now 2021-05-31 13:43:57 +02:00
Laszlo Fogas
f9edbc5091
We only support .drone.yml for now 2021-05-31 13:42:22 +02:00
Laszlo Fogas
885812fb94
We only support .drone.yml for now 2021-05-31 13:40:28 +02:00
Marian Steinbach
dcb96af9c4
Use WOODPECKER_ env vars in docs (#211) 2021-05-31 13:31:52 +02:00
Marian Steinbach
8f76192b77
Show all env var names in log messages (#208) 2021-05-31 13:28:24 +02:00
Laszlo Fogas
9bf8e05fd0
Merge pull request #205 from alexef/filter-main-branch
Filter main branch
2021-05-27 16:10:21 +02:00
Laszlo Fogas
62d3dd205e
Merge pull request #206 from alexef/docs-config
Docs URL configuration
2021-05-27 16:09:44 +02:00
Alex Eftimie
59abb98449 Fix lint 2021-05-27 07:33:11 +02:00
Alex Eftimie
a3a361ad10
Update setup.go 2021-05-27 07:27:13 +02:00
Alex Eftimie
1c2d4aba3b attempt to fix lint 2021-05-27 07:17:11 +02:00
Alex Eftimie
2139ed8973 Fix lint 2021-05-27 07:06:55 +02:00
Alex Eftimie
943a308afe Allow configuring the URL to user documentation 2021-05-27 06:58:30 +02:00
Alex Eftimie
00045028c0 Filter default branch
Allow the user to view only builds from main/master.
2021-05-27 06:49:18 +02:00
Alex Eftimie
f694d6f2e4 Merge remote-tracking branch 'upstream/master' 2021-05-25 16:43:03 +02:00
Laszlo Fogas
b48b8013df
Merge pull request #202 from woodpecker-ci/org-change
Org change
2021-05-25 14:18:31 +02:00
Laszlo Fogas
aef4ea3757 Further org move 2021-05-25 14:15:22 +02:00
Laszlo Fogas
c7ebd68232 Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker 2021-05-25 14:08:27 +02:00
Laszlo Fogas
5604ff2a43
Merge pull request #201 from laszlocph/non-blocking-errors
Non blocking errors
2021-05-25 13:21:05 +02:00
Laszlo Fogas
3cb8d06b78 Fix: setting dep status on all deps, not just the first 2021-05-25 13:05:31 +02:00
Laszlo Fogas
11417f0f7c Test times out 2021-05-21 12:54:55 +02:00
Laszlo Fogas
3849d1e2b3 Testcases for https://github.com/laszlocph/woodpecker/issues/200 2021-05-21 12:50:19 +02:00
Laszlo Fogas
b6ba737cfa
Merge pull request #199 from raunyoliveira-hotmart/master
add chart for installing woodpecker server and agent
2021-05-17 09:08:02 +02:00
Rauny Brandão
d6106dd43e add chart for installing woodpecker server and agent 2021-05-15 14:02:51 -03:00
Laszlo Fogas
7cd778bbe1
Merge pull request #196 from Sevlin/dark-term
Terminal dark background
2021-05-10 08:46:39 +02:00
Mykyta Solomko
b69359e046 Dark terminal background 2021-05-09 18:51:26 +03:00
Laszlo Fogas
c519e6428c
Merge pull request #194 from 6543/patch-1
Add Discord Chat to Readme
2021-05-03 13:20:02 +02:00
6543
0198d815eb
Add Discord Chat to Readme
as title, server admin must enable the widget setting on the server.
2021-05-03 13:17:28 +02:00
Laszlo Fogas
3357750e37 Fixture handler needed an update after Gitea logic change 2021-04-28 09:23:40 +02:00
Laszlo Fogas
19659e7c93
Merge pull request #192 from 6543-forks/update-deps
Update dependencies
2021-04-28 09:22:43 +02:00
6543
ffe7306979
make deps 2021-04-27 18:02:26 +02:00
Laszlo Fogas
b7085a4c67 Fixing manifest errors 2021-04-26 10:12:37 +02:00
Laszlo Fogas
5d45974f43
Merge pull request #184 from 6543-forks/vendor-gitea-sdk-v0.14.0+1
Update Gitea SDK to v0.14.0+1
2021-03-30 11:01:05 +02:00
Laszlo Fogas
831770bad7
Merge pull request #182 from ibpl/master-IB#1107754
Incomplete Gitea repository list fixed
2021-03-30 08:05:22 +02:00
6543
494aa9c075
Update Gitea SDK to v0.14.0+1 2021-03-30 00:36:20 +02:00
Pawel Boguslawski
3c4a4ccbb4 Company name fixed
Company name fixed.

Fixes: e96a17dc9e
Author-Change-Id: IB#1107754
2021-03-29 14:21:29 +02:00
Pawel Boguslawski
e96a17dc9e Incomplete Gitea repository list fixed
Woodpecker may display incomplete list of Gitea
repositores user has access to because Gitea forces
paginated repo list reading. This mod fixes it.

Related: https://gitea.com/gitea/go-sdk/issues/507
Author-Change-Id: IB#1107754
2021-03-29 13:44:47 +02:00
Alex Eftimie
c47251bcf9 Fix lint
https://wp.laszlo.cloud/laszlocph/woodpecker/103/6
2021-03-20 12:03:37 +01:00
Laszlo Fogas
b52e404f93
Merge pull request #172 from alexef/fix-lint
Fix lint
2021-03-19 16:08:34 +01:00