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
POST /api/v1/pipelines/{org}/{repo}/{pipeline}/expand returns an additional character such as 4 for newline in template
Example vela file:
# instructs Vela which syntax version we're using
version: "1"
# instructs Vela that we're going to create a steps pipeline
steps:
# instructs Vela what the name of the step should be
- name: build
# instructs Vela what Docker image to use for this step
image: golang:1.21
# instructs Vela which environment variables to inject for this step
environment:
CGO_ENABLED: 0
# instructs Vela which commands to run inside the step
commands: |
git config --global user.email "${VELA_BUILD_SENDER}@git.com"
git config --global user.name "${VELA_BUILD_SENDER}"
Description
POST /api/v1/pipelines/{org}/{repo}/{pipeline}/expand returns an additional character such as 4 for newline in template
Example vela file:
Result:
Value
Even though it works, any integration relies on this particular endpoint would fail due to additional character inserted for newline
Useful Information
vela --version
?v0.23.1
The text was updated successfully, but these errors were encountered: