Commit graph

4715 commits

Author SHA1 Message Date
qwerty287 536ed0170b
Add changelog 1.0.5 (#2776) 2023-11-09 07:08:25 +01:00
6543 3a19758863
Switch to go vanity urls (#2706) (#2773)
Backport https://github.com/woodpecker-ci/woodpecker/pull/2706 onto
release branch

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-08 20:27:37 +01:00
6543 40e7d36988
Fix release pipeline for 1.x.x (#2774) 2023-11-08 14:25:24 +01:00
qwerty287 5b82bd82ad
Add changelog 1.0.4 (#2738) 2023-11-05 08:08:56 +01:00
6543 0966b34af9
Fix secret image filter regex (#2674) (#2686)
Backport #2674

Co-authored-by: Jannik Heuer <HamburgerJungeJr@users.noreply.github.com>
2023-11-01 01:51:01 +01:00
6543 52802e7b5f
go get -u google.golang.org/grpc 2023-11-01 01:19:59 +01:00
qwerty287 4d1ddab129
Fix error when closing logs (#2637) (#2640)
Previously, *all* log streams of the pipeline were closed everytime when
a workflow is done, if you have multiple workflows, streams will be
closed multiple times.

backport #2637
2023-10-24 11:49:29 +02:00
qwerty287 948a5b38c1
Add changelog 1.0.3 (#2582) 2023-10-15 17:09:13 +02:00
qwerty287 8ca12e39b9
Update dependencies (#2587) 2023-10-15 10:27:10 +02:00
qwerty287 70d5de87bd
Fix gitlab hooks (#2537) (#2542) 2023-10-07 18:59:50 +02:00
6543 356f349a5b
frontend: bump postcss to 8.4.31 (#2541)
fix https://ci.woodpecker-ci.org/repos/3780/pipeline/8531/15
2023-10-07 16:57:57 +02:00
6543 18ff561f1c
Trim last "/" from WOODPECKER_HOST config (#2538) (#2540)
Backport  #2538

https://youtu.be/dGwC_AxaWLo?t=770
( https://youtu.be/dGwC_AxaWLo?t=1020 )
2023-10-07 16:34:20 +02:00
Matheus Moraes 010da2e174
fix(server/api/repo): Fix repair webhook host (#2372) (#2452)
Backports #2372 to release 1.0

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2371

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-13 08:57:12 +02:00
qwerty287 7db2c0529c
Rebuild swagger with latest version (#2455)
fixes https://ci.woodpecker-ci.org/repos/3780/pipeline/8203/23
2023-09-13 08:41:56 +02:00
Robert Kaussow 1a164fe9cd
Show correct event in pipeline step list (#2448)
Backport [#2334](https://github.com/woodpecker-ci/woodpecker/pull/2334)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
(cherry picked from commit 15bd20d58b)
2023-09-12 16:21:59 +02:00
qwerty287 90310de6f1
Check permissions on repo lookup (#2358)
Backport #2357
2023-08-30 16:50:47 +02:00
qwerty287 3fba8e38bf
make WOODPECKER_MIGRATIONS_ALLOW_LONG have an actuall effect (#2251) (#2309) 2023-08-21 11:13:20 +02:00
Thomas Anderson c96faa43f7
Change token logging to trace level (#2247) (#2248)
Changed from `info` to `trace`.

Backport of #2247.

Tested on v1.0.2.
2023-08-18 23:13:51 +02:00
6543 c67be308cb
Docker build dont ignore ci env vars (#2238) (#2246)
backport #2238
close  #2236
2023-08-18 16:45:56 +02:00
Lauris BH 7d7326320e
Handle parsed hooks that should be ignored (#2243) (#2244)
Currently it would fail with panic:

```
runtime error: invalid memory address or nil pointer dereference
...
/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/forge/gitea/gitea.go:492 (0xdfb32e)
```
2023-08-18 14:42:31 +02:00
6543 a31752eb55
Return 204 not 500 on filtered pipeline (#2230)
the error check always failed, as the custom errors did not have the
`Is(error) bool` interface implemented

backport bugfix part of  #2216
2023-08-17 14:46:22 +02:00
6543 2d0a6e7702
pipeline: fix VERSION_NUMBER 2023-08-17 14:20:06 +02:00
6543 24910b67b2
Set correct version for release branch releases (#2227) (#2229)
Backport  #2227

close  #2225

also make the sha 10 chars long instead of 8, to match the docker tags
2023-08-17 00:12:46 +02:00
6543 d9e06696bf
Changelog v1.0.2 (#2223) 2023-08-16 16:45:52 +02:00
6543 7f18689d61
Bump default git clone plugin (#2215) (#2220)
Backport #2215

- and add alternate quay registry to trusted clone image
- add alternate registry for buildx plugin
2023-08-16 16:21:57 +02:00
6543 6e4c2f84cc
Validate webhook before change any data (#2221) (#2222)
Backport #2221
2023-08-16 16:19:10 +02:00
qwerty287 4f4d383caf
Show all steps (#2190) (#2191)
Backport #2190
2023-08-10 10:58:53 +02:00
6543 71e041807a
bump xorm.io to db7c2640627d (#2185) (#2186)
pull got merged so we can switch back to upstream

backport #2185 for better maintinance
2023-08-10 08:21:50 +02:00
qwerty287 4f14c01b5a
Fix router (#2164)
Closes #2153

This is pretty critical, we'll need 1.0.2 asap
2023-08-08 12:02:18 +02:00
6543 40d12a9e97
Add changelog v1.0.1 (#2150) 2023-08-08 08:17:14 +02:00
6543 c7f0b626ab
Fix 'add-orgs' migration (#2117) (#2145)
backport #2117
close  #2096
2023-08-08 00:30:21 +02:00
qwerty287 239b00ca20
Fix UI and backend paths with subpath (#1799) (#2133) 2023-08-07 18:43:14 +02:00
runephilosof-karnovgroup 4b0db4ec86
CLI repo sync: Show forge-remote-id (#2125)
Backport #2103 

Because you need the `forge-remote-id` to supply as an argument to `repo
add`
2023-08-07 09:53:39 +02:00
6543 666b59d0d2
Fix swagger response code (#2119) (#2121)
Closes #2118
Backport #2119

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-08-06 02:12:53 +02:00
6543 e6c1f7fb24
Only run docs workflow on main branch (#2105) (#2110)
Backport #2105
2023-08-04 07:51:10 +02:00
6543 375f60bbec
Forge Github Org: Use login instead of name (#2104) (#2106)
Backport #2104

For "woodpecker-ci" the `name` is "Woodpecker CI"
 and the `login` is "woodpecker-ci"

Fixes #2092

This was causing the organization lookup to fail, because it looks up
using the `login`, when it did not find the organization, it would try
to create it. The creation would fail, because it uses the `name`, and
an organization with that `name` already exists.
Resulting in:

```
pq: duplicate key value violates unique constraint "UQE_orgs_name"
```

Co-authored-by: runephilosof-karnovgroup <101270124+runephilosof-karnovgroup@users.noreply.github.com>
2023-08-03 17:59:33 +02:00
qwerty287 d3965faae9
Fix translation key (#2098)
Backport from #2094
2023-08-03 17:15:50 +02:00
runephilosof-karnovgroup 64143599f1
client.go: Backport fix RepoPost path (#2100)
Backports #2091 
Fixes #2088
2023-08-03 10:27:24 +02:00
praneeth-ovckd dd55261703
Fix WOODPECKER_GRPC_VERIFY being ignored (#2077) (#2082)
Backports (#2077)
2023-08-01 14:34:52 +02:00
6543 0f91475532
Publish releases and branch tags to quay.io too (#2069)
address  #1995
2023-07-31 05:26:58 +02:00
6543 1f09a8730d
Prepair docs for v1.0.0 release (#2061)
Backport  #2056 and #2058
2023-07-29 15:07:30 +02:00
6543 7635b5d1f0
Missed deprecation (#2047)
in the refactoring we did move from CI_SYSTEM_ARCH to CI_SYSTEM_PLATFORM

but we missed to set the var in the agent pipeline tracer, so the
Kubernetes backend did not work with it.

this fix it and also make it  deprecated as intended
2023-07-28 13:32:30 +02:00
6543 9fdb5d9400
Handle case where there is no latest pipeline for GetBadge (#2042) (#2050)
Backport #2042

address  error 2 of #2036
2023-07-28 07:28:29 +02:00
6543 196af159f8
Fix wrong repo url used by badges (#2037) (#2039)
backport #2037

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-07-27 15:27:49 +02:00
6543 b57c4e1f86
ci: cross compile server on release branches too 2023-07-25 14:46:38 +02:00
6543 a0af5feec7
ci: cross compile server on tag too 2023-07-25 14:42:09 +02:00
6543 3a99be7a5b
ci: run workflows on tagging too 2023-07-25 14:08:21 +02:00
6543 1c116daf08
Create docs for v1.0.x (#1855)
and also fix / enhance some
2023-07-25 12:41:58 +02:00
Robert Kaussow 2e954801b8
Always use a static back route (#2028)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1998

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-24 20:06:26 +02:00
Robert Kaussow c0216deb43
Return to users list after creating a new user (#2029)
Fixes:
https://github.com/woodpecker-ci/woodpecker/issues/1314#issuecomment-1503635132
2023-07-24 19:05:18 +02:00