Skip to content

Commit

Permalink
feat(apps): add blueprint for simple execution app
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Jan 22, 2025
1 parent 00a937d commit df6dda8
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions apps/simple-execution-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
id: simple_execution_app
type: io.kestra.plugin.ee.apps.Execution
displayName: Create Execution for myflow
description: This app allows you to execute a simple flow and display execution logs.
namespace: company.team
flowId: myflow
access: PUBLIC
tags:
- Getting Started
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Create a new execution
Pass custom input value and execute the flow
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Execute
style: DEFAULT

- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Execution is running
- type: io.kestra.plugin.ee.apps.core.blocks.Loading

- type: io.kestra.plugin.ee.apps.execution.blocks.Logs

- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Cancel
style: WARNING

- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Execution finished
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
Full execution logs:
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs

- type: io.kestra.plugin.ee.apps.core.blocks.Button
text: More examples
url: https://github.com/kestra-io/enterprise-edition-examples
style: INFO
extend:
title: Getting Started with Apps - Create Execution from a flow
description: >-
This app allows you to execute a simple flow and display execution logs.
tags:
- Getting Started
ee: true
demo: false
meta_description: Execute a simple flow and display execution logs.

0 comments on commit df6dda8

Please sign in to comment.