2023-03-18 23:10:15 +01:00
|
|
|
skip_clone: true
|
2023-03-18 21:58:59 +01:00
|
|
|
|
2022-06-23 09:22:04 +02:00
|
|
|
pipeline:
|
2023-03-18 23:10:15 +01:00
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
|
2023-03-18 22:00:06 +01:00
|
|
|
build:
|
|
|
|
image: debian:stable-backports
|
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt install -y inetutils-ping wget git
|
|
|
|
- ping -c 4 git.belanyi.fr
|
|
|
|
- wget git.belanyi.fr
|
|
|
|
- mkdir foobar
|
|
|
|
- cd foobar
|
|
|
|
- git init -b main
|
|
|
|
- git remote add origin https://git.belanyi.fr/ambroisie/test-drone.git
|
|
|
|
- "git fetch --no-tags --depth=1 --filter=tree:0 origin +refs/heads/main:"
|
|
|
|
- ls -la
|
|
|
|
- sleep 9999999
|
|
|
|
|
2022-06-23 09:22:04 +02:00
|
|
|
test:
|
|
|
|
image: hello-world
|