Commit graph

118 commits

Author SHA1 Message Date
qwerty287 22bb9248c7
Fix missing web dist (#2580) 2023-10-14 14:07:46 +02:00
qwerty287 55766ea693
Run tests on main branch (#2576)
We currently don't have coverage information on codecov, the tests must
run for `main` pushes so we can publish them afterwards
2023-10-14 13:04:46 +02:00
renovate[bot] c8dd4997e3
chore(deps): update golang docker tag to v1.21.3 (#2564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 11:11:48 +02:00
renovate[bot] 02d92ba668
chore(deps): update techknowlogick/xgo docker tag to go-1.21.3 (#2565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:53:45 +02:00
renovate[bot] fdc859cfb5
chore(deps): update mstruebing/editorconfig-checker docker tag to v2.7.2 (#2563) 2023-10-10 18:35:53 +02:00
Patrick Schratz 6db1bfa46b
Bump to mysql 8 (#2559) 2023-10-10 18:20:08 +02:00
qwerty287 46273e54d8
Require Go 1.21 (#2553)
Main change are the new `maps` and `slices` stdlib packages so we can
replace `golang.org/x/exp`.
2023-10-09 09:11:08 +02:00
renovate[bot] aaf7bdc6e2
chore(deps): update techknowlogick/xgo docker tag to go-1.21.2 (#2523) 2023-10-09 08:02:39 +02:00
renovate[bot] 4e0b0bd9b6
chore(deps): update golang docker tag to v1.21.2 (#2532) 2023-10-07 08:57:35 +02:00
Anbraten 910a5e6963
Fix plugin-ready-release-go version (#2525) 2023-10-05 10:00:53 +02:00
Patrick Schratz 8791e64557
Renovate config updates (#2519) 2023-10-04 11:09:19 +02:00
renovate[bot] af34458008
chore(deps): update node.js to v20 (#2422) 2023-09-12 07:41:12 +02:00
renovate[bot] 4a7203f097
chore(deps): update golang docker tag (#2396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:01:26 +02:00
Anbraten 4c55a7c509
Add release helper (#1976) 2023-09-07 17:17:17 +02:00
6543 db34d3f39a
Docker build dont ignore ci env vars (#2238)
close  #2236
2023-08-18 16:39:18 +02:00
qwerty287 8cdac56d8f
Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
qwerty287 270de5f574
Fix workflows again (#2129)
Since it does not work this is mainly a revert of #2127
2023-08-07 13:03:23 +02:00
qwerty287 b485d1bf70
Fix docs workflow (#2128)
Some steps were not longer executed and some `when` conditions are not
longer necessary. Follow-up #2127
2023-08-07 11:14:30 +02:00
qwerty287 516bc475b6
Speed up pipelines (#2127)
- Use workflow-global conditions to also skip the `clone` step for
`docs` and `web` workflows
- never run `test` and `web` for pushes (they're running for PRs and
every change we do must pass checks on PRs, so they're unnecessary)

https://github.com/woodpecker-ci/woodpecker/issues/1910
2023-08-07 10:58:42 +02:00
6543 bc049aa22a
Only run docs workflow on main branch (#2105) 2023-08-03 23:46:55 +02:00
6543 c24eea494b
lint en.json locales file (#2108)
make sure we don't have another  #2107
2023-08-03 23:11:52 +02:00
6543 7efb15bf9c
Publish releases and branch tags to quay.io too (#2069)
address  #1995
2023-07-31 04:26:27 +02:00
6543 c695175d21
Fix release branch and tagging (#2033)
frontport pipeline fixes
2023-07-25 16:29:01 +02:00
6543 6b59143c44
ci: run workflows on tagging too 2023-07-25 14:18:04 +02:00
6543 1c116daf08
Create docs for v1.0.x (#1855)
and also fix / enhance some
2023-07-25 12:41:58 +02:00
6543 b3c2bb2e15
disable building windows container images 2023-07-22 01:04:48 +02:00
6543 2e851ba4a0
Release windows build for server too (#2012)
and other build enhancements
2023-07-18 18:46:27 +02:00
6543 a890a0d4d4
Move securitychecks into own workflow (#1753) 2023-07-17 21:32:05 +02:00
6543 87cef4177c
fix pipeline 2023-07-12 23:31:59 +02:00
6543 ad8f0cd92b
fix pipeline 2023-07-12 23:27:22 +02:00
Patrick Schratz 308d88fae5
Run workflows only for PRs and master (#1983)
fix #1980

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-12 23:25:05 +02:00
6543 8d62578846
Fix deploy docs after branch rename 2023-07-12 22:00:52 +02:00
Patrick Schratz 41f53024c1
Bump alpine image for preview (#1981) 2023-07-11 23:02:05 +02:00
Patrick Schratz 4226f7d158
Rebuild docs for api changes and add deploy preview (#1979) 2023-07-11 22:52:18 +02:00
6543 a6d2c78916
Speedup pipeline (#1966)
- only build preview images for x86
- do not run `test` and `web` on default branch
2023-07-10 14:46:55 +02:00
6543 ae2bfe666f
Overwrite web dep version (#1919)
This reverts commit b49cf64949 and
e6d646bc7b.

and close  #1900
2023-07-03 07:52:25 +02:00
6543 3f534cfff6
Optimize pipeline and switch to "steps" (#1901) 2023-06-30 13:32:17 +02:00
6543 b49cf64949
let new bugfix be published (2) 2023-06-29 17:21:06 +02:00
6543 e6d646bc7b
let new bugfix be published 2023-06-29 17:09:33 +02:00
6543 7e708874ae
Rename yaml pipeline to steps (#1833)
Adjust pipeline-config to match
[Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
2023-06-07 12:04:37 +02:00
6543 79c8da2f32
Drop tarball release (#1819)
close #1262
2023-06-04 05:09:10 +02:00
Martin W. Kirst 14177635b6
Update swagger API specification (#1782)
# Summary

This PR drops the outdated former swagger.yaml/json and introduced
automatic API document generation from Go code.
The generated code is also used to generate documentation/markdown for
the community page,
as well as enable the Woodpecker server to serve a Swagger Web UI for
manual tinkering.

I did opt-in for gin-swagger, a middleware for the Gin framework, to
ease implementation and have a sophisticated output.
This middleware only produces Swagger v2 specs. AFAIK the newer OpenApi
3x tooling is not yet that mature,
so I guess that's fine for now.

## Implemenation notes

- former swagger.json files removed
- former // swagger godocs removed
- introduced new dependency gin-swagger, which uses godoc annotations on
top of Gin Handler functions.
- reworked Makefile to automatically generate Go code for the server
- introduce new dependency go-swagger, to generate Markdown for
documentation purposes
- add a Swagger Web UI, incl. capabilities for manual API exploration
- consider relative root paths in the implementation
- write documentation for all exposed API endpoints
- incl. API docs in the community website (auto-generated)
- provide developer documentation, for the Woodpecker authors
- no other existing logic/code was intentionally changed

---------

close #292

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2023-06-03 21:38:36 +02:00
6543 fb5b259856
temporary deactivate securitycheck for golang 2023-05-14 10:31:39 +02:00
6543 6d022712e8
Fix docs build (#1690)
Co-authored-by: Anbraten <anton@ju60.de>
2023-04-03 12:30:01 +02:00
6543 e8d33998d3
add "midnight_docs" cron job, so plugin info gets refreshed each midnight in any case 2023-04-03 00:20:30 +02:00
Neil Hanlon a95a5b43bf
fix(backend/kubernetes): Ensure valid naming of name field (#1661)
- Kubernetes v1.26 on VKE causes error when creating persistent volume
claim because of uppercase characters in name field

This patch is trivial just in order to get it working - happy to
implement differently.

The error in question:

```
The PersistentVolumeClaim "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0" is invalid: metadata.name: Invalid value: "wp-01G1131R63FWBSPMA4ZAZTKLE-0-clone-0": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
```
2023-03-21 20:00:45 +01:00
Lauris BH 46452fbd84
Update Go dependencies and minimal Go version to 1.20 (#1650)
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
2023-03-21 00:48:15 +01:00
6543 2a7f4728a5
Move helm charts to own repo "helm" (#1589)
-> https://github.com/woodpecker-ci/helm
2023-02-23 15:22:01 +02:00
6543 0f6ce5c4e9
Bump xgo and go to v1.19.5 (#1538)
made possible again by:
- https://github.com/techknowlogick/xgo/pull/189
- https://github.com/techknowlogick/xgo/pull/193
2023-01-13 21:03:46 +01:00
6543 5214813a23
ci: cross-compile-server: force pure Go resolver (#1502)
close #1497
2022-12-25 16:36:43 +01:00