Andrey Melnikov
5a66c278e4
feat: update argo to 2.12.4 (WIP)
2021-01-25 14:31:47 -08:00
Andrey Melnikov
a132ce4e34
chore: codacy
2021-01-19 15:50:34 -08:00
Andrey Melnikov
26218bb426
fix: workspace uid was name and not uid. Also namespace was not replaced.
2021-01-19 15:33:43 -08:00
Andrey Melnikov
734d793d83
chore: codacy formatting
2021-01-19 13:19:10 -08:00
Andrey Melnikov
23f8200042
feat: add {{workspace.uid}} to parameters as a replacable value
2021-01-19 13:03:07 -08:00
rushtehrani
1d0c898fa4
code cleanup + no param mutation
2021-01-11 20:37:23 -08:00
rushtehrani
1355f8039e
only remove whitespaces in var references
2021-01-11 20:05:58 -08:00
Andrey Melnikov
c2a80121b7
fix: issue where opts.params were overwritten because of pointer reference - this caused the params stored in database to be altered
2021-01-09 19:26:33 -08:00
Andrey Melnikov
302731e23a
feat: replace parameter namespace values for workflow/workspace with the runtime value
2021-01-09 15:14:38 -08:00
Andrey Melnikov
a8f5cde75e
fix: issue where logs would sometimes accumulate because there was no newline in the content.
2020-12-31 23:23:13 -08:00
Andrey Melnikov
080624d9e2
fix: issues with finished logs. Content was repeating, resulting in a large data load - making the stream fail.
...
No timestamps were being returned as timestamps for time 0.
Occasionally lines would cut off across multiple lines.
2020-12-31 11:07:39 -08:00
Andrey Melnikov
ba776cddbd
fix: fixed issue with logs where the timestamp parsing ignored newlines
2020-12-30 12:04:21 -08:00
rushtehrani
ab25eee9bb
bypass istio proxy for outbound traffic in workflows
2020-12-24 11:01:59 -08:00
rushtehrani
1fc5d0ea73
exclude outbound port 443
2020-12-23 18:38:15 -08:00
Andrey Melnikov
2a01138cf3
chore: codacy
2020-12-16 22:03:54 -08:00
Andrey Melnikov
ed54598771
fix: handle case for watching workflow where a timeout occurs
2020-12-16 21:32:13 -08:00
Andrey Melnikov
50a57f049c
chore: revert argo updates
2020-12-10 20:26:35 -08:00
rushtehrani
37f1c0b6eb
correctly add resources to script templates
2020-12-10 14:15:55 -08:00
Aleksandr Melnikov
93a0770f31
Merge pull request #777 from Vafilor/fix/adjust.curl
...
fix: adjust curl to use specific version and fail on non 200 responses
2020-12-09 11:16:18 -08:00
Andrey Melnikov
95e2516f66
fix: adjust curl to use specific version and fail on non 200 responses
2020-12-09 11:08:24 -08:00
Aleksandr Melnikov
f8f23451f3
Merge pull request #771 from Vafilor/test/istio.inject
...
feat: Use env var instead of tty for interactive sidecars
2020-12-09 10:17:53 -08:00
Andrey Melnikov
b1812006f9
update: changed tty to be under the "ONEPANEL_INTERACTIVE_SIDECAR"
2020-12-08 16:46:13 -08:00
Andrey Melnikov
70d604b2d0
test: istio inject var instead of tty
2020-12-07 18:21:57 -08:00
rushtehrani
3abdda5b81
name methods more explicitly
2020-12-07 16:52:26 -08:00
rushtehrani
78fde018fd
support resource limits for GPUs in Workflows
2020-12-07 15:51:50 -08:00
Andrey Melnikov
0cf38f8c85
chore: method documentation
2020-11-17 13:49:14 -08:00
Andrey Melnikov
fd713e0800
feat: added update metrics endpoint which replaces the contents. Also renamed merge to add to better distinguish the two
2020-11-17 13:42:19 -08:00
Andrey Melnikov
6af5d5b5b0
feat: added merge method workflow executions merge api
2020-11-17 13:32:55 -08:00
Andrey Melnikov
0a73aed929
feat: updated metrics structure to be an array of structs
2020-11-16 16:04:20 -08:00
Andrey Melnikov
212ef7c0de
feat: added metrics to workflow_executions database related code
2020-11-16 12:08:17 -08:00
Andrey Melnikov
8a9637bc22
fix: add hydrator
2020-11-13 12:06:18 -08:00
Andrey Melnikov
091e1d7c44
chore: removed todo comments that have been resolved
2020-11-13 12:03:53 -08:00
Andrey Melnikov
3ae2dd8077
upgraded argo to v2.11.6 (wip)
2020-11-13 11:59:44 -08:00
Aleksandr Melnikov
b296d85c07
Merge branch 'master' into chore/removing.unused.function
2020-11-13 10:17:35 -08:00
rushtehrani
4fec204e7f
use correct where statement
2020-11-12 12:22:15 -08:00
rushtehrani
f7e48a0be7
don't update phase for already terminated workflow
2020-11-11 09:53:13 -08:00
rushtehrani
3f70f26da4
use stop instead of terminate
2020-11-10 19:38:52 -08:00
Aleksandr Melnikov
f7c74ebf13
Removing ensureWorkflowRunsOnDedicatedNode function.
...
- Not used
- We're using a different function
2020-11-10 16:05:36 -08:00
Aleksandr Melnikov
a5ec80e586
If tty is set to true, mirror the main container volume mounts to
...
sidecars.
- This way, sidecars have access
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
a67012f893
Tweaking the dependencies of the sys-exit task.
...
- This ensures that multiple sidecars will vertically end
at the sys-exit task.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
806d15f4c9
Adjusting the exit-handler task order.
...
- sys-exit will run after deletion of service and virtual service
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
74752efd20
Adding output parameters to the template with the sidecars.
...
- These are the URLs for the side-cars.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
5e4d5c0242
Changed the order of tasks for the exit handler.
...
- The clean up tasks for service(s) and virtualservice(s) will
now display vertically.
If multiple sidecars were present, parallel vertical rows will display.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
c699b5b2ba
Changed the order of tasks per feedback.
...
The new structure is:
sys-send-status -> service -> virtual service -> main task
If there are multiple sidecars for the same template, they
are displayed next to each other, vertically and in parallel.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
5bd7f222cd
Removing the workflow.uid, because it causes a doubly long uid string.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
04a1db0f81
Adding "sys-" prefix to onepanel injected services and virtualservices.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
d4846b521e
Putting the services and virtualservices for sidecars logic, into
...
it's own function.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
544991117c
Changing the label that maps between the service and pod.
...
- For multiple sidecars, this needs to be unique as well.
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
8057098e29
Fixing envoyfilter by adding "--" to the sub-domain url that gets
...
generate.d
2020-11-10 15:58:26 -08:00
Aleksandr Melnikov
ccb991207b
Adding code to clean-up the service and virtualservice after the
...
workflow is finished.
- Adding clean-up code to run alongside any onExit tasks.
2020-11-10 15:58:26 -08:00