qwerty287
b0a2b1cf2d
Lowercase all log strings ( #3173 )
...
from #3161
---------
Co-authored-by: 6543 <6543@obermui.de>
2024-01-11 19:17:07 +01:00
qwerty287
f56f9cb1c0
Cleanups + prefer .yaml ( #3069 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-01-11 18:43:54 +01:00
Robert Kaussow
489be65805
Remove duplicate golangci linter ( #3172 )
...
`whitespace` is listed twice
2024-01-11 18:01:24 +01:00
6543
d1fe86b7be
Use UUID as podName and cleanup arguments for Kubernetes backend ( #3135 )
...
to much args are just horrible to maintain. And we already have it nice
structured stored as step.
2024-01-11 16:32:37 +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
qwerty287
aef3f8f3ef
Remove steps for publishing release branches ( #3125 )
2024-01-10 15:10:56 +01:00
qwerty287
f3420716ab
Fix startup panic ( #3160 )
...
introduced by #3129
2024-01-10 13:50:49 +01:00
qwerty287
1b380ff4b4
Enable nolintlint
( #3158 )
2024-01-10 12:11:18 +01:00
qwerty287
768fd71841
Enable some linters ( #3129 )
...
Mostly those that did not require much work.
From #2960
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 21:35:37 +01:00
qwerty287
631b7c2fed
Fix feed sorting ( #3155 )
...
Closes #2915
2024-01-09 20:01:18 +01:00
qwerty287
7786028b4a
Add continous deployment cookbook ( #3098 )
...
Supersedes https://github.com/woodpecker-ci/woodpecker/pull/2019
---------
Co-authored-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 19:47:25 +01:00
qwerty287
d6b98cf95e
Remove prefix from services ( #3079 )
...
supersedes https://github.com/woodpecker-ci/woodpecker/pull/1960
~~Blocked by https://github.com/woodpecker-ci/woodpecker/pull/3143~~
Co-authored-by: 6543 <6543@obermui.de>
2024-01-09 18:56:24 +01:00
6543
a63135363b
Step status update dont set to running again once it got stoped ( #3151 )
...
Because of the check `if step.Stopped == 0`
without the check there are edgecases where could be the case a stoped
steped can be markt as running again, witch is wrong.
I do remember we have "running" steps indefinetly in cancled pipelines.
This could be the fix, i just did not test that specific.
Anyway the func hat a good testcoverage ... so just look at the tests
_Source:
https://github.com/woodpecker-ci/woodpecker/pull/3143#discussion_r1446138088_
2024-01-09 18:34:55 +01:00
6543
c91c6fbe9e
TestToConfigSmall ignore sort order of env vars ( #3154 )
...
so this https://ci.woodpecker-ci.org/repos/3780/pipeline/11803/30 can
not randomly happen
2024-01-09 18:34:11 +01:00
6543
2e26a526b1
Add make clean-all
( #3152 )
...
Add make target, witch delete all generated stuff too
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-01-09 17:53:56 +01:00
6543
e3cf7b212c
fix also test of #3137
2024-01-09 16:36:17 +01:00
6543
06538504f8
fix regression: save env into configEnv
...
introduced by #3137
2024-01-09 16:28:10 +01:00
6543
02ea3369d5
ci: run release/publish cli after agent to have less ram consumption ( #3153 )
2024-01-09 16:10:15 +01:00
6543
11d70a894d
use animate-spin class ( #3150 )
2024-01-09 15:42:23 +01:00
6543
aab2f0e675
Use step uuid instead of name in GRPC status calls ( #3143 )
...
close #3109
~~also fix start time of steps to be set correctly~~ edgecase do not hit
anymore as we have a clear sepperation between workflows and steps now
:)
---------
Co-authored-by: Anbraten <anton@ju60.de>
2024-01-09 15:39:09 +01:00
6543
cd59a85230
Use name in backend types instead of alias ( #3142 )
2024-01-09 15:22:59 +01:00
6543
1eacf74376
Remove duplicate assignment of CI_STEP_NAME
( #3139 )
...
Co-authored-by: Anbraten <anton@ju60.de>
2024-01-09 08:56:28 +01:00
Micash
a1c9c3dfe4
Make k8s backend configuration docs in the same format as others ( #3081 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-09 08:28:35 +01:00
6543
1ee2b8c41c
Make service icon rotate ( #3149 )
...
add animation for color blind people
[video](https://cloud.obermui.de/s/adpxqpMw6dEgZcC/download/recording_woodpecker-pull-3148.mkv )
2024-01-09 07:45:41 +01:00
6543
5715bd1027
Make Service Icons work as enum was wrong ( #3148 )
...
make #3078 work as enum was wrong.
![image](https://github.com/woodpecker-ci/woodpecker/assets/24977596/933cf69d-9884-4e29-ac7b-21b58a52b870 )
2024-01-09 07:30:43 +01:00
6543
12df59d0ec
Add step name as label to docker containers ( #3137 )
...
and add a test
2024-01-09 06:01:34 +01:00
6543
c64340cf8f
Use UUID instead of step name where possible ( #3136 )
...
things I found while looking at #3109
2024-01-09 05:43:03 +01:00
6543
31614d0e38
Use step type to detect services in Kubernetes backend ( #3141 )
...
and use the correct name for tail log
---------
Co-authored-by: Anbraten <anton@ju60.de>
2024-01-09 05:42:36 +01:00
6543
549d095ff3
Use js-base64 on pipeline log page ( #3146 )
...
followup of #3110
2024-01-09 03:45:30 +01:00
6543
6985c895e3
fix(deps): update docs npm deps non-major ( #3145 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 03:08:00 +01:00
6543
89cabf7027
docs: bump follow-redirects because of sec issue ( #3144 )
...
CVE-2023-26159
2024-01-09 02:40:41 +01:00
qwerty287
cd0c89ced9
Hide backend config options from TOC ( #3126 )
2024-01-08 18:40:43 +01:00
qwerty287
106508a094
Make config linking non-unique ( #3128 )
...
closes https://github.com/woodpecker-ci/woodpecker/issues/3093
2024-01-07 16:12:27 +01:00
qwerty287
ade56ce1da
Add X/Twitter account ( #3127 )
2024-01-07 13:48:08 +01:00
Weblate
4a0d5f1391
Translated using Weblate (German)
...
Currently translated at 100.0% (363 of 363 strings)
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translation: Woodpecker CI/UI
2024-01-06 19:46:20 +00:00
Patrick Schratz
bd67376e60
Add ansible plugin ( #3115 )
2024-01-05 08:43:20 +01:00
Michael Nikitochkin
bcc210da62
Format depends_on example ( #3118 )
...
There is incosistent spaces in the example, and base on it it is not
clear where the `depends_on` should be. Update the code block to have
consistent number of spaces.
https://woodpecker-ci.org/docs/next/usage/workflow-syntax#depends_on
Before:
<img width="1013" alt="image"
src="https://github.com/woodpecker-ci/woodpecker/assets/21104/6299ebf4-4cc7-42d9-8525-cdf4491c4c99 ">
After:
<waiiting>
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-05 08:38:31 +01:00
Weblate
c3aec61bfc
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (363 of 363 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (362 of 362 strings)
Co-authored-by: Blezz Rot <markus.jenya04@yandex.ru>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
Translation: Woodpecker CI/UI
2024-01-05 07:34:01 +00:00
Thomas Anderson
c0fc4828ff
Flexible image pull secret reference ( #3016 )
...
Co-authored-by: pat-s <patrick.schratz@gmail.com>
2024-01-05 08:33:56 +01:00
Lukas
4a88e3727b
Always show pipeline step list ( #3114 )
...
Closes #1845
Will always show the pipeline step list for failed pipelines, declined
pipelines and blocked pipelines.
Example screenshot of a failed pipeline:
![image](https://github.com/woodpecker-ci/woodpecker/assets/32853499/c43618f2-b49e-4b42-908c-95c5f641ba4a )
2024-01-04 10:10:54 +01:00
Lukas
f8a4d72381
Add loading spinner and no pull request text ( #3113 )
2024-01-03 19:39:45 +01:00
qwerty287
1742fb2b97
Fix indentation and identification ( #3111 )
2024-01-03 18:33:31 +01:00
Lukas
7c4a61a17f
Fix timeout settings contrast ( #3112 )
2024-01-03 18:18:54 +01:00
Lukas
ef3dabc679
Fix config base64 parsing to utf-8 ( #3110 )
...
Closes #2609
2024-01-03 10:39:04 +01:00
qwerty287
9ea4b6af39
Fix version.json
updates ( #3057 )
...
closes #3038
closes #2748
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-03 10:31:48 +01:00
Lukas
857db91634
Unfold workflow when opening via URL ( #3106 )
...
Closes #2938
2024-01-03 01:33:46 +01:00
qwerty287
d815b20c54
Remove env argument of addons ( #3100 )
...
This argument is pretty useless, so let's remove it and let addons get
their config on their own.
Note that this is a breaking change, but as [per
docs](https://woodpecker-ci.org/docs/next/administration/addons/overview )
the addon implementation can change at any time.
2024-01-02 19:54:34 +01:00
Lukas
07587d6b97
Use WOODPECKER_AGENT_SECRET instead of deprecated alternative ( #3103 )
2024-01-02 10:48:40 +01:00