mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-14 05:51:37 +00:00
71b9179078
* Move Vargs to Settings * Allow both until deprecation * Add more tests * Adjust schema * Add missing detach option, fix schema tests Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Anbraten <anton@ju60.de>
66 lines
1 KiB
YAML
66 lines
1 KiB
YAML
pipeline:
|
|
image:
|
|
image: golang
|
|
commands:
|
|
- go test
|
|
|
|
image-pull:
|
|
image: golang
|
|
pull: true
|
|
commands:
|
|
- go test
|
|
|
|
single-command:
|
|
image: golang
|
|
commands: go test
|
|
|
|
commands:
|
|
image: golang
|
|
commands:
|
|
- go get
|
|
- go test
|
|
|
|
environment:
|
|
image: golang
|
|
environment:
|
|
CGO: 0
|
|
GOOS: linux
|
|
GOARCH: amd64
|
|
commands:
|
|
- go test
|
|
|
|
environment-array:
|
|
image: golang
|
|
environment:
|
|
- CGO=0
|
|
- GOOS=linux
|
|
- GOARCH=amd64
|
|
commands:
|
|
- go test
|
|
|
|
secrets:
|
|
image: docker
|
|
commands:
|
|
- echo $DOCKER_USERNAME
|
|
- echo $DOCKER_PASSWORD
|
|
secrets:
|
|
- docker_username
|
|
- source: docker_prod_password
|
|
target: docker_password
|
|
|
|
group:
|
|
group: test
|
|
image: golang
|
|
commands:
|
|
- go test
|
|
|
|
detached:
|
|
image: redis
|
|
detach: true
|
|
|
|
volume:
|
|
image: docker
|
|
commands:
|
|
- docker build --rm -t octocat/hello-world .
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|