rushtehrani
772f6ce880
move injectAutomatedFields after exit and init handlers
2020-04-29 09:37:04 -07:00
rushtehrani
41e4ff6b2c
remove all target from Makefile
2020-04-28 21:29:50 -07:00
rushtehrani
ecf8b744b4
update docker commands to use commit hash
2020-04-28 21:10:18 -07:00
rushtehrani
2bca0d7d8a
add API call to get generated workflow_template from a workspace_template manifest
2020-04-28 21:09:16 -07:00
rushtehrani
4b2e0173c1
fix stats request
2020-04-28 17:47:01 -07:00
rushtehrani
beea0ce69e
refactor workflow stats
2020-04-28 16:59:24 -07:00
Andrey Melnikov
1807234621
feat: Added ListWorkspaceTemplates
2020-04-28 16:58:39 -07:00
Aleksandr Melnikov
0d9665e11e
Adding head request to auth/token.
...
- Adding stub method to handle request.
2020-04-28 16:20:55 -07:00
rushtehrani
015d78f1a3
support hint and displayName
2020-04-28 13:59:30 -07:00
Aleksandr Melnikov
d8bf13871a
Adding extension enabling to handle this error:
...
```
FATA[0000] Failed to run database migrations: failed to run SQL migration "20200427114910_add_uid_to_workflow_template_versions_and_labels.sql": failed to execute SQL query "UPDATE workflow_template_versions SET uid = uuid_generate_v4();\n": pq: function uuid_generate_v4() does not exist
```
2020-04-28 12:05:31 -07:00
rushtehrani
816e7fdf1a
update curl templates
2020-04-28 11:57:20 -07:00
Andrey Melnikov
1ec494d34c
fix: migration to add uid to workflow executions
2020-04-28 10:47:11 -07:00
Andrey Melnikov
7528348aaf
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-04-28 10:21:23 -07:00
rushtehrani
07fe5325af
check auth and use env var for token
2020-04-27 21:19:51 -07:00
Andrey Melnikov
724a640127
fix: case where there are no labels input.
2020-04-27 20:29:02 -07:00
Andrey Melnikov
3db1a4557b
clean-up: updated code to make use of squirrel's built in "where in" logic.
2020-04-27 20:28:45 -07:00
Andrey Melnikov
3ce771967b
update: Get Workflow Template Versions to use db records and order by created at desc by default.
2020-04-27 20:17:00 -07:00
Andrey Melnikov
9c193b3616
feature: centralize labels to one location.
2020-04-27 19:55:44 -07:00
rushtehrani
d80e53a12b
inject stats container before automated fields
2020-04-27 19:21:59 -07:00
rushtehrani
2618da8d0c
move postExecutionWorkflow out of onExit
2020-04-27 19:20:36 -07:00
Andrey Melnikov
f59e7d5b1a
fix: Added workflow template version uid label
2020-04-27 16:43:07 -07:00
Andrey Melnikov
c2cf26b313
fix: issue where workflow template version uid was not being set on creation.
2020-04-27 16:40:59 -07:00
rushtehrani
6167ea6d41
use ONEPANEL_DOMAIN
2020-04-27 15:59:46 -07:00
Andrey Melnikov
872f6c97dc
fix: migration for uids
2020-04-27 15:49:15 -07:00
rushtehrani
16fe0ac2bd
update go.sum
2020-04-27 14:53:54 -07:00
rushtehrani
6b4ff97c01
prefix system parameters with 'sys'
2020-04-27 14:51:15 -07:00
rushtehrani
eb9ae0cf70
change order of method calls to ensure istio removal
2020-04-27 14:51:15 -07:00
rushtehrani
e7bac1229b
minor refactors
2020-04-27 14:51:15 -07:00
rushtehrani
4e32b4b54d
append statistics template if there is an existing handler
2020-04-27 14:51:15 -07:00
rushtehrani
3546dacb9e
rename auth package functions to not start with package name
2020-04-27 14:51:15 -07:00
rushtehrani
be226b18a7
require onExit and enterypoint templates to be DAGs
2020-04-27 14:51:15 -07:00
rushtehrani
297def6143
add postExecutionWorkflow
2020-04-27 14:51:15 -07:00
rushtehrani
f40e83f437
alias workflowExecutionParameter to Parameter for future refactor
2020-04-27 14:51:15 -07:00
rushtehrani
5d1ac885a0
decouple workflowTemplate generation
2020-04-27 14:51:15 -07:00
rushtehrani
356f695d6f
add is_archived
2020-04-27 14:51:15 -07:00
rushtehrani
dd49f038bb
better duplicate checking + additional field
2020-04-27 14:51:15 -07:00
rushtehrani
e2e3313e97
workspace database table updates
2020-04-27 14:51:15 -07:00
rushtehrani
2a5905d13b
store workspace information in database
2020-04-27 14:51:15 -07:00
rushtehrani
c105fb3c39
return workspaceTemplate.workflowTemplate in api response
2020-04-27 14:50:21 -07:00
rushtehrani
2e71663e42
support all workspace actions
2020-04-27 14:50:21 -07:00
rushtehrani
bb2b3e84a1
handle update/create vs pause/delete
2020-04-27 14:50:21 -07:00
rushtehrani
9158ddc68d
generate api for workspace_template
2020-04-27 14:50:21 -07:00
rushtehrani
63230736d9
update go.mod
2020-04-27 14:50:21 -07:00
rushtehrani
8beb2312c1
additional generated parameters
2020-04-27 14:49:16 -07:00
rushtehrani
36d7c91942
generate parameters
2020-04-27 14:49:16 -07:00
rushtehrani
3b76b6acee
uncomment create method
2020-04-27 14:49:16 -07:00
rushtehrani
2fc04179dd
fix func name and update tests
2020-04-27 14:49:16 -07:00
rushtehrani
e4685aef76
minor cleanup
2020-04-27 14:49:16 -07:00
rushtehrani
3daa67fa3a
use maps for some fields.
2020-04-27 14:49:16 -07:00
rushtehrani
25a9042852
use workspace struct
2020-04-27 14:49:15 -07:00