mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 11:21:02 +00:00
b52b021acb
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 |
||
---|---|---|
.. | ||
blog | ||
docs | ||
plugins/woodpecker-plugins | ||
src | ||
static/img | ||
versioned_docs | ||
versioned_sidebars | ||
.gitignore | ||
babel.config.js | ||
docusaurus.config.ts | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md | ||
sidebars.js | ||
tsconfig.json | ||
versions.json | ||
woodpecker.png |
Website
This website is built using Docusaurus 3, a modern static website generator.
Installation
pnpm install
Local Development
pnpm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
pnpm build
This command generates static content into the build
directory and can be served using any static contents hosting service.
Deployment
Deployment happen via CI to woodpecker-ci.org.
To manually build the website and push it exec:
GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy