Skip to content
Merged
Show file tree
Hide file tree
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
22 changes: 21 additions & 1 deletion 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.6.1
version: 1.6.2
isPublic: true
description: Run a Codefresh pipeline by ID or name and attach the created build logs.
sources:
Expand Down Expand Up @@ -188,6 +188,26 @@ spec:
}
}
}
# shellEvaluatedArguments lists the arguments that stepsTemplate puts into the shell command, and where:
# "unquoted", or "double-quoted" when the template puts the argument inside double quotes.
# In these arguments the engine passes the Git variables, such as CF_BRANCH, to the shell as environment variables,
# so that the shell doesn't run commands from a branch name or a commit message.
# Update the list when you change how stepsTemplate uses an argument (see ShellArguments in the planner).
shellEvaluatedArguments:
PIPELINE_ID: double-quoted
TRIGGER_ID: unquoted
BRANCH: unquoted
SHA: unquoted
RUNTIME_NAME: unquoted
PACK_NAME: unquoted
CONTEXT: unquoted
VARIABLE: unquoted
SECRETS: unquoted
VARIABLE_FILE: unquoted
TIMEOUT_MINS: unquoted
ONLY: unquoted
SKIP: unquoted
YAML: unquoted
delimiters:
left: '[['
right: ']]'
Expand Down
24 changes: 23 additions & 1 deletion graduated/helm/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: helm
version: 1.1.12
version: 1.1.13
title: Release a Helm chart
isPublic: true
description: Update or install a Helm chart.
Expand Down Expand Up @@ -206,6 +206,28 @@ spec:
}
}
}
# shellEvaluatedArguments lists the arguments that end up in a shell command, and where: "unquoted", or "double-quoted"
# when the command has the argument inside double quotes. The entrypoint script of the image builds the command
# from the environment variables that stepsTemplate creates from the arguments.
# In these arguments the engine passes the Git variables, such as CF_BRANCH, to the shell as environment variables,
# so that the shell doesn't run commands from a branch name or a commit message.
# Update the list when you change how an argument is used (see ShellArguments in the planner).
shellEvaluatedArguments:
kube_context: double-quoted
chart_name: unquoted
release_name: unquoted
namespace: unquoted
tiller_namespace: unquoted
chart_version: unquoted
app_version: unquoted
chart_repo_url: unquoted
custom_value_files: unquoted
custom_values: unquoted
cmd_ps: unquoted
set_file: unquoted
timeout: unquoted
commands: unquoted
chart_subdir: unquoted
stepsTemplate: |-
main:
name: helm
Expand Down
Loading