Woodpecker is a community fork of the Drone CI system.
Find a file
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
.github Use MD PR template (#4057) 2024-08-26 08:29:08 +02:00
.vscode Fix vscode settings (#3880) 2024-07-09 02:56:42 -07:00
.woodpecker static workflow: let lychee pretend to be curl (#4138) 2024-09-23 15:34:07 +02:00
agent Restart tasks on dead agents sooner (#4114) 2024-09-20 09:40:48 +02:00
cli Replay pipeline using cli exec by downloading metadata (#4103) 2024-09-25 07:20:51 +02:00
cmd Move docker resource limit settings from server to agent (#3174) 2024-09-26 16:56:59 +01:00
contrib/woodpecker-test-repo/.woodpecker Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
docker Set /woodpecker as default workdir for the **woodpecker-cli** container (#4130) 2024-09-21 17:05:13 +02:00
docs Implement registries for Kubernetes backend (#4092) 2024-09-30 01:03:05 +01:00
nfpm fix misspell 2024-08-25 22:52:26 +02:00
pipeline Implement registries for Kubernetes backend (#4092) 2024-09-30 01:03:05 +01:00
server Move docker resource limit settings from server to agent (#3174) 2024-09-26 16:56:59 +01:00
shared Default git clone support sha256 (#4136) 2024-09-22 21:02:36 +02:00
version Add godot linter to harmonitze toplevel comments (#3650) 2024-05-13 22:58:21 +02:00
web Translated using Weblate (German) 2024-09-28 03:58:02 +00:00
woodpecker-go Replay pipeline using cli exec by downloading metadata (#4103) 2024-09-25 07:20:51 +02:00
.cspell.json Add some posts and videos (#4070) 2024-08-31 14:19:41 +02:00
.ecrc Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
.editorconfig Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
.gitattributes Fix "check_swagger" step (#2024) 2023-07-20 22:12:32 +02:00
.gitignore Split client into multiple files and add more tests (#3647) 2024-04-26 13:46:55 +02:00
.gitpod.yml Cleanup server env settings (#3670) 2024-05-15 15:45:08 +02:00
.golangci.yaml Exclude mocks from release build (#3831) 2024-06-25 12:23:07 +02:00
.hadolint.yaml Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
.markdownlint.yaml Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
.mockery.yaml Fix make in_docker generate (#3616) 2024-04-15 17:46:44 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#3862) 2024-07-01 23:50:01 +02:00
.prettierignore Do not run prettier with pre-commit (#3196) 2024-01-14 21:14:00 +01:00
.prettierrc.json Remove old files (#3077) 2023-12-30 15:10:31 +01:00
.yamllint.yaml Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
CHANGELOG.md 🎉 Release 2.7.1 (#4090) (#4091) 2024-09-07 10:52:38 +02:00
docker-compose.example.yaml Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
docker-compose.gitpod.yaml chore(deps): update gitea/gitea docker tag to v1.22 (#3749) 2024-06-03 07:42:16 +02:00
flake.lock update nix flake 2024-08-25 22:51:28 +02:00
flake.nix Add blocklist of environment variables who could alter execution of plugins (#3934) 2024-07-18 22:54:29 +02:00
go.mod fix(deps): update module github.com/google/go-github/v63 to v64 (#4073) 2024-09-01 17:41:02 +02:00
go.sum fix(deps): update module github.com/google/go-github/v63 to v64 (#4073) 2024-09-01 17:41:02 +02:00
LICENSE Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
Makefile Release windows binaries as zip file (#3906) 2024-07-14 22:59:45 +02:00
README.md Disallow direct translations (#4042) 2024-08-15 20:51:56 +02:00
release-config.ts Add release helper (#1976) 2023-09-07 17:17:17 +02:00

Woodpecker

Woodpecker


Pipeline Status Code coverage Translation status Matrix space Go Report Card go reference GitHub release Docker pulls License: Apache-2.0 OpenSSF best practices pre-commit.ci


Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.

woodpecker

Installation & Resources

Woodpecker can be installed in various ways (see the Installation Instructions) and runs with SQLite as database by default. It requires around 100 MB of RAM (Server) and 30 MB (Agent) at runtime in idle mode.

Support

You can support the project by becoming a backer on Open Collective or via GitHub Sponsors.

Open Collective backers

Documentation

Our documentation can be found at https://woodpecker-ci.org/docs/intro.

Translation

We have a self-hosted Weblate instance at translate.woodpecker-ci.org.

An overview of the current translation state is available at https://translate.woodpecker-ci.org/projects/woodpecker-ci/#languages.

Public Woodpecker Instances

Woodpecker is used as the main CI/CD engine at Codeberg, an alternative Git hosting platform with a focus on privacy and free software development.

Plugins

Woodpecker can be extended via plugins. The plugin overview website helps browsing available plugins. It combines both plugins by the Woodpecker core team and community-maintained ones.

Star History

Star History Chart

License

Woodpecker is Apache 2.0 licensed. The source files have a header indicating which license they are under and what copyrights apply.

Everything in docs/ is licensed under the Creative Commons Attribution-ShareAlike 4.0 International Public License.