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
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/pipeline/run.cmd.js
+7
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,12 @@ const run = new Command({
86
86
default: [],
87
87
alias: 'v',
88
88
})
89
+
.option('encrypted',{
90
+
array: true,
91
+
alias: 'e',
92
+
describe: 'Variable names to encrypt',
93
+
default: [],
94
+
})
89
95
.option('detach',{
90
96
alias: 'd',
91
97
describe: 'Run pipeline and print build ID',
@@ -126,6 +132,7 @@ const run = new Command({
126
132
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master','Defining the source control context using a branch')
127
133
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -s=52b992e783d2f84dd0123c70ac8623b4f0f938d1','Defining the source control context using a commit')
128
134
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2','Setting variables through the command')
135
+
.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
136
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --var-file ./var_file.yml','Settings variables through a yml file')
130
137
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context','Inject contexts to the pipeline execution')
131
138
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --skip step1 step2 step3','Skip specific steps');
0 commit comments