mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-05 13:09:21 +01:00
Merge pull request #232 from cschug/kestra_yamllint
Fix various issues in Kestra reported by yamllint
This commit is contained in:
commit
f2772a02d0
@ -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:
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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!
|
||||||
|
Loading…
Reference in New Issue
Block a user