File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11description : >
22 Run tests using marathon-cloud cli (cli must be installed first)
33parameters :
4- apiKey :
4+ apiKeyEnvVar :
55 type : string
66 description : >
7- API key for authenticating with Marathon Cloud
7+ Environment variable name with API key for authenticating with Marathon Cloud
88 application :
99 type : string
1010 description : >
2121 - run :
2222 name : Run tests using marathon-cloud
2323 environment :
24- ORB_API_KEY : <<parameters.apiKey >>
24+ ORB_API_KEY_ENV_VAR : <<parameters.apiKeyEnvVar >>
2525 ORB_APPLICATION : <<parameters.application>>
2626 ORB_TEST_APPLICATION : <<parameters.testApplication>>
2727 ORB_OUTPUT : <<parameters.output>>
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3- marathon-cloud -api-key " $ORB_API_KEY " -apk " $ORB_APPLICATION " -testapk " $ORB_TEST_APPLICATION " -o " $ORB_OUTPUT "
3+ API_KEY=$( eval " echo $ORB_API_KEY_ENV_VAR " )
4+
5+ marathon-cloud -api-key " $API_KEY " -apk " $ORB_APPLICATION " -testapk " $ORB_TEST_APPLICATION " -o " $ORB_OUTPUT "
You can’t perform that action at this time.
0 commit comments