forked from a/Hello-world
Change deprecated pipeline: to steps: in .woodpecker.yml
This commit is contained in:
parent
31af807d7a
commit
25f1535164
|
@ -1,34 +1,34 @@
|
|||
pipeline:
|
||||
test1:
|
||||
image: bash
|
||||
commands:
|
||||
- pwd
|
||||
- w
|
||||
- whoami
|
||||
- echo $HOME
|
||||
- echo $SECRET
|
||||
- env
|
||||
secrets: [ secret ]
|
||||
test2:
|
||||
image: sh
|
||||
commands:
|
||||
- pwd
|
||||
- w
|
||||
- echo $HOME
|
||||
test3:
|
||||
image: fish
|
||||
commands:
|
||||
- echo test > test
|
||||
- echo test2 >> test
|
||||
- echo (cat test)
|
||||
- python -c "import this"
|
||||
- set test a
|
||||
- echo $test
|
||||
test4:
|
||||
image: zsh
|
||||
commands:
|
||||
- echo Hello world!
|
||||
- echo $SHELL
|
||||
- pwd
|
||||
- env
|
||||
- git status
|
||||
steps:
|
||||
test1:
|
||||
image: bash
|
||||
commands:
|
||||
- pwd
|
||||
- w
|
||||
- whoami
|
||||
- echo $HOME
|
||||
- echo $SECRET
|
||||
- env
|
||||
secrets: [ secret ]
|
||||
test2:
|
||||
image: sh
|
||||
commands:
|
||||
- pwd
|
||||
- w
|
||||
- echo $HOME
|
||||
test3:
|
||||
image: fish
|
||||
commands:
|
||||
- echo test > test
|
||||
- echo test2 >> test
|
||||
- echo (cat test)
|
||||
- python -c "import this"
|
||||
- set test a
|
||||
- echo $test
|
||||
test4:
|
||||
image: zsh
|
||||
commands:
|
||||
- echo Hello world!
|
||||
- echo $SHELL
|
||||
- pwd
|
||||
- env
|
||||
- git status
|
||||
|
|
Loading…
Reference in a new issue