فهرست منبع

update examples

Christian Lempa 2 سال پیش
والد
کامیت
b33494f574
2فایلهای تغییر یافته به همراه19 افزوده شده و 1 حذف شده
  1. 3 1
      kestra/inputs.yaml
  2. 16 0
      kestra/variables.yaml

+ 3 - 1
kestra/inputs.yaml

@@ -59,4 +59,6 @@ inputs:
     type: STRING
 
 tasks:
-  # your-tasks
+  - id: using_inputs
+    type: io.kestra.core.tasks.log.Log
+    message: "{{ inputs.string }}"

+ 16 - 0
kestra/variables.yaml

@@ -0,0 +1,16 @@
+# Kestra Variable Template
+# ---
+# 
+# 
+#
+
+id: variables
+namespace: # your-namespace
+
+variables:
+  variable-name: "variable-value"
+
+tasks:
+  - id: using_variables
+    type: io.kestra.core.tasks.log.Log
+    message: "{{ vars.variable-name }}"