1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
Commit Graph

4438 Commits

Author SHA1 Message Date
Sergio Fenoll
c2ba272871
Set a default value for build-event flag of cli exec command (#1212)
Otherwise `cli exec` does not do anything due to the default constraints
applied to a pipeline (i.e., some kind of build event is expected).
2022-09-27 12:02:32 +02:00
Anbraten
70114ed1fd
Fix handling of empty strings for default docker volumes (#1209) 2022-09-27 11:43:35 +02:00
[X]
b4d89a1cce
Add ability to trigger manual builds (#1156)
closes #83 
closes #240 

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-27 11:05:00 +02:00
qwerty287
86bc751b95
Add my plugins (#1204)
Co-authored-by: Anbraten <anton@ju60.de>
2022-09-27 09:30:04 +02:00
6543
fc2b8adb58
Docs: add picus to awesome (#1206) 2022-09-27 07:30:37 +02:00
Lauris BH
2e08dd2333
Add option to set default volumes for docker backend (#1203) 2022-09-26 16:59:26 +02:00
6543
9c99406a06
Use archive.org to preserve code comment 2022-09-26 14:52:28 +02:00
Zav Shotan
ec9b0a62a7
Add support for pipeline root.when conditions (#770)
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-26 09:27:20 +02:00
Anbraten
62d82765fd
Improve plugins index (#1200)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-25 19:04:47 +02:00
qwerty287
896746a91a
Remove old CLI docs generation code (#1196)
Removes code that's not longer required because we use a newer version
of urfave/cli.

Co-authored-by: 6543 <6543@obermui.de>
2022-09-25 14:36:31 +02:00
Michael
1f3b6f717b Translated using Weblate (French)
Currently translated at 96.2% (181 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-23 14:11:00 +00:00
Anbraten
54fd85a980 Merge remote-tracking branch 'weblate/master' 2022-09-20 20:05:19 +02:00
qwerty287
d28080a9eb
Make healthcheck port configurable (#1197)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1193

Co-authored-by: 6543 <6543@obermui.de>
2022-09-19 00:07:37 +02:00
Martin Herren
1d47da647b
[Bitbucket] Use workspaces instead of deprecated/removed teams path (#1166)
Crude fix to allow to correctly list workspaces for bitbucket cloud
(https://bitbucket.org) and so run a pipeline.
Last year they removed a bunch of deprecated APIs and replaced them with
new ones.

Signed-off-by: Martin Herren <martin.herren@gmail.com>
Co-authored-by: Martin Herren <martin.herren@ecorobotix.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-09-18 09:26:13 +02:00
6543
531bdf5bd2
Hide example of YAML override and extension (#1184)
see #1192 for more info
2022-09-17 09:00:40 +02:00
qwerty287
00a475f605
Don't show "changed files" if event can't have them (#1191)
Closes #1190
2022-09-16 17:04:44 +02:00
胡昂
927d1cdddc Translated using Weblate (Chinese (Simplified))
Currently translated at 94.1% (177 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/zh_Hans/
2022-09-15 12:11:00 +00:00
Daniele Tricoli
66f666ab35 Translated using Weblate (Italian)
Currently translated at 23.4% (44 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/it/
2022-09-15 12:11:00 +00:00
Michael
8fa3b48c51 Translated using Weblate (French)
Currently translated at 88.2% (166 of 188 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-09-15 12:11:00 +00:00
Jan-Pieter Baert
ac2f1d26e8
Add more documentation about branch matching (#1186)
Closes #1183
2022-09-14 15:31:44 +02:00
Alexis Lefebvre
3266e5f3cc
use example.com instead of foo.com (#1188)
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
Alexis Lefebvre
1c4efe1582
use example.com instead of foo.com (#1188)
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:19:03 +02:00
6543
795bbd8988
Add dedicated DroneCI env compatibility layer (#1185)
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 (#1172)
Closes #1169

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 (#1173) 2022-09-07 17:36:48 +01:00
想出网名啦
eaf05dbae8
On Repo update, keep old "Clone" if update would empty it (#1170)
fixed #1169 

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 (#1078)
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 #854
close #648 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 (#552)
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 (#1168)
close #1164
2022-09-04 09:37:27 +02:00
Anbraten
dbbd369c9a
Migrate to certmagic (#360)
closes #219
closes #850

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 (#1160) 2022-09-03 20:48:53 +02:00
Lauris BH
d5cdd2bb04
Add dependency security check using trivy (#1163) 2022-09-03 20:46:48 +02:00
Anbraten
5ca7ede9e4
Improve logging (#1158)
* 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 (#1159) 2022-09-03 19:58:34 +02:00
pavilo
d45310c804
Add a traefik as proxy example (#1162) 2022-09-03 19:15:26 +02:00