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
|
||||
# ---
|
||||
#
|
||||
@ -5,7 +6,7 @@
|
||||
#
|
||||
|
||||
id: docker-file-build
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
tasks:
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Docker Git Build Template
|
||||
# ---
|
||||
#
|
||||
@ -5,7 +6,7 @@
|
||||
#
|
||||
|
||||
id: docker-git-build
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
tasks:
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Inputs Template
|
||||
# ---
|
||||
#
|
||||
@ -5,7 +6,7 @@
|
||||
#
|
||||
|
||||
id: inputs
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
inputs:
|
||||
- id: string
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Python Command Template
|
||||
# ---
|
||||
#
|
||||
@ -8,7 +9,7 @@
|
||||
# if you're running Kestra in Docker, use a volume to mount the file/directory.
|
||||
|
||||
id: python-command
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
tasks:
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Python Command Template
|
||||
# ---
|
||||
#
|
||||
@ -5,7 +6,7 @@
|
||||
#
|
||||
|
||||
id: python-script
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
tasks:
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Variable Template
|
||||
# ---
|
||||
#
|
||||
@ -5,7 +6,7 @@
|
||||
#
|
||||
|
||||
id: variables
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
variables:
|
||||
variable-name: "variable-value"
|
||||
|
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Kestra Webhook Template
|
||||
# ---
|
||||
#
|
||||
@ -7,12 +8,12 @@
|
||||
# curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
|
||||
|
||||
id: webhook
|
||||
namespace: # your-namespace
|
||||
namespace: # your-namespace
|
||||
|
||||
tasks:
|
||||
# your-tasks
|
||||
# - your-tasks
|
||||
|
||||
triggers:
|
||||
- id: 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