12cbe15de0
This is most of the GitLab changes that I dropped from #1405. As before, I'm happy to adjust things... <details><summary>Problematic Changes</summary> Fwiw, this is the part that causes the tests to break (I don't understand why, but I'm leaving this change out): ```patch commit 703cbe3ed398bf32535120ead733b80aa145c8db Author: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue Nov 8 17:09:06 2022 -0500 event?! -- this seems broken diff --git a/server/forge/gitlab/testdata/hooks.go b/server/forge/gitlab/testdata/hooks.go index 7d39306..e394afc 100644 --- a/server/forge/gitlab/testdata/hooks.go +++ b/server/forge/gitlab/testdata/hooks.go @@ -27,7 +27,7 @@ var ( ServiceHookHeaders = http.Header{ "Content-Type": []string{"application/json"}, "User-Agent": []string{"GitLab/14.3.0"}, - "X-Gitlab-Event": []string{"Service Hook"}, + "X-GitLab-Event": []string{"Service Hook"}, } ) diff --git a/shared/token/token.go b/shared/token/token.go index 3f15537..191e5ee 100644 --- a/shared/token/token.go +++ b/shared/token/token.go @@ -64,7 +64,7 @@ func ParseRequest(r *http.Request, fn SecretFunc) (*Token, error) { return parse(bearer, fn) } - token = r.Header.Get("X-Gitlab-Token") + token = r.Header.Get("X-GitLab-Token") if len(token) != 0 { return parse(token, fn) } ``` </details> Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
.woodpecker | ||
agent | ||
charts | ||
cli | ||
cmd | ||
contrib/woodpecker-test-repo/.woodpecker | ||
docker | ||
docs | ||
nfpm | ||
pipeline | ||
server | ||
shared | ||
version | ||
web | ||
woodpecker-go | ||
.changelog.yml | ||
.ecrc | ||
.editorconfig | ||
.gitignore | ||
.gitpod.yml | ||
.golangci.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
docker-compose.example.yml | ||
docker-compose.gitpod.yml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md | ||
SECURITY.md |
Woodpecker
Woodpecker is a community fork of the Drone CI system.
🫶 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
Build steps are containers
- Define any Docker image as context
- Install the needed tools in custom Docker images, use them as context
Plugins
Woodpecker has official plugins, but you can also use your own.
📖 Documentation
✨ Contribute
📣 Translate
We use an own Weblate instance at translate.woodpecker-ci.org.
👋 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
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.