Commit graph

688 commits

Author SHA1 Message Date
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