Commit graph

739 commits

Author SHA1 Message Date
Patrick Schratz
a7ce4d5d2e
Bump trivy (and lockfile deps) (#4160) 2024-10-05 08:14:16 +03:00
Andrew Melnick
b52b021acb
Implement registries for Kubernetes backend (#4092)
According to [the documentation](https://woodpecker-ci.org/docs/administration/backends/kubernetes#images-from-private-registries), per-organization and per-pipeline registries are currently unsupported for the Kubernetes backend.

This patch implements this missing functionality by creating and deleting a matching secret for each pod with a matched registry, using the same name, labels, and annotations as the pod, and appending it to its `imagePullSecrets` list.

This patch adds tests for the new functionality, and has been manually end-to-end-tested in KinD by using a private image hosted in the matching gitea instance.

This will require updating the matching helm charts to add the create/delete permissions to the agent role, which **is already done**.

close  #2987
2024-09-30 01:03:05 +01:00
6543
6ad20ced5b
Move docker resource limit settings from server to agent (#3174)
so you can set it per agent and not per server
2024-09-26 16:56:59 +01:00
6543
8c827be951
Set /woodpecker as default workdir for the **woodpecker-cli** container (#4130) 2024-09-21 17:05:13 +02:00
6543
cfe6df5add
Docs: reference to built-in docker compose and remove deprecated version from compose examples (#4123) 2024-09-20 02:33:49 +02:00
qwerty287
c45e0885ac
Require upgrade from 2.x (#4112)
Remove old DB migrations and require users to upgrade to 2.x first.
2024-09-16 21:09:42 +02:00
Gifford Nowland
57a22235d1
[docs] Removes dot prefix from pipeline configuration filenames (#4105) 2024-09-12 21:15:57 +03:00
6543
38ed7f9efd
Remove some ci environment variables (#3846)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-09-08 08:59:58 +03:00
Anbraten
28a549137b
Correct migrations text (#4089) 2024-09-06 11:03:20 +02:00
6543
34f4f81eab
Better migration wording in docs for remove of all default privileged plugins (#4088) 2024-09-05 20:24:02 +03:00
6543
32d1ec7cec
Remove all default privileged plugins (#4053) 2024-09-02 10:41:20 +02:00
6543
6feab0093f fix docs misspell nit 2024-09-02 09:13:49 +02:00
6543
5b208d2c01
Allow admins to specify priviledged plugins by name **and tag** (#4075)
previous the tags where ignored, now we respect them if set
2024-09-01 21:27:12 +02:00
6543
3c8204a0e0
Allow alter trusted clone plugins and filter them via tag (#4074) 2024-09-01 20:41:10 +02:00
6543
d02c6b7266
Use kaniko plugin in docs as example (#4072) 2024-09-01 15:31:52 +02:00
6543
e4f954ef94
Remove all default 3rd party privileged plugins (#3918) 2024-08-31 19:04:47 +02:00
qwerty287
1f74c8378f
Add some posts and videos (#4070) 2024-08-31 14:19:41 +02:00
6543
fb6068d836
Add option to filter secrets by plugins with specific tags (#4069)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-08-31 13:46:50 +02:00
Martin Fischer
99d169bd3f
Move event type descriptions from Terminology to Workflow Syntax (#4062) 2024-08-30 17:00:57 +02:00
qwerty287
87a75cdc65
Add community posts from discussions (#4058)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-08-26 09:10:14 +02:00
hg
0b34578923
Add examples of CI environment variable values (#4009) 2024-08-17 14:04:48 +02:00
qwerty287
9407376e41
Fix inline author warning (#4040)
Co-authored-by: Lauris BH <lauris@nix.lv>
2024-08-15 19:54:52 +02:00
Thomas Anderson
cf7a548c51
Updated Secrets image filter docs (#4028)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-08-15 19:34:13 +02:00
qwerty287
aafd217cce
Remove old pipeline options (#4016) 2024-08-15 18:58:51 +02:00
renovate[bot]
c4e1607889
Update dependency marked to v14 (#4036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 17:33:04 +02:00
renovate[bot]
aea40fed5f
Update docs npm deps non-major (#4033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 17:10:04 +02:00
qwerty287
289f530b2b
Warn if using secrets/env with plugin (#4027) 2024-08-15 07:40:14 +02:00
qwerty287
d1bd624857
Update some readme wording (#4023) 2024-08-11 10:26:26 +02:00
qwerty287
92ff320429
Remove various deprecations (#4017) 2024-08-09 16:50:35 +02:00
qwerty287
0d9e57d3da
Drop repo name fallback for hooks (#4013) 2024-08-08 07:50:38 +02:00
qwerty287
2081ca85db
Refactor JSON and SDK fields (#3968) 2024-08-07 10:49:03 +02:00
qwerty287
c864f24ae4
Migrate to maintained cron lib and remove seconds (#3785)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-08-06 19:22:28 +02:00
Thomas Anderson
ca41540151
Switched to profile-based AppArmor configuration (#4008)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-08-06 19:05:04 +02:00
Thomas Anderson
dc10fb95ad
Removed Kubernetes default image pull secret name (#4005)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-08-06 18:47:31 +02:00
Patrick Schratz
106b6e01c0
Overhaul README (#3995) 2024-08-05 01:27:25 +02:00
renovate[bot]
2d039f85cb
chore(deps): lock file maintenance (#3991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 08:46:31 +02:00
renovate[bot]
c8a95fa204
fix(deps): update docs npm deps non-major (#3990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-07-30 08:24:12 +02:00
qwerty287
0a91e07397
Remove oauth env (#3978) 2024-07-25 22:48:41 +02:00
qwerty287
111eb7ef48
Fix dropped env vars (#3969)
Co-authored-by: 6543 <6543@obermui.de>
2024-07-25 17:17:09 +02:00
qwerty287
b6ac64c4f6
Require gitlab 12.4 (#3966) 2024-07-23 20:48:21 +02:00
qwerty287
b330c19bf4
Migrate to maintained httpsign library (#3839)
Co-authored-by: 6543 <6543@obermui.de>
2024-07-23 20:41:37 +02:00
6543
659e925d0e
Remove WOODPECKER_DEV_OAUTH_HOST and WOODPECKER_DEV_GITEA_OAUTH_URL (#3961)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-07-23 14:25:39 +02:00
6543
1c7c87b8f0
Remove deprecated pipeline settings (#3916) 2024-07-23 13:06:47 +02:00
6543
c8411d7f83
cspell lint docs (#3787)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-07-22 20:42:00 +02:00
qwerty287
0c98f49b1e
Pin page size (#3946)
Co-authored-by: Lauris BH <lauris@nix.lv>
2024-07-21 09:27:24 +02:00
6543
764329ed1d
Make sure plugins only mount the workspace base in a predefinde location (#3933) 2024-07-18 22:52:22 +02:00
6543
925e099115
Remove unused override docs depencency (#3931) 2024-07-18 12:19:18 -07:00
smainz
49c2029cad
Cli fix pipeline logs (#3913)
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-18 20:39:18 +02:00
6543
c81a6d67b1
Add docs for v2.7.0 (#3921) 2024-07-18 14:57:03 +02:00
Anbraten
e234db1244
Streamline docs for new users (#3803) 2024-07-17 17:03:47 +02:00
finga
388f14185c
docs: Fix spelling (#3887)
Co-authored-by: finga <finga@onders.org>
2024-07-12 14:57:30 +02:00
renovate[bot]
8a5d36451c
chore(deps): lock file maintenance (#3876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-07-07 01:15:18 -07:00
6543
e5f3e67bf2
Fix an invalid example in docu (#3863) 2024-07-02 11:12:07 +02:00
6543
daeab8d3c7
Add dummy backend (#3820)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-30 23:06:07 -07:00
qwerty287
92cd0d04a3
Unify DB tables/columns (#3806)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-27 09:32:06 +02:00
Anbraten
ea8976bf88
Add mastodon verification (#3843) 2024-06-26 20:54:12 +02:00
renovate[bot]
5979a904c3
chore(deps): lock file maintenance (#3838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 08:13:09 +02:00
renovate[bot]
e6e12e1703
chore(deps): update docs npm deps non-major (#3837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-26 07:35:35 +02:00
renovate[bot]
4987fefba0
fix(deps): update docs npm deps non-major (#3824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 07:43:49 +02:00
renovate[bot]
eadead6c07
chore(deps): lock file maintenance (#3805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 07:31:09 +02:00
qwerty287
1e2da97a76
Add openSUSE package (#3800) 2024-06-18 07:25:27 +02:00
renovate[bot]
1c91ede4b6
chore(deps): update docs npm deps non-major (#3798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 07:33:46 +02:00
Divya Jain
d36fde2314
Add "Docker Tags" Plugin (#3796) 2024-06-17 07:24:02 +02:00
renovate[bot]
cb20ce8028
chore(deps): update dependency marked to v13 (#3792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-15 07:52:01 +02:00
tongjicoder
8ca49086a1
chore: fix some comments (#3788)
Signed-off-by: tongjicoder <tongjicoder@icloud.com>
2024-06-14 17:56:07 +02:00
qwerty287
4f7df39edd
Add 2.6 docs (#3786) 2024-06-13 19:31:54 +02:00
Wez Furlong
6a0c236d77
Remove misleading crontab guru suggestion from docs (#3781) 2024-06-13 15:57:24 +02:00
jcgl17
78ca71235d
Add documentation for KUBERNETES_SERVICE_HOST in Agent (#3747)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-13 08:10:05 +02:00
renovate[bot]
a4b4b13ae7
chore(deps): lock file maintenance (#3783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 07:28:09 +02:00
Patrick Schratz
ed7fe02979
Remove web.archive.org workaround in docs (#3771) 2024-06-07 08:59:46 +02:00
qwerty287
74dc26c083
Serve plugin icons locally (#3768)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-06 15:28:08 +02:00
qwerty287
c72468478d
Allow to store logs in files (#3568)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-06 14:34:57 +02:00
Patrick Schratz
f5671ba20f
Docs: update local backend page (#3765) 2024-06-06 09:18:31 +02:00
qwerty287
61e263b048
Remove old docs versions (#3743)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-04 10:14:39 +02:00
Thomas Anderson
065eebd306
Agent-wide node selector (#3608)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-03 17:25:28 +02:00
qwerty287
c53a05b6fb
Merge release plugins (#3752) 2024-06-03 15:53:40 +02:00
qwerty287
f02902d099
Split FAQ (#3746)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-03 09:12:42 +02:00
renovate[bot]
bbe3f4e393
chore(deps): lock file maintenance (#3750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-06-03 08:41:32 +02:00
qwerty287
91b122e1ce
Native forgejo support (#3684)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2024-06-01 11:23:19 +02:00
Anbraten
13c6150b9a
Create 2.5 docs (#3732)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-01 08:34:17 +02:00
Anbraten
fd57e4ad05
Use IDs for tokens (#3695) 2024-05-27 11:52:43 +02:00
Divya Jain
08ff128b0b
Add "Is It Up Yet?" Plugin (#3731) 2024-05-27 07:51:45 +02:00
6543
b9a37ec9e7
Remove discord as official community channel (#3717)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-05-24 16:33:36 +02:00
6543
dc51e77795
Update link to nginx docs (#3720) 2024-05-23 15:25:46 +02:00
Anbraten
5527d9bf86
Cleanup server env settings (#3670)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-05-15 15:45:08 +02:00
Kai J
faf6b33140
Setting for empty commits on path condition (#3708) 2024-05-14 16:28:14 +02:00
Marco Blessing
d92cf4b18e
Add Gitea Package plugin (#3707) 2024-05-14 12:09:10 +02:00
6543
7b3b09d628
Lint file names and directories via cSpell too (#3703) 2024-05-14 02:45:03 +02:00
Dominic
fd94a2e646
Add documentation for setting Kubernetes labels and annotations (#3687)
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-13 20:02:50 +02:00
6543
378ec1a67a
Make retry count of config fetching form forge configure (#3699)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-13 19:43:45 +02:00
6543
c962e4495d
use wayback machine to fix offline link (#3700) 2024-05-13 17:39:04 +02:00
Robert Kaussow
b931447a4d
Remove broken link to gobook.io (#3694) 2024-05-11 11:06:59 +02:00
qwerty287
4ab9a3cef3
Fix blog post link (#3693) 2024-05-11 11:03:17 +02:00
sinlov
8993ec7513
docs: add Gitea publisher-golang plugin (#3691) 2024-05-09 08:03:41 +02:00
Patrick Schratz
26faa2bef3
Add Ansible+Woodpecker blog post (#3685) 2024-05-06 11:34:57 +02:00
Andre_601
c9cd3fbae4
Clarify info on failing workflows/Steps (#3679)
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-05-05 23:55:29 +02:00
Fernando Barbosa
e6bda2c2b3
Support github deploy task (#3512)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-05-02 18:56:19 +02:00
qwerty287
225ddb586d
Rework entrypoints (#3269)
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: 6543 <m.huber@kithara.com>
2024-05-02 14:52:01 +02:00
qwerty287
00ccec078c
Add discord plugin (#3662) 2024-04-29 22:31:31 +02:00
renovate[bot]
325b1b5e57
chore(deps): update dependency trim to v1 (#3658) 2024-04-28 10:50:39 +02:00