@codefresh-io/yaml-validator
Version:
An NPM module/CLI for validating the Codefresh YAML
39 lines (38 loc) • 813 B
YAML
version: "1.0"
steps:
test_dev:
title: Test
image: test
commands:
- echo ${{ID}}
- echo ${{KEY}}
- echo ${TOKEN}}
- >-
mvn run --profile ${{D_profile}}
--r test
> /tmp/test.tmp
- >-
custom_app -c ".Creds | {
ID: .Id,
KEY: .Key,
TOKEN: .Token
} | grep | test"
>/tmp/test.tmp
codefresh-run:
title: Test
image: test
commands:
- echo ${{ID}}
- echo ${{KEY}}
- echo ${TOKEN}}
- >-
mvn run --profile ${{D_profile}}
--r test
> /tmp/test.tmp
- >-
custom_app -c ".Creds | {
ID: .Id,
KEY: .Key,
TOKEN: .Token
} | grep | test"
>/tmp/test.tmp