6543
32d1ec7cec
Remove all default privileged plugins ( #4053 )
2024-09-02 10:41:20 +02:00
6543
3c8204a0e0
Allow alter trusted clone plugins and filter them via tag ( #4074 )
2024-09-01 20:41:10 +02:00
hg
37d1ca8bc1
Read long log lines from file storage correctly ( #4048 )
2024-08-25 22:53:04 +02:00
qwerty287
107564f54c
Show error if secret name is missing ( #4014 )
2024-08-08 00:26:50 +02:00
smainz
c7b64e24ab
Make cli plugin log purge recognize steps by name ( #3953 )
2024-07-21 11:36:01 +02:00
6543
7903d6f357
CLI: remove step-id and add step-number as option to logs ( #3927 )
2024-07-19 09:29:22 +02:00
smainz
49c2029cad
Cli fix pipeline logs ( #3913 )
...
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-18 20:39:18 +02:00
6543
cd5f6f71a2
Migrate to github.com/urfave/cli/v3 ( #2951 )
2024-07-18 01:26:35 +02:00
qwerty287
a076393561
Exclude dummy backend in production ( #3877 )
2024-07-08 16:29:43 +02:00
Anbraten
ceb14cadc5
Fix deploy task env ( #3878 )
2024-07-07 13:43:07 +02:00
Anbraten
e118f8d980
Ignore warnings for cli exec ( #3868 )
2024-07-03 16:22:09 +02:00
Anbraten
38b8a55714
Get default branch and show message in pipeline list ( #3867 )
2024-07-03 15:58:51 +02:00
Lauris BH
28e982fffb
Global and organization registries ( #1672 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-07-03 06:33:11 -07:00
Anbraten
ba858d67cc
Adjust logger types ( #3859 )
2024-07-01 19:03:14 +02:00
6543
daeab8d3c7
Add dummy backend ( #3820 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-30 23:06:07 -07:00
Anbraten
e9e512bcdd
Cli get repo from git remote ( #3830 )
2024-06-25 00:39:18 +02:00
Anbraten
8b387e73ee
Improve step logging ( #3722 )
2024-06-13 17:18:32 +02:00
Anbraten
2c7edbf4c8
Fix config loading of cli ( #3764 )
2024-06-06 13:30:08 +02:00
qwerty287
d28e150534
Use http constants ( #3766 )
2024-06-06 11:16:45 +02:00
Lukas Bachschwell
9b859b3c9e
Correct repo repair success message in cli ( #3757 )
2024-06-04 07:44:57 +02:00
6543
42f2734308
cspell lint go code ( #3706 )
2024-05-24 22:35:04 +02:00
Robert Kaussow
89e100cfd1
Add godot linter to harmonitze toplevel comments ( #3650 )
2024-05-13 22:58:21 +02:00
Fernando Barbosa
e6bda2c2b3
Support github deploy task ( #3512 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-02 18:56:19 +02:00
Robert Kaussow
e229a8e633
Add cli output handlers ( #3660 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-05-02 08:43:46 +02:00
Anbraten
dbd91d3884
Cleanup api docs and ts api-client options ( #3663 )
2024-05-01 11:50:41 +02:00
Thomas Anderson
b02f2df89e
CLI: remove step logs ( #3458 )
...
On top of #3451 , addresses [PR
note](https://github.com/woodpecker-ci/woodpecker/pull/3451#discussion_r1505438144 )
related to #1100
Not tested.
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-04-22 19:11:59 +02:00
Anbraten
0aee9d7342
fix cli config loading and correct comment ( #3618 )
...
closes #3553
https://github.com/woodpecker-ci/woodpecker/pull/3518#discussion_r1542662674
2024-04-15 21:18:02 +02:00
qwerty287
00f0fcd416
Rework addons (use rpc) ( #3268 )
...
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-15 10:04:21 +02:00
Anbraten
c2a8464512
Fix cli version comparison and improve setup command ( #3518 )
2024-03-28 10:36:39 +01:00
manuelluis
9c684b7a22
Add option to set the local repository path to the cli command exec. ( #3524 )
...
The cli command exec not handle in a coherent way the repository path
when a directory or filename is given for the pipeline.
` woodpecker-cli exec [command options] [path/to/.woodpecker.yaml]`
If the path to the pipeline is a file in the `.woodpecker` directory,
for example: `.woodpecker/pipeline.yaml`,
the repository path will be: `.woodpecker`
If the path to the pipeline yaml is a directory with more than one
level, for example `ci/woodpecker/`,
the repository path will be: `ci`
In order not to break the old behavior we added a new option to put the
root directory of the repository:
~~~
woodpecker-cli exec --local --repo-path . --pipeline-event manual
.woodpecker/build.yml
~~~
2024-03-21 00:19:48 +01:00
manuelluis
00b1651f47
Exclude setup from cli command exec. ( #3523 )
...
The woodpecker-cli exec command only execute local pipelines so setup
for remote server is not needed.
2024-03-20 17:45:46 +01:00
Anbraten
b6b2ab0901
Fix skip setup for some general cli commands ( #3498 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-18 13:08:05 +01:00
Robert Kaussow
a779eed3df
Enable golangci linter gomnd ( #3171 )
2024-03-15 18:00:25 +01:00
Anbraten
03c891eb93
Cli setup command ( #3384 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-13 11:08:22 +01:00
Anbraten
cee890d359
Fix disable update check flag name ( #3412 )
2024-02-19 10:04:55 +01:00
Anbraten
30b92edc99
Cli updater ( #3382 )
2024-02-19 09:16:27 +01:00
Anbraten
6785806873
Fix backend detection ( #3353 )
...
closes #3352
2024-02-09 00:04:43 +01:00
qwerty287
f92f8b17a3
Make agent usable for external backends ( #3270 )
2024-02-08 16:33:22 +01:00
qwerty287
9df572ef31
Add release
event trigger ( #3226 )
...
Supersedes #764
Bitbucket does not support release webhooks.
---------
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-30 17:39:00 +01:00
qwerty287
001b5639a6
Use assert
for test ( #3201 )
...
instead of `if`s
2024-01-14 19:33:58 +01:00
qwerty287
b9f6f3f9fb
Replace goimports
with gci
( #3202 )
...
`gci` seems to be much more strict.
2024-01-14 18:22:06 +01:00
qwerty287
45bf8600ef
Remove multipart logger ( #3200 )
2024-01-14 10:54:02 +01:00
6543
a5fa810bcc
cli exec
: let override existing environment values but print a warning (#3140 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2024-01-12 15:24:30 +01:00
Robert Kaussow
f813badcf9
Enable golangci linter contextcheck ( #3170 )
...
Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
2024-01-11 22:15:15 +01:00
qwerty287
b0a2b1cf2d
Lowercase all log strings ( #3173 )
...
from #3161
---------
Co-authored-by: 6543 <6543@obermui.de>
2024-01-11 19:17:07 +01:00
Robert Kaussow
7756c60a33
Enable golangci linter stylecheck ( #3167 )
...
This PR only fixes error string formatting, log message strings are
still mixed upper/lowercase (see
https://github.com/woodpecker-ci/woodpecker/pull/3161#issuecomment-1885140649 )
and I'm not aware of a linter to enforce it.
2024-01-10 22:56:42 +01:00
qwerty287
00df53e941
Clean up logging ( #3161 )
...
- use `Err` method instead of format strings
- use `Msg` if no format string is used
2024-01-10 20:57:12 +01:00
qwerty287
12c40eb957
Enable gocritic
and don't ignore globally ( #3159 )
...
Use `nolint` directives instead.
From #2960
2024-01-10 15:34:44 +01:00
6543
cd59a85230
Use name in backend types instead of alias ( #3142 )
2024-01-09 15:22:59 +01:00
qwerty287
0c05c38ddd
Move cmd/common
to shared
( #3092 )
2023-12-31 23:29:56 +01:00