Merge pull request #232 from cschug/kestra_yamllint

Fix various issues in Kestra reported by yamllint
This commit is contained in:
Christian Lempa 2024-04-23 08:49:04 +02:00 committed by GitHub
commit f2772a02d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 33 additions and 26 deletions

View File

@ -1,3 +1,4 @@
---
# Kestra Docker File Build Template # Kestra Docker File Build Template
# --- # ---
# #
@ -5,7 +6,7 @@
# #
id: docker-file-build id: docker-file-build
namespace: # your-namespace namespace: # your-namespace
tasks: tasks:

View File

@ -1,3 +1,4 @@
---
# Kestra Docker Git Build Template # Kestra Docker Git Build Template
# --- # ---
# #
@ -5,7 +6,7 @@
# #
id: docker-git-build id: docker-git-build
namespace: # your-namespace namespace: # your-namespace
tasks: tasks:

View File

@ -1,3 +1,4 @@
---
# Kestra Inputs Template # Kestra Inputs Template
# --- # ---
# #
@ -5,7 +6,7 @@
# #
id: inputs id: inputs
namespace: # your-namespace namespace: # your-namespace
inputs: inputs:
- id: string - id: string

View File

@ -1,3 +1,4 @@
---
# Kestra Python Command Template # Kestra Python Command Template
# --- # ---
# #
@ -8,7 +9,7 @@
# if you're running Kestra in Docker, use a volume to mount the file/directory. # if you're running Kestra in Docker, use a volume to mount the file/directory.
id: python-command id: python-command
namespace: # your-namespace namespace: # your-namespace
tasks: tasks:

View File

@ -1,3 +1,4 @@
---
# Kestra Python Command Template # Kestra Python Command Template
# --- # ---
# #
@ -5,7 +6,7 @@
# #
id: python-script id: python-script
namespace: # your-namespace namespace: # your-namespace
tasks: tasks:

View File

@ -1,3 +1,4 @@
---
# Kestra Variable Template # Kestra Variable Template
# --- # ---
# #
@ -5,7 +6,7 @@
# #
id: variables id: variables
namespace: # your-namespace namespace: # your-namespace
variables: variables:
variable-name: "variable-value" variable-name: "variable-value"

View File

@ -1,3 +1,4 @@
---
# Kestra Webhook Template # Kestra Webhook Template
# --- # ---
# #
@ -7,12 +8,12 @@
# curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key # curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
id: webhook id: webhook
namespace: # your-namespace namespace: # your-namespace
tasks: tasks:
# your-tasks # - your-tasks
triggers: triggers:
- id: webhook - id: webhook
type: io.kestra.core.models.triggers.types.Webhook type: io.kestra.core.models.triggers.types.Webhook
key: # your-secret-key, keep this secret! key: # your-secret-key, keep this secret!