Aleksandr Melnikov
375ef146f3
Removing unused function.
...
- Referenced: https://github.com/onepanelio/core/pull/226#discussion_r429026779
2020-05-22 12:53:40 -07:00
Aleksandr Melnikov
bc1236fef3
Updated cron workflow and workflow execution select queries.
...
- Exclude "is_archived" rows.
2020-05-22 11:59:43 -07:00
Aleksandr Melnikov
d4fbd71d55
Updating workflow execution selection to not return archived executions.
2020-05-21 22:37:50 -07:00
Aleksandr Melnikov
e8c28175f5
Fixing queries not executing.
2020-05-21 22:33:12 -07:00
Aleksandr Melnikov
860dc7398c
Updating function names per feedback.
2020-05-21 22:20:00 -07:00
Aleksandr Melnikov
1a9ce9870d
Refactoring DB queries related to archiving.
...
- Using Squirrel RunWith instead of ToSql.
2020-05-21 22:19:26 -07:00
Aleksandr Melnikov
68ffbb1d93
Refactoring raw SQL to use squirrel.
2020-05-20 15:53:12 -07:00
Aleksandr Melnikov
b79cfa019f
Added code to clean up Workflow Executions.
...
- Removes db and k8s entries.
2020-05-20 14:59:01 -07:00
rushtehrani
cf7d52bb19
namespace config updates
2020-05-18 12:34:05 -07:00
rushtehrani
655bb3c15f
don't generate UUID
2020-05-15 12:31:19 -07:00
Aleksandr Melnikov
62c8f5dcb2
Adding support for terminated workflow executions.
...
- When terminating, adding started_at and finished_at timestamps
Updated workflow_template.proto to return the count of terminated executions.
- Updating supporting code
2020-05-14 17:13:44 -07:00
Aleksandr Melnikov
6a27719167
Updating TerminateWorkflowExecution to not remove the DB workflow entry.
...
- This keeps the Workflow in the UI list.
2020-05-14 13:47:10 -07:00
rushtehrani
195a332281
remove unused code
2020-05-14 10:45:38 -07:00
Aleksandr Melnikov
735b10c025
Refactored name to uid.
2020-05-14 10:31:33 -07:00
Aleksandr Melnikov
b41c2ea848
Changed name to uid for CloneWorkflowExecution.
...
- Added supporting changes
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
c1ce0ad17b
Changed name to uid for WatchWorkflowExecution.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
2048b7a4eb
Using Onepanel UID generator.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
d308761f27
Changed name to uid for GetWorkflowExecution.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
18a795f129
Using GenerateUID to clean up the names.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
184bb1247d
Removing sys-uid appending.
...
- Workflow generates the name on creation. We're continuing to use
workflow.name.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
5e86a0e2aa
Removing unused namespace parameter.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
1420248489
Removing un-used function.
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
998d6bcca4
Removing injected "sys-uid" since we're injecting it before createWorkflow is called.
2020-05-14 10:29:08 -07:00
Aleksandr Melnikov
f7d20e9d54
Exiting loop once param found.
2020-05-14 10:27:15 -07:00
Aleksandr Melnikov
263f963a4c
Using parameters instead of labels.
2020-05-14 10:27:15 -07:00
Aleksandr Melnikov
6111abd740
Adding sys-uid to CreateWorkflowExecution.
...
- Appending if it does not exist
2020-05-14 10:27:15 -07:00
rushtehrani
e5f5b8d183
fix typo
2020-05-14 01:05:49 -07:00
rushtehrani
c121116b9d
move envfrom to util
2020-05-14 00:33:46 -07:00
rushtehrani
5fe29d5f58
add precedence to env vars
2020-05-13 23:05:09 -07:00
rushtehrani
3edbc809de
use EnvFrom for mounting env vars in workflows
2020-05-13 21:53:33 -07:00
rushtehrani
fd3dcdec9c
fix constant name
2020-05-13 21:34:07 -07:00
rushtehrani
572a20a308
add retries to curl command
2020-05-09 18:52:01 -07:00
Andrey Melnikov
872ed2d9af
update/fix: fixed issue where parameters were not being sent with API response.
...
Fixed issue where cron workflows did not apply their labels to the newly created workflow executions.
2020-05-06 15:39:55 -07:00
Andrey Melnikov
c64954562b
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-05-06 14:29:27 -07:00
Andrey Melnikov
6f60592669
fix: issue where cron workflows did not pass on parameters to workflow executions in db
2020-05-06 14:22:39 -07:00
Andrey Melnikov
7f6445f356
uncommented output artifacts code as it was commented out during testing.
2020-05-06 13:13:27 -07:00
rushtehrani
ca5d69e3f8
additional status curl calls
2020-05-06 12:44:01 -07:00
rushtehrani
7ca68b6dfa
allow inputs for curlNodeTemplate
2020-05-06 10:44:40 -07:00
rushtehrani
7d19a8543b
add sys-uid as a param to all workflows
2020-05-05 22:16:00 -07:00
rushtehrani
80476af59c
update curl template to take http method
2020-05-05 20:40:18 -07:00
rushtehrani
ff7c79a5ff
update and add curl template to workspace template
2020-05-05 12:58:07 -07:00
rushtehrani
58d6029d45
refactor to make curl node reusable
2020-05-05 12:58:07 -07:00
Andrey Melnikov
d6c9ffb1c1
fix: Added a clone workflow execution endpoint and cleaned up code a bit.
2020-05-05 12:19:06 -07:00
rushtehrani
1dadebec0d
workspace database methods
2020-05-02 20:23:34 -07:00
rushtehrani
67e13bf423
make method private
2020-05-02 19:42:23 -07:00
Andrey Melnikov
5c1c64cac9
fix: uncommented artifacts code from testing
2020-05-02 16:32:45 -07:00
Andrey Melnikov
adb59a36a3
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-05-01 23:36:59 -07:00
rushtehrani
a002f32a5a
instead of skipping missing values, set them
2020-04-30 11:55:13 -07:00
rushtehrani
af82c312a7
move workspace_types and common_types and refactor Parameter alias
2020-04-29 17:31:44 -07:00
Andrey Melnikov
88dd5dd788
fix: issue where newly created workflow execution did not add new labels.
2020-04-29 11:39:12 -07:00