-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apps): add blueprint for simple execution app
- Loading branch information
1 parent
00a937d
commit df6dda8
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |