Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions graduated/codefresh-run/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: step-type
metadata:
name: codefresh-run
title: Run a Codefresh pipeline
version: 1.5.3
version: 1.6.0
isPublic: true
description: Run a Codefresh pipeline by ID or name and attach the created build logs.
sources:
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
"type": "string",
"description": "Custom image of codefresh-run step",
"examples": ["latest-debian"],
"default": "0.84.7"
"default": "0.89.1"
},
"PIPELINE_ID": {
"type": "string",
Expand Down Expand Up @@ -137,6 +137,15 @@ spec:
"examples": ["key=val"],
"default": []
},
"SECRETS": {
"type": "array",
"items": {
"type": "string"
},
"description": "Set build secrets.",
"examples": ["key=val"],
"default": []
},
"VARIABLE_FILE": {
"type": "string",
"description": "Import build variables from a file.",
Expand Down Expand Up @@ -217,6 +226,9 @@ spec:
[[ range .Arguments.VARIABLE ]]
[[- $cmd = (printf "%s --variable %s" $cmd .) -]]
[[- end -]]
[[ range .Arguments.SECRETS ]]
[[- $cmd = (printf "%s --secret %s" $cmd .) -]]
[[- end -]]
[[ if .Arguments.VARIABLE_FILE ]]
[[- $cmd = (printf "%s --var-file %s" $cmd .Arguments.VARIABLE_FILE) -]]
[[- end -]]
Expand Down
Loading