-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: gabriel-farache <[email protected]>
- Loading branch information
1 parent
d32e61c
commit 6a542df
Showing
6 changed files
with
94 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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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,17 @@ | ||
apiVersion: v2 | ||
name: extendable-workflow | ||
description: A Helm chart for the extendable-workflow serverless workflow | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 1.3.0-rc1 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "1.16.0" | ||
|
||
icon: https://raw.githubusercontent.com/parodos-dev/parodos-dev.github.io/main/assets/images/WO_black.svg |
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 @@ | ||
See [documentation for the workflow](../../docs/main/extendable-workflow/README.md) |
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,10 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "http://example.com/example.json", | ||
"type": "object", | ||
"default": {}, | ||
"title": "Root Schema", | ||
"required": [], | ||
"properties": {}, | ||
"examples": [{}] | ||
} |
Empty file.
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,43 @@ | ||
|
||
extendable-workflow | ||
=========== | ||
|
||
A Helm chart for the extendable-workflow serverless workflow | ||
|
||
The extendable-workflow workflow is a basic workflow without any external dependencies. | ||
Its purpose is to demonstrate functionality of the workflows system. | ||
|
||
# Helm Configuration | ||
|
||
The following table lists the configurable parameters of the extendable-workflow chart and their default values. | ||
|
||
| Parameter | Description | Default | | ||
| ------------------------ | ----------------------- | -------------- | | ||
| | | | | ||
|
||
|
||
# Installation | ||
## Persistence pre-requisites | ||
If persistence is enabled, you must have a PostgreSQL instance running in the cluster, in the same `namespace` as the workflows. | ||
|
||
A `secret` containing the instance credentials must exists as well. | ||
|
||
See https://www.parodos.dev/orchestrator-helm-chart/postgresql on how to install a PostgreSQL instance. Please follow the section detailing how to install using helm. In this document, a `secret` holding the credentials is created. | ||
|
||
## Prerequisites | ||
Set `TARGET_NS` to the target namespace: | ||
```console | ||
TARGET_NS=sonataflow-infra | ||
``` | ||
## Installing helm chart | ||
|
||
```console | ||
helm repo add orchestrator-workflows https://parodos.dev/serverless-workflows-config | ||
helm install extendable-workflow orchestrator-workflows/extendable-workflow -n ${TARGET_NS} | ||
``` | ||
|
||
Verify the extendable-workflow workflow is ready: | ||
```console | ||
oc wait sonataflow extendable-workflow -n -n ${TARGET_NS} --for=condition=Running=True --timeout=5m | ||
sonataflow.sonataflow.org/extendable-workflow condition met | ||
``` |