some files
This commit is contained in:
parent
821ca4bc22
commit
8fcfe6e751
13 changed files with 230 additions and 3 deletions
22
.woodpecker/cli-docker.yaml
Normal file
22
.woodpecker/cli-docker.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
steps:
|
||||
- name: cli-docker
|
||||
image: registry.gitlab.com/mostlybroken/robertusfaber/dockerx-linux:latest
|
||||
privileged: true
|
||||
environment:
|
||||
DOCKER_HOST: docker
|
||||
commands:
|
||||
- echo hallo from inner hehe
|
||||
- echo $DOCKER_HOST
|
||||
- pwd
|
||||
- ls -la
|
||||
- sleep 30
|
||||
- docker compose -f dogfood-debug.yaml run --rm wooposex --log-level TRACE exec --repo-path . ./.woodpecker/cli.yaml
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker.io/library/docker:dind
|
||||
privileged: true
|
||||
detach: true
|
||||
environment:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
15
.woodpecker/cli.yaml
Normal file
15
.woodpecker/cli.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
steps:
|
||||
- name: cli
|
||||
image: docker.io/woodpeckerci/woodpecker-cli:latest-alpine
|
||||
privileged: true
|
||||
volumes:
|
||||
- /var/run/dind:/var/run/dind
|
||||
environment:
|
||||
DOCKER_HOST: 'unix:///var/run/dind/docker.sock'
|
||||
commands:
|
||||
- echo hallo from inner hehe
|
||||
- pwd
|
||||
- ls -la
|
||||
- ls /woodpecker
|
||||
- /bin/woodpecker-cli --log-level TRACE exec --repo-path . ./.woodpecker/cli.yaml
|
||||
12
.woodpecker/wooposex.yaml
Normal file
12
.woodpecker/wooposex.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: registry.gitlab.com/mostlybroken/robertusfaber/dockerx-linux:latest
|
||||
commands:
|
||||
- echo "This is the build step"
|
||||
- echo "binary-data-123" > executable
|
||||
- pwd
|
||||
- whoami
|
||||
- ls -la
|
||||
- docker compose up
|
||||
# TODO: mount volume
|
||||
Loading…
Add table
Add a link
Reference in a new issue