6543
5b88bc75ab
Allow gitea dev version ( #914 ) ( #1988 )
...
Backport #914
Close #1987
* update gitea sdk to latest
* As before try to autodetect gitea version, if this does not work,
assume it's latest version (v1.17.0 atm)
2023-07-12 23:43:32 +02:00
6543
50ca74bfc0
Update github.com/gin-gonic/gin to 1.9.1 ( #1989 )
...
fix CVE-2023-26125 and CVE-2023-29401
2023-07-12 23:35:33 +02:00
6543
a717c339ba
Changelog v0.15.10 ( #1954 )
2023-07-09 12:29:16 +02:00
6543
3bf1b57837
Fix agent auth ( #1952 ) ( #1953 )
...
backport #1952
don't authenticate agent if no global agent token is set
2023-07-08 20:19:23 +03:00
qwerty287
fc7aacb663
Return after error ( #1875 ) ( #1876 )
...
Backport #1875
2023-06-19 17:52:21 +02:00
qwerty287
b02354658b
Update github.com/docker/distribution ( #1750 )
2023-05-13 20:10:10 +02:00
6543
f4de8c7797
Add Changelog v0.15.9 ( #1746 )
2023-05-11 16:06:05 +02:00
6543
f92980839c
Add securitycheck and bump deps where needed ( #1745 )
...
Address:
- github.com/docker/docker / github.com/containerd/containerd
- CVE-2022-23471, CVE-2023-25153, CVE-2023-25173, CVE-2023-28840,
CVE-2023-28841, CVE-2023-28842
- github.com/moby/moby
- GHSA-vp35-85q5-9f25
- google.golang.org/protobuf
- CVE-2023-24535, GHSA-hw7c-3rfg-p46j
2023-05-11 04:27:31 +02:00
John Olheiser
b16be29af4
Changelog 0.15.8 ( #1723 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-04-29 23:23:01 +02:00
6543
838bd8c686
Use codeberg.org/6543/go-yaml2json ( #1719 )
2023-04-29 12:39:39 +02:00
Marcin Puc
f6811a2084
Fix faulty hardlink in release tarball ( #1671 )
2023-03-22 15:25:49 +01:00
Alex Eftimie
653e68fc39
Persist DepStatus
of tasks ( #1610 ) ( #1625 )
...
backport #1610 to the `release/v0.15` branch
Co-authored-by: Lukasz <106734180+lukaszgyg@users.noreply.github.com>
2023-03-15 15:32:53 +01:00
6543
a08a07206a
Move helm charts to own repo "helm" ( #1589 )
...
-> https://github.com/woodpecker-ci/helm
Signed-off-by: 6543 <6543@obermui.de>
2023-03-14 15:29:00 +01:00
6543
e0ba34f74e
Changelog v0.15.7 ( #1622 )
2023-03-14 15:18:42 +01:00
6543
d07c66d956
fix: docker backend should not close 'engine.Tail' result ( #1616 ) ( #1620 )
...
Backport #1616
Close #1615
The error described in
https://github.com/woodpecker-ci/woodpecker/issues/1615 is happening
because `Tail` method of the docker backend closes the instance of
`io.ReadCloser` it returns in `defer` function. As a result anything
that try to read data returned by `Tail` method eventually will attempt
to read from closes reader and get an error:
2171212c5a/pipeline/backend/docker/docker.go (L229)
The fix is just don't close returned reader and let the consumer of
`Tail` method do it. Good thing is that `Tail` is used only in one place
and reader is correctly closed:
2171212c5a/pipeline/pipeline.go (L231-L237)
Example of `woodpecker exec` output using pipeline from
https://github.com/woodpecker-ci/woodpecker/issues/1615 with the fix:
```
woodpecker exec .woodpecker.yaml
[step1:L0:0s] + echo step1
[step1:L1:0s] step1
[step2:L0:0s] + echo step2
[step2:L1:0s] step2
```
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-03-14 12:22:52 +01:00
6543
648cd606bc
Update dependencies golang/x libs ( #1612 ) ( #1621 )
...
Backport #1612
`go get -u golang.org/x/...`
2023-03-14 12:33:58 +02:00
6543
e0a497a4a5
Bump xgo and go to v1.19.5 ( #1538 ) ( #1547 )
...
Backport #1538
2023-01-15 17:35:33 +01:00
6543
7fa68a80eb
Pin official default clone image ( #1526 ) ( #1534 )
...
backport #1526
2023-01-10 20:15:05 +01:00
6543
36fbd3a2bc
[Backport] sanitizeParamKey "-" to "_" for plugin settings ( #1511 )
...
da997fa34a/pipeline/frontend/yaml/compiler/settings/params.go (L45-L49)
2022-12-31 19:21:34 +02:00
6543
aa5be76c2b
ci: cross-compile-server: force pure Go resolver ( #1502 ) ( #1503 )
...
backport #1502
2022-12-25 20:55:35 +02:00
6543
84e428122d
Add Changelog for v0.15.6 ( #1498 )
2022-12-23 19:22:28 +01:00
6543
bad0df4ae8
ci: pin golang version ( #1499 )
2022-12-23 19:19:25 +01:00
Anbraten
414df473f9
Disable metrics access if no token is set ( #1470 )
...
backport of #1469
2022-12-23 18:13:00 +01:00
6543
7651c7311d
bump DefaultCloneImage version to v2.0.x
2022-12-23 18:05:15 +01:00
6543
9128c9156d
Update golang.org/x/net ( #1494 )
...
Fix CVE-2022-41717
2022-12-23 18:02:58 +01:00
6543
86e4985147
Bump frontend dependencies and remove unused ( #1404 )
...
close #1266
2022-11-06 21:14:58 +01:00
Michael
e95aaaa8de
Update json schema for cli lint to cover valid cases ( #1384 )
...
This is a follow up on #1379 and #1381 , after fixing those (I noticed
them while building a pipeline for one of my projects) I took a deep
dive into the schema, and consolidated the functionality as far as
possible.
As a reference, I matched it against
pipeline/frontend/yaml/constraint//constraints.go of the release/v0.15
branch.
The .branches while not in the pipeline uses the Type (List) and
functions of pipeline/frontend/yaml/constraint//constraints.go
Regarding the formatting i went with what was already there, since
enabling editorconfig / formatting would have changed most of the file
(not that there is too much untouched after this anyways)
2022-11-05 00:08:56 +01:00
Michael
80080bdf47
Add pipeline.step.when.branch string-array type to schema.json ( #1380 )
...
Previously the schema only accepted string, this fixes #1379 and matches
the linter to the existing capabilities of the constraints.go (and
therefore server).
2022-11-01 13:13:02 +01:00
6543
3127ba9c7c
Display system CA error only if there is an error ( #870 ) ( #1286 )
...
Backport #870
Close #1281
Co-authored-by: mscherer <mscherer@users.noreply.github.com>
2022-10-18 10:09:15 +02:00
6543
5d95a7cede
disable lint step
2022-10-14 13:34:09 +02:00
6543
5a267a5ea8
update golang.org/x/text v0.3.7 -> v0.3.8
...
CVE-2022-32149
2022-10-14 12:18:05 +02:00
6543
8acc1b6875
Update dep moby ( #1263 ) ( #1264 )
...
backport #1263
2022-10-14 12:13:10 +02:00
6543
328f10447a
Changelog v0.15.5 ( #1255 )
2022-10-13 18:12:27 +02:00
6543
cc01c5b064
Bump DefaultCloneImage version to v1.6.0 ( #1254 )
...
backport 47e212fd5e
2022-10-13 17:48:51 +02:00
Lauris BH
4669c1bc2a
Change build message column type to text ( #1252 ) ( #1253 )
...
Backport #1252
2022-10-13 16:51:25 +02:00
6543
6460b4c96d
On Repo update, keep old "Clone" if update would empty it ( #1170 ) ( #1195 )
...
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.
Co-authored-by: 想出网名啦 <a15315862177@163.com>
2022-09-19 00:18:24 +02:00
Alexis Lefebvre
25280f1497
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:15:06 +02:00
6543
441f59b39b
Update golang.org/x/net dep
2022-09-14 07:39:03 +02:00
6543
bffdc0a7bf
Partial-Backport of pipeline from current master ( #1167 )
2022-09-04 23:25:40 +02:00
6543
98dae07c59
Add Changelog for v0.15.4 ( #1165 )
2022-09-04 17:33:04 +02:00
6543
9e3dceda48
Extract commit message from branch creation ( #1150 ) ( #1153 )
...
if commit already exist
close https://codeberg.org/Codeberg-CI/feedback/issues/52
2022-09-02 16:42:17 +02:00
6543
ba4de28590
Respect WOODPECKER_GITEA_SKIP_VERIFY ( #1152 ) ( #1151 )
2022-09-01 22:56:52 +02:00
6543
8faafd3519
Update golang.org/x/crypto ( #1124 )
2022-08-25 08:08:39 +02:00
6543
1fa5f31d44
Implement Refresher for GitLab ( #1031 ) ( #1120 )
...
Packport #1031 (without unrelated refactoring)
2022-08-24 16:32:45 +02:00
Lauris BH
5758caff21
Make returned proc list to be returned always in correct order ( #1060 ) ( #1065 )
2022-08-03 07:28:16 +02:00
Simon Vieille
f510b4b6e6
Update type of 'log_data' from blob to longblob ( #1050 ) ( #1052 )
...
Backport #1050
* Update type of 'log_data' from blob to longblob
* Add migration task to update log_data type
2022-07-29 17:21:50 +02:00
eleith
723d599c0a
Make ListItem component more accessible by using a button tag when clickable ( #1044 ) ( #1046 )
...
Co-authored-by: eleith <online-github@eleith.com>
2022-07-25 15:08:35 +02:00
6543
5e1aa4019a
Update base images ( #1024 ) ( #1025 )
...
Backport #1024
update alpine base image to current stable
and cross-build with golang v1.18
2022-07-17 10:13:41 +02:00
6543
d8a6b61918
Add Changelog for v0.15.3 ( #981 )
2022-06-16 19:02:24 +02:00
6543
d224d15fb5
Update github.com/containerd/containerd ( #978 ) ( #980 )
2022-06-16 17:50:58 +02:00