Commit Graph
507 Commits
Author SHA1 Message Date
qwerty287 49e40772ca Deprecate secrets (#4235) 2024-10-24 08:36:29 +03:00
6543 f8cfda1ea9 Report custom labels set by agent admins back (#4141) 2024-10-06 17:13:41 +02:00
Dan Caseley 0f7b607a40 Fix errant apostrophe in docker-compose documentation (#4203) 2024-10-06 16:44:39 +02: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
6543andqwerty287 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
6543andqwerty287 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
hg 0b34578923 Add examples of CI environment variable values (#4009) 2024-08-17 14:04:48 +02:00
Thomas Andersonandqwerty287 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
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
qwerty287andPatrick Schratz 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 Andersonandqwerty287 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 Andersonandqwerty287 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
qwerty287 0a91e07397 Remove oauth env (#3978) 2024-07-25 22:48:41 +02:00
qwerty287and6543 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
qwerty287and6543 b330c19bf4 Migrate to maintained httpsign library (#3839)
Co-authored-by: 6543 <6543@obermui.de>
2024-07-23 20:41:37 +02:00
6543andqwerty287 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
6543andqwerty287 c8411d7f83 cspell lint docs (#3787)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-07-22 20:42:00 +02:00
qwerty287andLauris BH 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
Anbraten e234db1244 Streamline docs for new users (#3803) 2024-07-17 17:03:47 +02:00
fingaandfinga 388f14185c docs: Fix spelling (#3887)
Co-authored-by: finga <finga@onders.org>
2024-07-12 14:57:30 +02:00
6543 e5f3e67bf2 Fix an invalid example in docu (#3863) 2024-07-02 11:12:07 +02:00
6543andAnbraten daeab8d3c7 Add dummy backend (#3820)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-30 23:06:07 -07:00
qwerty287andAnbraten 92cd0d04a3 Unify DB tables/columns (#3806)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-27 09:32:06 +02:00
qwerty287 1e2da97a76 Add openSUSE package (#3800) 2024-06-18 07:25:27 +02:00
qwerty287 4f7df39edd Add 2.6 docs (#3786) 2024-06-13 19:31:54 +02:00
jcgl17andqwerty287 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