oauth
d4b0f37047
Merge branch 'origin/main' into 'next-release/main'
2024-04-16 06:16:48 +00:00
Anbraten
d494b6a959
Use forge from db ( #1417 )
...
This is the first step towards support for multiple forges (#138 ). It
inserts a forge using the currently existing env varaibles into db and
uses this forge from db later on in all places of the code.
closes #621
addresses #138
# TODO
- [x] add forges table
- [x] add id of forge to repo
- [x] use forge of repo
- [x] add forge from env vars to db if not exists
- [x] migrate repo.ForgeID to the newly generated forge
- [x] support cache with forge from repo
- [x] maybe add forge loading cache? (use LRU cache for forges, I expect
users to have less than 10 forges normally)
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-16 08:04:55 +02:00
oauth
c966906642
🎉 Release 2.5.0
2024-04-16 05:51:34 +00:00
oauth
ddba5f8320
Merge branch 'origin/main' into 'next-release/main'
2024-04-16 05:51:34 +00:00
Elara
0a38fb89db
Add Twine plugin ( #3619 )
...
This PR adds my plugin for the [Twine](https://github.com/pypa/twine/ )
tool. It lets users upload python projects to PyPi.
2024-04-16 07:43:10 +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
oauth
1198142b56
🎉 Release 2.5.0
2024-04-15 15:49:14 +00:00
oauth
c7c360101f
Merge branch 'origin/main' into 'next-release/main'
2024-04-15 15:49:14 +00:00
Robert Kaussow
781628816d
Fix make in_docker generate ( #3616 )
2024-04-15 17:46:44 +02:00
Robert Kaussow
21f87b4b1d
Remove review button from approval view ( #3617 )
...
Not required anymore after
https://github.com/woodpecker-ci/woodpecker/pull/2757 was merged.
2024-04-15 16:42:19 +02:00
oauth
d1f8a04edc
🎉 Release 2.5.0
2024-04-15 08:10:52 +00:00
oauth
5d1f032207
Merge branch 'origin/main' into 'next-release/main'
2024-04-15 08:10:52 +00: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
qwerty287
b177d82064
Fix docs ( #3615 )
...
from #3268
2024-04-15 09:39:58 +02:00
oauth
0814dcff5e
🎉 Release 2.5.0
2024-04-15 07:11:10 +00:00
oauth
d5005b8f93
Merge branch 'origin/main' into 'next-release/main'
2024-04-15 07:11:10 +00:00
Elias
f211a780f3
Handle ImagePullBackOff pod status ( #3580 )
...
close: https://github.com/woodpecker-ci/woodpecker/issues/3555
Put the same logic from `waitStep` and call the function
`isImagePullBackOffState` in the `tailStep` function.
---------
Co-authored-by: elias.souza <elias.souza@quintoandar.com.br>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-15 09:08:13 +02:00
oauth
5acbd0ac7d
🎉 Release 2.5.0
2024-04-15 00:00:16 +00:00
oauth
b1214e930d
Merge branch 'origin/main' into 'next-release/main'
2024-04-15 00:00:16 +00:00
Thomas Anderson
b8763a8f34
Step logs removing API and Button ( #3451 )
...
Closes #3444
closes #1272
---
Admin:



User:

2024-04-15 01:50:50 +02:00
oauth
f1273c811f
🎉 Release 2.5.0
2024-04-14 23:32:14 +00:00
oauth
a61f9a0395
Merge branch 'origin/main' into 'next-release/main'
2024-04-14 23:32:14 +00:00
Robert Kaussow
b4cd1da29c
Apply skip ci filter only on push events ( #3612 )
...
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/3606
2024-04-14 15:25:28 +03:00
oauth
5355ad760c
🎉 Release 2.5.0
2024-04-10 10:33:40 +00:00
oauth
411dcf8ede
Merge branch 'origin/main' into 'next-release/main'
2024-04-10 10:33:40 +00:00
6543
399bc5bf1b
Document how to enable parallel step exec for all steps ( #3605 )
...
Document how depends_on work in more details
---------
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-10 12:31:42 +02:00
oauth
0eb2a5a832
🎉 Release 2.5.0
2024-04-09 13:55:02 +00:00
oauth
76797f0762
Merge branch 'origin/main' into 'next-release/main'
2024-04-09 13:55:02 +00:00
qwerty287
b0c9dfd2cf
Fix bitbucket file fetching ( #3604 )
...
closes https://github.com/woodpecker-ci/woodpecker/issues/3600
2024-04-09 11:30:04 +02:00
qwerty287
c9a3bfb321
Fix spellcheck and enable more dirs ( #3603 )
2024-04-09 09:04:53 +02:00
oauth
6133ff0935
🎉 Release 2.5.0
2024-04-09 06:06:41 +00:00
oauth
2eb035b63e
Merge branch 'origin/main' into 'next-release/main'
2024-04-09 06:06:41 +00:00
nemunaire
8e45ddd58b
agent: Continue to retry indefinitely ( #3599 )
...
When the woodpecker server is not reachable (eg. for update,
maintenance, agent connection issue, ...) for a long period of time, the
agent tries continuously to reconnect, without any delay. This creates
**several GB** of logs in a short period of time.
Here is a sample line, repeated indefinitely:
```
{"level":"error","error":"rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp x.x.x.x:xxx: connect: connection refused\"","time":"2024-04-07T17:29:59Z","message":"grpc error: done(): code: Unavailable"}
```
It appears that the [backoff
package](https://pkg.go.dev/github.com/cenkalti/backoff/v4#BackOff ),
after a certain amount of time, returns `backoff.Stop` (-1) instead of a
valid delay to wait. It means that no more retry should be made, [as
shown in the
example](https://pkg.go.dev/github.com/cenkalti/backoff/v4#BackOff ). But
the code doesn't handle that case and takes -1 as the next delay.
This led to continuous retry with no delay between them and creates a
huge amount of logs.
[`MaxElapsedTime` default is 15
minutes](https://pkg.go.dev/github.com/cenkalti/backoff/v4#pkg-constants ),
passed this time, `NextBackOff` returns `backoff.Stop` (-1) instead of
`MaxInterval`.
This commit sets `MaxElapsedTime` to 0, [to avoid `Stop`
return](https://pkg.go.dev/github.com/cenkalti/backoff/v4#ExponentialBackOff ).
2024-04-09 03:24:19 +03:00
oauth
2dcedd3671
🎉 Release 2.5.0
2024-04-08 06:06:26 +00:00
oauth
add595093b
Merge branch 'origin/main' into 'next-release/main'
2024-04-08 06:06:26 +00:00
renovate[bot]
d0e63375fa
Update docker.io/golang Docker tag to v1.22.2 ( #3596 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.io/golang | patch | `1.22.1` -> `1.22.2` |
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 07:54:28 +02:00
renovate[bot]
e1b8fa6a67
Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 ( #3597 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks )
| repository | minor | `v4.5.0` -> `v4.6.0` |
Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new )
if you have any questions.
---
### Release Notes
<details>
<summary>pre-commit/pre-commit-hooks
(pre-commit/pre-commit-hooks)</summary>
###
[`v4.6.0`](https://togithub.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0 ):
pre-commit-hooks v4.6.0
[Compare
Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
##### Features
- `requirements-txt-fixer`: remove duplicate packages.
-
[#​1014](https://togithub.com/pre-commit/pre-commit-hooks/issues/1014 )
PR by
[@​vhoulbreque-withings](https://togithub.com/vhoulbreque-withings ).
-
[#​960](https://togithub.com/pre-commit/pre-commit-hooks/issues/960 )
issue [@​csibe17](https://togithub.com/csibe17 ).
##### Migrating
- `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0. use
[pyupgrade](https://togithub.com/asottile/pyupgrade ) or some other tool.
-
[#​1033](https://togithub.com/pre-commit/pre-commit-hooks/issues/1033 )
PR by [@​mxr](https://togithub.com/mxr ).
-
[#​1032](https://togithub.com/pre-commit/pre-commit-hooks/issues/1032 )
issue by [@​mxr](https://togithub.com/mxr ).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 07:27:22 +02:00
qwerty287
ce57128317
Translated using Weblate (German)
...
Currently translated at 100.0% (371 of 371 strings)
Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-04-06 15:57:38 +00:00
renovate[bot]
50ddc61576
Update module github.com/google/go-github/v60 to v61 ( #3595 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/google/go-github/v60](https://togithub.com/google/go-github )
| `v60.0.0` -> `v61.0.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>google/go-github (github.com/google/go-github/v60)</summary>
###
[`v61.0.0`](https://togithub.com/google/go-github/releases/tag/v61.0.0 )
[Compare
Source](https://togithub.com/google/go-github/compare/v60.0.0...v61.0.0 )
This release contains the following breaking API changes:
- feat!: Update deprecated endpoints in github/action_variables.go
([#​3104](https://togithub.com/google/go-github/issues/3104 ))
...and the following additional changes:
- Bump go-github from v59 to v60 in /scrape
([#​3087](https://togithub.com/google/go-github/issues/3087 ))
- Allow querying rule set information by ID with information returned
from GetRulesFromBranch
([#​3089](https://togithub.com/google/go-github/issues/3089 ))
- Bump codecov/codecov-action from 4.0.2 to 4.1.0
([#​3091](https://togithub.com/google/go-github/issues/3091 ))
- Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 in /scrape
([#​3092](https://togithub.com/google/go-github/issues/3092 ))
- Add Protection to Branch struct
([#​3095](https://togithub.com/google/go-github/issues/3095 ))
- Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0 in /tools
([#​3097](https://togithub.com/google/go-github/issues/3097 ))
- Bump golang.org/x/net from 0.21.0 to 0.22.0 in /scrape
([#​3096](https://togithub.com/google/go-github/issues/3096 ))
- Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /example
([#​3099](https://togithub.com/google/go-github/issues/3099 ))
- Add audit log rate limit category and make rate limit category getter
public
([#​3088](https://togithub.com/google/go-github/issues/3088 ))
- Update README.md
([#​3110](https://togithub.com/google/go-github/issues/3110 ))
- Allow Installation of Custom Properties Permissions
([#​3108](https://togithub.com/google/go-github/issues/3108 ))
- Add NotificationSetting to NewTeam
([#​3111](https://togithub.com/google/go-github/issues/3111 ))
- Fix pagination for ListCopilotSeats
([#​3112](https://togithub.com/google/go-github/issues/3112 ))
- Add .\*.local to .gitignore
([#​3115](https://togithub.com/google/go-github/issues/3115 ))
- Add CreateOrUpdateRepoCustomPropertyValues
([#​3109](https://togithub.com/google/go-github/issues/3109 ))
- Bump version of go-github to v61.0.0
([#​3118](https://togithub.com/google/go-github/issues/3118 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 08:00:59 +02:00
oauth
3b345dabef
🎉 Release 2.5.0
2024-04-06 00:45:40 +00:00
oauth
18d4c3d0d3
Merge branch 'origin/main' into 'next-release/main'
2024-04-06 00:45:40 +00:00
Michael
7b731d6b9e
Translated using Weblate (French)
...
Currently translated at 100.0% (371 of 371 strings)
Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2024-04-04 16:57:37 +00:00
Robert Kaussow
781749605e
Temp exclude huh/spinner from renovate ( #3588 )
...
Ref: https://github.com/woodpecker-ci/woodpecker/pull/3585
There seems to be an issue in renovate when updating modules from a
subdirectory of another module. I'll create an upstream issue/discussion
later.
2024-04-03 16:19:52 +02:00
Robert Kaussow
c92ded726f
Avoid brances in group names ( #3589 )
...
Removes brackets from group names, as these are also used for branch
names and brackets lead to problems with tab completion on the cli.
2024-04-03 09:48:14 +02:00
oauth
c2388980d7
🎉 Release 2.5.0
2024-04-03 06:13:35 +00:00
oauth
981e1ee5e5
Merge branch 'origin/main' into 'next-release/main'
2024-04-03 06:13:35 +00:00
qwerty287
eaf10611eb
Allow to disable deployments ( #3570 )
...
…but if they're enabled, allow for all events. Also add warning that you
should only enable it if you trust the users with push access.
closes #3559
---------
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-04-02 22:03:37 +02:00
Robert Kaussow
a6e054f9fe
Remove datastore testfiles ( #3584 )
...
Ref: https://github.com/woodpecker-ci/woodpecker/pull/3227/files
2024-04-02 10:10:29 +02:00
oauth
466476dbb7
🎉 Release 2.5.0
2024-04-01 07:15:32 +00:00
oauth
46dc3b653b
Merge branch 'origin/main' into 'next-release/main'
2024-04-01 07:15:32 +00:00