Woodpecker is a community fork of the Drone CI system.
Find a file
Tom Kneiphof baaf8b97e1
Fix usage of WOODPECKER_ROOT_PATH (#2485)
I had experienced some issues running Woodpecker behind a reverse-proxy,
resulting from not defining the `WOODPECKER_ROOT_PATH` environment
variable in #2477.

As suggested by @qwerty287, specifying `WOODPECKER_ROOT_PATH=/foo`
*mostly* solved the issue of running the woodpecker server at an url
like `https://example.org/foo`.
However, the webhook urls and badge urls were generated excluding the
configured `WOODPECKER_ROOT_PATH`.

This PR (mostly) fixes issues related to non-empty
`WOODPECKER_ROOT_PATH`.

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-09-22 16:43:31 +02:00
.github Add devx lable to compose file PRs (#2467) 2023-09-17 16:51:45 +02:00
.vscode Move "skip ci" logic into global pipeline conditions (#2216) 2023-08-17 15:52:43 +02:00
.woodpecker chore(deps): update node.js to v20 (#2422) 2023-09-12 07:41:12 +02:00
agent Never log tokens (#2466) 2023-09-16 10:53:37 +02:00
cli Fix usage description for backend-http-proxy flag (#2250) 2023-08-19 16:27:21 +02:00
cmd Fix usage of WOODPECKER_ROOT_PATH (#2485) 2023-09-22 16:43:31 +02:00
contrib/woodpecker-test-repo/.woodpecker Fix docs nit and add rm todo for v1.2.0 (#2049) 2023-07-28 15:33:23 +02:00
docker chore(deps): update node.js to v20 (#2422) 2023-09-12 07:41:12 +02:00
docs Fix usage of WOODPECKER_ROOT_PATH (#2485) 2023-09-22 16:43:31 +02:00
nfpm Release windows build for server too (#2012) 2023-07-18 18:46:27 +02:00
pipeline Remove deprecated options parsing (#2480) 2023-09-20 13:48:34 +02:00
server Fix usage of WOODPECKER_ROOT_PATH (#2485) 2023-09-22 16:43:31 +02:00
shared fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#2449) 2023-09-13 09:01:01 +02:00
version gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
web Translated using Weblate (Chinese (Simplified)) 2023-09-22 05:59:35 +00:00
woodpecker-go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
.changelog.yml Update .changelog.yml to account regression lable (#1808) 2023-06-02 15:16:09 +02:00
.ecrc Update swagger API specification (#1782) 2023-06-03 21:38:36 +02: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 Use consistent woodpecker color scheme (#2003) 2023-08-02 09:09:12 +02:00
.gitpod.yml Update go in gitpod (#1926) 2023-07-07 07:04:34 +02:00
.golangci.yml Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
CHANGELOG.md Changelog v1.0.2 (#2223) (#2224) 2023-08-16 18:42:12 +02:00
CONTRIBUTING.md Update Owners 2023 (#1516) 2023-01-01 19:33:08 +01:00
docker-compose.example.yml Renamed procs/jobs to steps in code (#1331) 2022-10-28 17:38:53 +02:00
docker-compose.gitpod.yml chore(deps): update postgres docker tag to v16 (#2463) 2023-09-17 08:04:37 +02:00
go.mod fix(deps): update golang deps non-major (#2486) 2023-09-22 16:01:09 +02:00
go.sum fix(deps): update golang deps non-major (#2486) 2023-09-22 16:01:09 +02:00
LICENSE Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
Makefile make: autodetect host platform (#2322) 2023-08-24 00:24:16 +02:00
README.md Change master to main (#2044) 2023-07-31 05:47:23 +02:00
release-config.ts Add release helper (#1976) 2023-09-07 17:17:17 +02:00
SECURITY.md Add security section to docs (#1877) 2023-06-21 16:59:57 +02:00

Woodpecker


Translation status


Woodpecker

Woodpecker is a community fork of the Drone CI system.

woodpecker

🫶 Support

Please consider to donate and become a backer. 🙏 [Become a backer]

🚀 Usage

.woodpecker.yml

  • Place your pipeline in a file named .woodpecker.yml in your repository
  • Pipeline steps can be named as you like
  • Run any command in the commands section

Read More

Build steps are containers

  • Define any Docker image as context
  • Install the needed tools in custom Docker images, use them as context

Read More

Plugins

Woodpecker has official plugins, but you can also use your own.

Read More

📖 Documentation

https://woodpecker-ci.org/

Contribute

See Contributing Guide

Open in Gitpod

📣 Translate

We use an own Weblate instance at translate.woodpecker-ci.org.

Translation status

👋 Who uses Woodpecker?

Codeberg, the Woodpecker project itself, and many others.

Leave a comment if you're using it as well.

Also consider using the topic WoodpeckerCI in your repository, so others can learn from your config and use the hashtag #WoodpeckerCI when talking about the project on social media!

Here are some places where people mention Woodpecker:

Stars over time

Stargazers over time

License

Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.

Files under the docs/ folder are licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License.