Aleksandr Melnikov
81566969c7
Merge pull request #223 from onepanelio/feat/ns-scoped-artifact-config
...
feat: ns scoped artifact config
2020-05-20 13:32:19 -07:00
rushtehrani
6d0260a623
get artifactRepository config separately
2020-05-20 12:15:53 -07:00
Andrey Melnikov
f3deea797b
update: reworked watching workflow execution to keep watching until the workflow is done or failed.
2020-05-20 11:23:03 -07:00
Andrey Melnikov
dc1972a808
fix: (WIP) fixed an issue where workflow watch crashed and closed websocket, despite the workflow still running.
2020-05-19 20:59:05 -07:00
rushtehrani
609f24fcb2
update documentation
2020-05-19 18:03:58 -07:00
rushtehrani
a7d075e7c7
use correct http method
2020-05-19 17:40:22 -07:00
rushtehrani
2df35cb27e
add workflow status webhook
2020-05-19 17:33:02 -07:00
rushtehrani
260dd334f6
update api + remove unused import
2020-05-19 12:57:37 -07:00
Andrey Melnikov
9deee0cc8c
Merge pull request #213 from onepanelio/feat/resource-env-vars
...
feat: resource env vars
2020-05-19 12:43:55 -07:00
rushtehrani
8540bb82b7
add comment to function + named return value
2020-05-19 12:40:22 -07:00
rushtehrani
ac8c622769
remove length check since range will not iterate on 0 length slices
2020-05-19 12:31:15 -07:00
Rush Tehrani
e75170d468
Merge pull request #205 from onepanelio/fix/labels
...
fix: remove label uid and fix migration
2020-05-19 11:38:48 -07:00
rushtehrani
679d7e50b5
add resource env vars
2020-05-18 22:10:44 -07:00
rushtehrani
3f5108121b
remove unused methods
2020-05-18 21:43:02 -07:00
rushtehrani
8ddab20769
append artifact repository to outputs as well if only key is provided
2020-05-18 19:49:18 -07:00
rushtehrani
674c4f81e5
inject default artifact repository
2020-05-18 15:48:38 -07:00
Andrey Melnikov
756010958d
fix: GetWorkflowExecution now gets the same columns as List.
...
Also minor cleanup with method calls.
2020-05-18 12:47:04 -07:00
rushtehrani
cf7d52bb19
namespace config updates
2020-05-18 12:34:05 -07:00
Andrey Melnikov
14af381877
fix: issue where cloning a workflow by uid didn't work.
2020-05-17 14:03:23 -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