You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError('The "encrypted" option is only supported in API versions '
102
+
+`equal to or greater than ${defaults.MIN_API_VERSION_FOR_ENCRYPTED_VARS_SUPPORT_IN_RUN_CMD}.`);
103
+
}
104
+
returntrue;
105
+
})
89
106
.option('detach',{
90
107
alias: 'd',
91
108
describe: 'Run pipeline and print build ID',
@@ -126,6 +143,7 @@ const run = new Command({
126
143
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master','Defining the source control context using a branch')
127
144
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -s=52b992e783d2f84dd0123c70ac8623b4f0f938d1','Defining the source control context using a commit')
128
145
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2','Setting variables through the command')
146
+
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2 -e key1','Setting variables through the command with encrypted option')
129
147
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --var-file ./var_file.yml','Settings variables through a yml file')
130
148
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context','Inject contexts to the pipeline execution')
131
149
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --skip step1 step2 step3','Skip specific steps');
0 commit comments