Commit graph

3671 commits

Author SHA1 Message Date
Anbraten
d15769b17a
Ignore pushes to tags for gitea (#289)
closes #274
2021-08-31 03:00:29 +02:00
Anbraten
34cfabb56d
Fix filter pipeline config files (#279)
closes #271 

- filter pipeline config folders for `.yml` and `.yaml` files
- improve `fetchConfig` tests
- update remote mock and correct wrong folder name `mock` => `mocks` to match package name
- fix: return correct filename for fallback
- improve config loading by checking if folder or not before sending api call
2021-08-30 22:54:21 +02:00
6543
194e01c9c6
[CI] Run "build" on pull too (#287)
* CI: run "build" on pull too

* vendor build tools too
2021-08-30 20:48:19 +02:00
6543
75513575be
Use go's vendoring (#284)
* store dependency's in git

* since we vendor ... rm tech-depts

* aad make target 'vendor' to update vendor folder (manual task)
2021-08-30 19:14:04 +02:00
Anbraten
8aeae0a651
Use custom config path to sanitize build names (#280)
fix #270
2021-08-29 22:25:41 +02:00
6543
6f4528f7f6
use multi pipelines 2021-08-29 22:21:32 +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
Kevin
0e8c17e7e8
Use woodpecker env variable instead of drone in docker-compose (#264)
* use woodpecker env variable instead of drone

* update docker-compose version to 3

Co-authored-by: Kevin <kevin@example.com>
Co-authored-by: Anbraten <anton@ju60.de>
2021-08-17 21:16:03 +02:00
6543
29ab3543cb
code.gitea.io/sdk/gitea v0.14.1 -> v0.15.0 (#263) 2021-08-13 20:06:53 +02:00
Florian Piesche
5d6b8f4b12
[Charts] Add option to pass in topology pod constraints (#262) 2021-08-11 17:36:39 +02:00
6543
c304996250
Changelog for v0.14.0 2021-08-01 00:49:11 +02:00
Anbraten
830b03619e
Fix: allow multi pipeline file to be named .drone.yml (#250) 2021-07-22 12:53:56 +02:00
Malachi Soord
41f2bc026d
Tidy up readme (#253) 2021-07-20 23:20:35 +02:00
Anbraten
7851ced1d4
Fix VSCode launch config to be able to debug server and agent (#249) 2021-07-19 15:36:33 +02:00
6543
84968f7e0b
Docs: Fix rc tag 2021-07-08 15:49:06 +02:00
6543
6bdadcdc49
Changelog for v0.14.0-rc2 (#241)
* add changelog-tool config (https://gitea.com/gitea/changelog)

* generate changelog

* improve text
2021-07-08 15:47:17 +02:00
ygbillet
c699ea5789
Add mutli-pipeline to Gitea (#225)
* Add mutli-pipeline to Gitea client
* Add multi-pipeline to Gitea OAuth client

ref: https://woodpecker.laszlo.cloud/multi-pipeline/

Signed-off-by: Yves-Gaël BILLET <ygbillet@ifotec.com>
Co-authored-by: Yves-Gaël Billet <yg.billet@gmail.com>
2021-07-05 19:33:02 +02:00
6543
ee3e4bb189
Add "path" support to gitea on push hooks (#235) 2021-07-04 20:38:59 +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
ygbillet
2f222cea25
fix: Build server with correct option (#237)
We must build server with CGO_ENABLED=1 because of mattn/sqlite3.

Co-authored-by: Yves-Gaël BILLET <ygbillet@ifotec.com>
2021-06-30 17:17:54 +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
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