1
0
Fork 0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-12 02:25:27 +00:00
Commit graph

4169 commits

Author SHA1 Message Date
qwerty287
00a475f605
Don't show "changed files" if event can't have them ()
Closes 
2022-09-16 17:04:44 +02:00
Jan-Pieter Baert
ac2f1d26e8
Add more documentation about branch matching ()
Closes 
2022-09-14 15:31:44 +02:00
Alexis Lefebvre
3266e5f3cc
use example.com instead of foo.com ()
http://example.com/ is a reserved domain name, which is perfect for
examples, while foo.com is a random domain name
2022-09-14 15:20:27 +02:00
6543
795bbd8988
Add dedicated DroneCI env compatibility layer ()
for more info see `https://github.com/drone-plugins/drone-plugin-lib/pull/37/files` and c79d49c862
2022-09-14 09:30:37 +02:00
6543
afb02d2dd5
Update golang.org/x/net dep 2022-09-14 07:32:06 +02:00
IamIpanda
4cbee0fde2 Translated using Weblate (Chinese (Simplified))
Currently translated at 93.6% (176 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-11 02:42:28 +00:00
sbchild
c52939e464 Translated using Weblate (Chinese (Simplified))
Currently translated at 43.0% (81 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-09 05:42:27 +00:00
qwerty287
b3ac79d499 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-09 05:42:26 +00:00
Michael
6d51ba426a Translated using Weblate (French)
Currently translated at 51.0% (96 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-09 05:42:26 +00:00
qwerty287
6433dfea23
Use package's structs and fix missing clone ()
Closes 

Replaces structs that were added inline in hook structs with structs of
the corresponding SDKs. This makes it more readable and error-proof.
2022-09-07 18:16:40 +01:00
qwerty287
415903f7e8
Fix readme grammar and increase golangci-lint timeout () 2022-09-07 17:36:48 +01:00
想出网名啦
eaf05dbae8
On Repo update, keep old "Clone" if update would empty it ()
fixed  

after debugging, I found that:
if `Clone` in database is empty, before
https://github.com/woodpecker-ci/woodpecker/blob/master/server/api/hook.go#L128,
the `repo.Clone` be always unset, so clone is failed.

This PR makes the empty `Clone` can't overwrite the value in database.
2022-09-07 17:34:08 +01:00
sbchild
876cbce0f5 Added translation using Weblate (Chinese (Simplified)) 2022-09-07 13:55:30 +00:00
Daniele Tricoli
05d660f27a Translated using Weblate (Italian)
Currently translated at 18.6% (35 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-05 21:42:30 +00:00
Dylan
80cb032606 Translated using Weblate (French)
Currently translated at 26.0% (49 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-05 21:42:30 +00:00
Lauris BH
dbfa966943 Translated using Weblate (Latvian)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-09-05 21:42:29 +00:00
admin
9379fdc066 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287
fc9a9d1fc5 Translated using Weblate (German)
Currently translated at 100.0% (188 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-05 21:42:25 +00:00
qwerty287
52d3652f2e
Fetch repositories with remote ID if possible ()
Use IDs of the forge to fetch repositories instead of their names and owner names. This improves handling of renamed and transferred repos.

TODO

- [ ] try to support as many forges as possible
    - [x] Gogs (no API)
    - [ ] Bitbucket Server
    - [x] Coding (no API?)
- [x] update repo every time it is fetched or received from the forge
- [x] if repo remote IDs are not available, use owner / name to get it
- [x] handle redirections (redirect a renamed repo to its new path)
- [x] ~~pull all repos once during migration to update ID (?)~~ issue fixed by on-demand loading of remote IDs
- [x] handle redirections in web UI
- [ ] improve handling of hooks after a repo was renamed (currently it checks for a redirection to the repo)
- [x] tests
- [x] `UNIQUE` constraint for remote IDs after migration shouldn't work (all repos have an empty string as remote ID)

close 
close  partial
close https://codeberg.org/Codeberg-CI/feedback/issues/46

Possible follow-up PRs
- apply the same scheme on everything fetched from the remote (currently only users)

Co-authored-by: 6543 <6543@obermui.de>
2022-09-05 17:08:51 +02:00
Anbraten
3b0263442a
Adding initial version of Kubernetes backend ()
Co-authored-by: laszlocph <laszlo@laszlo.cloud>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Rynoxx <rynoxx@grid-servers.net>
2022-09-05 06:01:14 +02:00
6543
7778f7dc64 Translated using Weblate (German)
Currently translated at 99.4% (187 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-09-04 18:03:34 +00:00
6543
cf9305d3d3
Add Translation Platform to Docs ()
close 
2022-09-04 09:37:27 +02:00
Anbraten
dbbd369c9a
Migrate to certmagic ()
closes 
closes 

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-04 03:24:42 +02:00
admin
05dc58e667 Added translation using Weblate (Italian) 2022-09-03 21:23:43 +00:00
admin
c31d88acbd Added translation using Weblate (French) 2022-09-03 19:29:07 +00:00
admin
e2521485d2 Added translation using Weblate (Spanish) 2022-09-03 19:29:06 +00:00
Anbraten
d8f598c2ad
Only enable debug endpoints if log level is debug or below () 2022-09-03 20:48:53 +02:00
Lauris BH
d5cdd2bb04
Add dependency security check using trivy () 2022-09-03 20:46:48 +02:00
Anbraten
5ca7ede9e4
Improve logging ()
* switch default log level to info add start message and cleanup server start
* refactor code
* fix agent debug / trace logging
2022-09-03 20:41:23 +02:00
Anbraten
297732eab8
Sort pipelines based on creation date () 2022-09-03 19:58:34 +02:00
pavilo
d45310c804
Add a traefik as proxy example () 2022-09-03 19:15:26 +02:00
Anbraten
7db7e97f3f
fix (auto) cancel of blocked pipelines () 2022-09-02 22:14:38 +02:00
6543
4afddc2821
Extract commit message from branch creation ()
if commit already exist

close https://codeberg.org/Codeberg-CI/feedback/issues/52
2022-09-02 16:41:51 +02:00
6543
3f2af06bbc
Respect WOODPECKER_GITEA_SKIP_VERIFY () 2022-09-01 22:48:33 +02:00
Lauris BH
efdad4a9fc
Add option to turn on and off automatic log scrolling ()
* Add option to turn on and off log automatic scrolling

* Use vueuse storage helper
2022-09-01 20:35:34 +02:00
6543
c79d49c862
Delete old fallbacks and compatible stuff ()
Drop ...
* ... DRONE_ and deprecated pipeline environment vars
* ... deprecated sqlite3 file path
2022-09-01 14:31:12 +02:00
6543
6a2b7586e5
Add OpenSSF BP Badge ()
close 
2022-09-01 02:58:43 +02:00
Anbraten
605a048b58
Use versioned docs () 2022-09-01 01:52:52 +02:00
6543
18c1807f4f
Create mock for store and add unit tests for cron ()
* pass remote on init as argument like store

* mock store

* TestCreateBuild
2022-09-01 01:19:49 +02:00
6543
383f273392
Add cron feature ()
https://woodpecker-ci.org/docs/usage/cron

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-01 00:36:32 +02:00
6543
65587e3e30
use yaml alias and adjust build targets for docker images ()
- use yaml alias for plaftorms settings
- add linux/s390x for agent/cli release
- add linux/riscv64
- remove darwin as mac use linux in hypervisor for docker
2022-08-31 16:27:06 +02:00
6543
4e38a55c31
bump DefaultCloneImage version to v1.4.0 2022-08-30 22:28:33 +02:00
faust
9fd16f2b2e
Make it clear that MariaDB is also a supported DB () 2022-08-30 19:39:22 +02:00
6543
08a99152d6
Dedup code and migrate away from deprecated funcs ()
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-30 01:14:07 +02:00
6543
ca84f703e3
Add default event filter ()
breakout from 

when new events are added you don't have to worry that pipeline will behave different as it does now with this

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-30 00:36:37 +02:00
qwerty287
7e18e69563 Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-28 18:42:21 +00:00
David Stephens
b41b937852
Add Ansible-NAS to the awesome list () 2022-08-28 13:38:48 +02:00
vanous
30fb77f1fb
Fix local agent config example in docs () 2022-08-28 13:35:12 +02:00
6543
ae771a9931
Fix migration number () 2022-08-27 23:58:52 +02:00
6543
f15b27aadf
Remove own copy of oauth2 implementation ()
at some point (~7years ago) the oauth2 implementation was copied into the code-base and never touched.
We only use it for gitlab the rest is already back using std.

This migrates to the std oauth2 implementation
2022-08-26 21:42:41 +02:00