Compare commits

...

3 commits

Author SHA1 Message Date
Bruno BELANYI 0ac796de8e WIP
Some checks reported errors
ci/woodpecker/push/exec Pipeline failed
continuous-integration/drone/push Build encountered an error
ci/woodpecker/push/docker Pipeline was successful
2023-03-30 22:47:28 +01:00
Bruno BELANYI d776765da5 ci: woodpecker: debug exec pipeline
Some checks failed
ci/woodpecker/push/exec Pipeline failed
ci/woodpecker/push/docker Pipeline was successful
continuous-integration/drone/push Build is passing
2023-03-30 22:39:09 +01:00
Bruno BELANYI 242737bd0d ci: woodpecker: add exec pipeline
Some checks failed
ci/woodpecker/push/exec Pipeline failed
ci/woodpecker/push/docker Pipeline was successful
continuous-integration/drone/push Build is passing
2023-03-30 22:39:09 +01:00
2 changed files with 51 additions and 0 deletions

View file

@ -14,6 +14,7 @@ steps:
- name: test
commands:
- nix run 'nixpkgs#hello'
- echo $HOME
- name: notify
commands:
- nix run 'github:ambroisie/matrix-notifier'

50
.woodpecker/exec.yml Normal file
View file

@ -0,0 +1,50 @@
labels:
type: exec
pipeline:
test:
image: bash
commands:
- nix run 'nixpkgs#hello'
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