25 lines
515 B
YAML
25 lines
515 B
YAML
pipeline:
|
|
first-job:
|
|
image: busybox
|
|
secrets: [ secret_key ]
|
|
commands:
|
|
- echo "first run"
|
|
- echo "second run"
|
|
- echo "third run"
|
|
- echo "testy test"
|
|
- echo "testy test"
|
|
- echo "testy test"
|
|
- echo "testy test"
|
|
- echo $SECRET_KEY
|
|
- touch testy.txt
|
|
- mkdir out
|
|
- echo "testy test from first-job" > out/testy.txt
|
|
- ls -la
|
|
- pwd
|
|
second-job:
|
|
image: busybox
|
|
commands:
|
|
- ls -la
|
|
- pwd
|
|
- cat out/testy.txt
|