Commit graph

125 commits

Author SHA1 Message Date
qwerty287
0acb65e1db
Do not run docker prepare steps (#2626) 2023-10-23 13:43:40 +02:00
qwerty287
e1b08c2a96
Fix docker workflow and only run if needed (#2625)
- removes docker username secret
(https://github.com/woodpecker-ci/woodpecker/issues/2589)
- fix `when` filters
https://ci.woodpecker-ci.org/repos/3780/pipeline/8907/9
- add path filter to only build docker image if stuff was changed (or
label is added)

closes #2203 
closes #2598
2023-10-23 10:08:48 +02:00
renovate[bot]
fae965b379
chore(deps): update codeberg.org/woodpecker-plugins/trivy docker tag to v1.0.1 (#2618) 2023-10-22 08:17:55 +02:00
renovate[bot]
54a2572051
chore(deps): update node.js to v21 (#2615) 2023-10-22 08:10:42 +02:00
Patrick Schratz
bb7e0f9221
Only publish PR images when label is set (#2608) 2023-10-20 11:27:30 +02:00
renovate[bot]
27ad042d4c
chore(deps): update postgres docker tag to v16 (#2588)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | major | `11` -> `16` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 12:18:11 +02:00
renovate[bot]
e451d9f3d1
chore(deps): update woodpeckerci/plugin-surge-preview docker tag to v1.2.2 (#2593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 07:36:27 +02:00
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