Commit graph

215 commits

Author SHA1 Message Date
qwerty287 aef3f8f3ef
Remove steps for publishing release branches (#3125) 2024-01-10 15:10:56 +01:00
qwerty287 d6b98cf95e
Remove prefix from services (#3079)
supersedes https://github.com/woodpecker-ci/woodpecker/pull/1960

~~Blocked by https://github.com/woodpecker-ci/woodpecker/pull/3143~~

Co-authored-by: 6543 <6543@obermui.de>
2024-01-09 18:56:24 +01:00
6543 02ea3369d5
ci: run release/publish cli after agent to have less ram consumption (#3153) 2024-01-09 16:10:15 +01:00
qwerty287 1742fb2b97
Fix indentation and identification (#3111) 2024-01-03 18:33:31 +01:00
qwerty287 9ea4b6af39
Fix version.json updates (#3057)
closes #3038
closes #2748

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-03 10:31:48 +01:00
6543 4b977ab488
make sure cross-compile-server does not run with other compile steps (#3089)
I noticed it as it crashed the agent on the main server at some point as
we did use almost all swap and had 100% ram usage

in total we used 16G of ram
2023-12-31 23:13:37 +01:00
6543 567e83350c
Fix make release-server-xgo in CI and localy (#3072)
fix regressions of:
-  #3010
-  #3065

and make `make release-server-xgo` work on a manual exec (not run by ci)
2023-12-29 22:31:34 +01:00
qwerty287 7080d133a2
Use CI vars for plugin (#3061) 2023-12-29 13:19:46 +01:00
qwerty287 12db130b0b
Fix when and depends_on (#3063)
also close #3060 because it's no longer necessary then

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-29 14:02:29 +02:00
Anbraten c1a1f7c10b
Use dag in ci config (#3010)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-12-28 16:39:14 +01:00
qwerty287 7e2ea306c4
Remove workflow version again (#3052) 2023-12-28 14:34:13 +01:00
renovate[bot] 7ee0bc4033
chore(deps): update docker.io/alpine docker tag to v3.19 (#2970)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker.io/alpine |  | minor | `3.18` -> `3.19` |
| docker.io/alpine | final | minor | `3.18` -> `3.19` |

---

### 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 06:10:22 +01:00
renovate[bot] fb7619a5c8
Update docker.io/techknowlogick/xgo Docker tag to go-1.21.5 (#2926)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/techknowlogick/xgo | patch | `go-1.21.4` -> `go-1.21.5` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-11 08:26:21 +01:00
renovate[bot] 3da1658b35
Update docker.io/golang Docker tag to v1.21.5 (#2925)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/golang | patch | `1.21.4` -> `1.21.5` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 07:54:19 +01:00
runephilosof-karnovgroup adb2c82790
Update go module path for major version 2 (#2905)
https://go.dev/doc/modules/release-workflow#breaking

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-08 08:15:08 +01:00
qwerty287 2200998ca4
Only deploy docs on main (#2892) 2023-11-29 14:17:49 +01:00
renovate[bot] 8c4bef2847
Update docker.io/woodpeckerci/plugin-docker-buildx Docker tag to v2.2.1 (#2883)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/woodpeckerci/plugin-docker-buildx](https://codeberg.org/woodpecker-plugins/docker-buildx.git)
| patch | `2.2.0` -> `2.2.1` |

---

### Release Notes

<details>
<summary>woodpecker-plugins/docker-buildx
(docker.io/woodpeckerci/plugin-docker-buildx)</summary>

###
[`v2.2.1`](https://codeberg.org/woodpecker-plugins/docker-buildx/releases/tag/v2.2.1)

[Compare
Source](https://codeberg.org/woodpecker-plugins/docker-buildx/compare/2.2.0...v2.2.1)

##### Fixes

- Add `git` to image
([#&#8203;109](https://togithub.com/woodpecker-plugins/docker-buildx/issues/109))
- Fix separator for tags_file in docs
([#&#8203;107](https://togithub.com/woodpecker-plugins/docker-buildx/issues/107))

##### Dependencies

- chore(deps): update docker/buildx-bin docker tag to v0.12.0
([#&#8203;111](https://togithub.com/woodpecker-plugins/docker-buildx/issues/111))
- chore(docker): update docker:24.0-dind docker digest to
[`1dfc375`](https://togithub.com/woodpecker-plugins/docker-buildx/commit/1dfc375)
([#&#8203;106](https://togithub.com/woodpecker-plugins/docker-buildx/issues/106))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 04:58:47 +01:00
qwerty287 ffb3bd806c
Fix version check partially (#2871)
ref #2748 

- fix link to releases
- fix jq syntax
- support rc versions (separate json field)

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-26 08:02:02 +01:00
Anbraten 72611b1796
Update release-helper (#2863) 2023-11-23 10:04:07 +01:00
6543 80a237c6f1
Update woodpeckerci/plugin-ready-release-go Docker tag to v1.0.2 (#2853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 02:35:05 +01:00
renovate[bot] 843ce0b2db
Update docker.io/golang Docker tag to v1.21.4 (#2828)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/golang | patch | `1.21.3` -> `1.21.4` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 13:33:11 +01:00
renovate[bot] 7b423ff710
Update docker.io/techknowlogick/xgo Docker tag to go-1.21.4 (#2829)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.io/techknowlogick/xgo | patch | `go-1.21.3` -> `go-1.21.4` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 02:01:41 +01:00
qwerty287 f6c5d90114
Fix jq syntax (#2817) 2023-11-14 00:42:07 +01:00
qwerty287 cf23ac0c3c
Fix paths for version check (#2816)
Fix updating the `version.json` file. Issue was relative path while it
must be absolute.

ref #2748
2023-11-13 08:44:49 +01:00
Patrick Schratz e3bcdbecfa
Add tests on renovate branches (#2798)
This sets the scene for a potential automerge of dev deps when tests
pass.

What is still missing is that somebody triggers the CI run (or a
whitelist for it).

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-11 21:35:48 +01:00
Anbraten 5382b4ae10
Update release-helper (#2801) 2023-11-11 09:03:52 +01:00
6543 5a7b689e30
Switch to go vanity urls (#2706)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00
qwerty287 1bc4415075
Add workflow version (#2476)
Closes #1834

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-11-06 01:37:02 +01:00
Anbraten 33f9574dce
Add version and update notes (#2722) 2023-11-04 14:20:50 +01:00
renovate[bot] fc8a001b2b
Update woodpeckerci/plugin-ready-release-go Docker tag to v0.7.0 (#2728) 2023-11-04 07:44:13 +01:00
Robert Kaussow 1f7c087074
Use full qualifyer for images (#2692)
Supersedes https://github.com/woodpecker-ci/woodpecker/pull/1659

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-01 15:25:48 +01:00
Anbraten 4198c447fb
Destroy steps after they are done (#2681)
Co-authored-by: 6543 <m.huber@kithara.com>
2023-11-01 09:35:11 +01:00
Anbraten fffddb0bc3
Fix docker preview images (#2683) 2023-10-31 21:07:29 +01:00
Patrick Schratz 2f0bb7153e
Pin trivy docker image version (#2668) 2023-10-31 13:04:28 +01:00
Patrick Schratz 856b2ef8c7
pre-commit fixes (#2669)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-31 09:14:09 +01:00
renovate[bot] 7345348253
chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v2.2.0 (#2663) 2023-10-28 13:54:33 +02:00
renovate[bot] 094f3033f9
chore(deps): update mysql docker tag to v8.2.0 (#2662) 2023-10-28 13:51:55 +02:00
Patrick Schratz 703983419a
Bump codecov version to fix build (#2644)
Co-authored-by: 6543 <6543@obermui.de>
2023-10-24 17:20:07 +02:00
Patrick Schratz c344cbb0fc
Fix codecov plugin version (#2643)
After the recent update of the plugin (which now follows semver)
2023-10-24 14:55:24 +02:00
Anbraten 66a5ba4e4f
Add prettier (#2600) 2023-10-24 14:42:05 +02:00
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
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
6543 af69e03679
CI: pin xgo and go to v1.18.7 (#1439) 2022-11-23 08:01:38 +01:00
Josh Soref 023d03dd61
Spelling (#1405)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-09 08:12:17 +01:00
Divya Jain a5e1714039
Add additional tag to next image with commit sha (#1365)
Next image will have an additional tag of format `next-${truncated_commit_sha}`,

where truncated_commit_sha is the first 10 characters of the commit sha
(also, same for for the `next-alpine` image).
2022-10-29 19:28:47 +02:00