Compare commits
3 commits
0ac796de8e
...
1785871986
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 1785871986 | ||
Bruno BELANYI | 6fe5dec87c | ||
Bruno BELANYI | 7036a24c72 |
56
.woodpecker/exec.yml
Normal file
56
.woodpecker/exec.yml
Normal file
|
@ -0,0 +1,56 @@
|
|||
labels:
|
||||
type: exec
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
image: bash
|
||||
commands:
|
||||
- echo $HOME
|
||||
- "nix run 'nixpkgs#hello'"
|
||||
- HOME=$(mktemp -d) nix run 'nixpkgs#hello'
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
|
||||
manual_plugin:
|
||||
image: bash
|
||||
secrets:
|
||||
commands:
|
||||
- CI_WORKSPACE=$PWD plugin-git
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
manual_clone:
|
||||
image: bash
|
||||
secrets:
|
||||
commands:
|
||||
- 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:"
|
||||
- git reset --hard -q 3330a384f641d5e12c0ff8b225037fbcf2e3bd7b
|
||||
- git submodule update --init --recursive
|
||||
- git lfs fetch
|
||||
- git lfs checkout
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
notify:
|
||||
image: bash
|
||||
secrets:
|
||||
- source: matrix_homeserver
|
||||
target: address
|
||||
- source: matrix_roomid
|
||||
target: room
|
||||
- source: matrix_username
|
||||
target: user
|
||||
- source: matrix_password
|
||||
target: pass
|
||||
commands:
|
||||
- nix run 'github:ambroisie/matrix-notifier'
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
Loading…
Reference in a new issue