6543
798c2bc8b2
Upgrade urfave/cli to v2 ( #483 )
...
* migrate urfave/ci v1 -> v2
* refactor cli (format flag)
* log error if agent can not listen on port 3000
close #452
2021-10-27 21:03:14 +02:00
Anbraten
d35f5158bc
Add repo branches endpoint ( #481 )
...
* add repo branches endpoint
* add branches func to remotes
2021-10-27 02:47:55 +02:00
Anbraten
63a93087a1
Gitea use default branch ( #480 )
...
instead of hard-coded default branch use what gitea tell us
2021-10-27 00:37:01 +02:00
Anbraten
3c5827f08a
Fix repo access ( #476 )
...
* fix repo access
* fix permission syncing
2021-10-26 21:29:30 +02:00
Anbraten
b10f10a290
pin ua-parser-js versions to ^0.7.30 ( #467 )
2021-10-24 12:58:56 +02:00
Anbraten
0e867e2010
fix deb, rpm releases ( #465 )
2021-10-21 18:34:49 +02:00
Anbraten
7725058f03
Release deb, rpm bundles ( #405 )
2021-10-20 21:55:09 +02:00
Anbraten
0812a29163
Add plugin marketplace (for official plugins) ( #451 )
...
Co-authored-by: 6543 <6543@obermui.de>
2021-10-19 18:54:01 +02:00
6543
5990d32fd3
More logging and refactor ( #457 )
...
* only use "context"
* enable 'h2' support at server
* trace log remote and database config
* log loglevel on start
2021-10-19 11:44:49 +02:00
6543
2778bfed8e
Add changelog for v0.14.2 ( #462 )
2021-10-19 10:45:49 +02:00
Cyrill Burgener
fd8e0b248b
Add TestPipelineName
to procBuilder_test.go
( #461 )
...
test for a bug where pipelines that use `depends_on` were not built in multi-pipeline builds. The problem is that pipelines names keep a leading `'/'` when the pipeline path does not have a trailing `'/'`.
2021-10-19 09:35:10 +02:00
6543
bbbb53b9bc
Always wait 3s to fetch pipeline config ( #458 )
...
This fix a bug where first try will fail because timeout is 0s
2021-10-19 02:04:21 +02:00
John Olheiser
8e658c135d
Add log level API ( #444 )
...
* Add log level API
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update cli/loglevel/loglevel.go
Co-authored-by: Anbraten <anton@ju60.de>
* Move API to api routes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-18 18:25:20 -05:00
John Olheiser
03bb0e69d8
Replace debug with log-level flag ( #440 )
...
* Add logging level to CLI and API
Signed-off-by: jolheiser <john.olheiser@gmail.com>
# Conflicts:
# server/router/router.go
* Apply suggestions from code review
Co-authored-by: Anbraten <anton@ju60.de>
* Refactor log level
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove API
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix API imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* do not relay on external default
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-16 17:41:36 -05:00
Anbraten
ed03a318c5
Improve docs ( #450 )
...
- update docusaurus
- add typescript
- add prettier
- add open-collective & sponsor us links
- add announcement bar (star on github)
- add mastodon (footer)
- collapse admin area in sidebar by default
- move faq doc to pages
2021-10-16 21:27:51 +02:00
Anbraten
4f8a9893cf
Add search to docs ( #448 )
2021-10-16 21:05:13 +02:00
6543
6828057f66
Switch default git plugin ( #449 )
...
* update pipeline samples
* update docs
* use woodpeckerci/plugin-git:latest as default
* code format nit
2021-10-15 19:54:28 -05:00
Anbraten
4cc8594b63
Update links to woodpecker-ci.org ( #445 )
2021-10-14 18:13:57 +02:00
John Olheiser
17c7fe6011
Add Zerolint ( #441 )
...
* Sort imports
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-13 18:48:43 +02:00
Anbraten
fd9448cad7
simplify routes ( #437 )
2021-10-13 18:36:11 +02:00
Anbraten
72aa979644
Add repo permission endpoint ( #436 )
2021-10-13 14:16:26 +02:00
John Olheiser
12db87f8e6
Change prometheus namespace to woodpecker ( #439 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-13 08:34:57 +02:00
Anbraten
e6183e3378
Move api-routes to own file ( #434 )
2021-10-12 21:01:14 +02:00
Anbraten
f779860ff1
Add web-config.js endpoint ( #433 )
...
This is a preparation for #245 and adds a new endpoint (`.js``file) which can be included by the web-ui to get some config and credentials like the user profile or access-token.
2021-10-12 18:21:13 +02:00
Anbraten
3d6bc43ff1
Remove unused repo-config option ( #432 )
2021-10-12 12:00:03 +02:00
Anbraten
7eef7f7a52
build agent for multiple platforms ( #408 )
...
(arm, arm64, amd64, linux, windows, darwin)
2021-10-12 09:50:56 +02:00
John Olheiser
4276a04f0c
Move entirely to zerolog ( #426 )
...
Completely switch to zerolog
(Remove usage of logrus and std logger)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-12 09:25:13 +02:00
John Olheiser
9c85c8fd68
Enable pull_request hook by default on repository activation ( #420 )
...
Closes #419
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-09 03:26:35 +02:00
Masaya Watanabe
7913d6db95
Fix channel buffer used with signal.Notify ( #421 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-09 03:14:25 +02:00
Masaya Watanabe
01ebbd8c2d
Fix json tag for Pos
at struct Line
( #422 )
2021-10-09 02:43:44 +02:00
luzpaz
9b687a923e
Fix various typos ( #416 )
...
Fix various typos found via `codespell -q 3 -S vendor -L pullrequest,pullrequests`
2021-10-08 18:35:56 +02:00
6543
3254a7ca00
Fix config schema (typo in pipeline.step.when.platform) ( #417 )
...
* fix schema
* fix test fixtures
2021-10-08 18:10:17 +02:00
John Olheiser
88389e4a06
Append trailing slash to default GH API URL ( #411 )
2021-10-07 09:49:45 +02:00
Anbraten
5ef7e3c8e6
fix cli build ( #407 )
2021-10-05 01:56:11 +02:00
Anbraten
d15c642f91
Release cli images ( #404 )
...
* release cli images
* update docs
Co-authored-by: 6543 <6543@obermui.de>
2021-10-04 23:47:21 +02:00
Anbraten
f98d17c3e4
Add image migration docs ( #406 )
...
document move from `latest` to `next` as edge image
2021-10-04 23:32:56 +02:00
Anbraten
78c977f3b1
correct bin path ( #402 )
2021-10-04 21:45:01 +02:00
Anbraten
2084ff3a62
Improve release ( #400 )
...
* improve make release
* improve release
* fix release workflow
2021-10-04 19:50:21 +02:00
6543
e3354e440f
Publish alpine container ( #398 )
...
* Enable build & publish of alpine docker container
* Delete outdated BUILD file
* Move Dockerfiles into subdir "docker"
* Update & format Dockerfiles
* Introduce "next" tag
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-04 17:09:22 +02:00
6543
3837e03866
github.com/golang-jwt/jwt v3.2.2 -> v4.1.0 ( #397 )
2021-10-04 15:35:47 +02:00
Anbraten
6547ef380c
Create SECURITY.md ( #396 )
2021-10-03 16:15:58 +02:00
6543
5d8e60808d
Move cli exec flags to own file ( #380 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2021-10-03 15:07:39 +02:00
6543
169e7e5aa3
Refactor Gitlab Remote ( #358 )
...
- Replace custom client
- Update Docs
- Test if it works
- Update Tests
close #285
2021-10-03 14:42:47 +02:00
Anbraten
2f267e2a79
Rename drone-go ( #390 )
2021-10-03 00:27:43 +02:00
Anbraten
bb37836600
Replace drone strings with woodpecker ( #391 )
...
Co-authored-by: 6543 <6543@obermui.de>
2021-10-02 10:59:34 +02:00
Anbraten
ba0286d055
Remove unused files ( #392 )
2021-10-02 10:25:26 +02:00
6543
44ae414bce
Add Migrations to docs header ( #386 )
...
* Docs: add Migrations to header
* fix diff
2021-09-30 15:39:20 +02:00
Anbraten
ed6d3f3cea
Use go embed for web files and remove httptreemux ( #382 )
...
- replace togo with go embed
- replace httptreemux with gin
closes #308
2021-09-29 17:34:56 +02:00
6543
a82d569bd1
Upgrade github client ( #381 )
...
* update github client
* ajust types
2021-09-29 07:59:46 +02:00
6543
7f3a6eb17f
Update Generated Proto Code ( #351 )
...
update generated code (definitions, client implementation & server interface)
and add documentation how to generate
2021-09-29 02:10:09 +02:00