Andrey Melnikov
c81c2d7672
update: fixed issues where workspace template version labels were not being correctly set/got. Also updated generic server endpoints with new logic
2020-08-09 13:45:24 -07:00
Andrey Melnikov
f02e7791f7
update: updated labels for workflow templates and their versions
2020-08-08 15:56:17 -07:00
Andrey Melnikov
3e6a48ba1e
fix: issue where running a workflow execution again failed.
2020-08-04 10:40:18 -07:00
Andrey Melnikov
aeaa447beb
Revert "poc: Using a custom type for labels backed by JSONB"
...
This reverts commit 023713da32
.
2020-08-03 15:26:08 -07:00
Andrey Melnikov
023713da32
poc: Using a custom type for labels backed by JSONB
2020-08-03 15:25:18 -07:00
Andrey Melnikov
7e63fa28d0
fix: issue where nil param values caused dereference errors
2020-07-29 22:27:53 -07:00
Andrey Melnikov
b0ec3194b6
fix: workflow execution uid = name now, we should not be returning the k8s uid.
2020-07-28 11:53:49 -07:00
Aleksandr Melnikov
16274dd946
Moving some attributes form S3Config to S3Provider.
2020-07-22 15:32:38 -07:00
Aleksandr Melnikov
fa96d6ef66
Merge branch 'dev' into feat/core.331-support.gcs.artifact.repository
2020-07-14 14:06:47 -07:00
Aleksandr Melnikov
6c0d3fe598
Refactored GCS client creation.
...
Added GetObject function to be consistent with S3 functionality.
Note
- pkg/client.go, line 88 passes in the JSON.
If ArtifactRepositoryGCSCondig was imported inside gcs.NewClient
code, an import cycle would be created.
2020-07-14 14:05:31 -07:00
Aleksandr Melnikov
e526505365
Fixing the Key to look for inside the secret.
2020-07-13 17:01:07 -07:00
Aleksandr Melnikov
993ce397aa
Removing todo, verified Name is correct.
2020-07-13 16:02:14 -07:00
Aleksandr Melnikov
7a8df485ad
Removing completed todos.
2020-07-10 17:53:33 -07:00
Aleksandr Melnikov
94ae9071aa
Adding exit condition to for true
when iterating through bucket files.
2020-07-10 17:19:03 -07:00
Aleksandr Melnikov
8e2b1ab106
Merge branch 'dev' into feat/core.331-support.gcs.artifact.repository
2020-07-09 18:09:50 -07:00
Aleksandr Melnikov
e83e5d495e
Injecting GCS configuration into ArtifactRepository.
2020-07-09 18:02:18 -07:00
Aleksandr Melnikov
0f5cf7be4d
Fixing shadowed err.
2020-07-09 16:30:11 -07:00
Rush Tehrani
92f2be7cac
Merge branch 'dev' into feat/provider-specific-config
2020-07-09 14:18:49 -07:00
Aleksandr Melnikov
4e3eaae1f6
Updating ListFiles to support GCS.
2020-07-09 10:55:37 -07:00
rushtehrani
2ddab18a59
rename function
2020-07-08 17:50:16 -07:00
Aleksandr Melnikov
6727b00b05
Updating GetArtifact to support GCS.
2020-07-08 14:00:51 -07:00
Aleksandr Melnikov
81c05f9954
Adding error check.
2020-07-08 14:00:20 -07:00
Aleksandr Melnikov
ac5bf65ae9
Added GCS support for Metrics retrieval.
2020-07-08 13:36:59 -07:00
Aleksandr Melnikov
66431a21eb
Added code to get the log object from GCS.
...
Added switch statement for GCS versus S3.
2020-07-08 13:17:07 -07:00
Aleksandr Melnikov
ad16285fd4
Fixing typo.
...
Adding explicit error checking for opts.SetRange.
2020-07-08 12:53:12 -07:00
rushtehrani
7ce8d9cdfa
support workflow params for resource injection
2020-07-03 11:38:04 -07:00
rushtehrani
2868ab69c9
add resources requests and limits to nodePoolOptions
2020-07-02 22:29:05 -07:00
rushtehrani
18428c4e82
add nvidia-smi in case of aks
2020-07-02 19:19:27 -07:00
rushtehrani
cee49e67f4
add ONEPANEL_PROVIDER env var
2020-07-02 16:44:22 -07:00
Andrey Melnikov
f3a2856d65
fix: codacy issues
2020-07-02 11:20:18 -07:00
Andrey Melnikov
f1045710a0
update: refactored creating a workflow execution
2020-07-02 11:17:31 -07:00
Andrey Melnikov
ed621633df
update: updated tests to have method calls for particular cases. Added more tests.
2020-07-01 16:07:20 -07:00
Andrey Melnikov
bd5ec0e7c2
fix: updated versions to use a bigint to store nanosecond precision.
...
updated code to reflect this change and migrated it over.
2020-06-30 11:42:07 -07:00
Andrey Melnikov
114f290cde
docs: documented some workflow execution methods
2020-06-30 10:49:22 -07:00
Andrey Melnikov
782617a3e9
clean: clean up code for cron workflows
2020-06-30 10:49:22 -07:00
Andrey Melnikov
b8b9ff2543
clean: capitalization of names and added WorkflowTemplate uid generator method to encapsulate the behavior
2020-06-30 10:49:22 -07:00
Andrey Melnikov
0b54bd1c43
test: added tests for workflow executions and creating workflow templates
2020-06-30 10:49:22 -07:00
Andrey Melnikov
2091485345
feat: added basic unit testing. Also separated migrations to separate sql and go migrations. This makes it easier to unit test where we just need sql migrations.
2020-06-30 10:49:22 -07:00
Andrey Melnikov
5a13be299f
fix: code cleanup
2020-06-22 13:51:34 -07:00
Andrey Melnikov
3d5dcb632a
docs: for various types and some variable name updates per go conventions
2020-06-22 13:43:17 -07:00
Andrey Melnikov
dea5eeda3b
clean: WorkflowTemplateVersionId -> WorkflowTemplateVersionID
2020-06-22 12:29:26 -07:00
Andrey Melnikov
8cf8436afc
fix: issue where archiving workspace template was breaking because it attempted to do so for every version, but there was no logical difference since it used the template
2020-06-22 12:11:55 -07:00
Andrey Melnikov
ab9627f249
docs: added more docs
2020-06-22 11:32:33 -07:00
Andrey Melnikov
017c3ca899
update: CreateWorkflowExecution now takes in a WorkflowTemplate so it can be more easily configured. Workspaces do this by injecting runtime variables.
2020-06-20 13:18:52 -07:00
Andrey Melnikov
6fe23c7ed8
clean: code cleanup and minor documentation
2020-06-18 12:40:09 -07:00
Andrey Melnikov
8684e44632
update: added logic to inject runtime variables in Workspace templates
2020-06-18 12:40:08 -07:00
Andrey Melnikov
88b20d878d
update: workflow template created at is selected when listing workflow executions
2020-06-02 15:23:47 -07:00
Andrey Melnikov
64f6afc730
fix: replace KeyFormat placeholders with the actual value.
2020-05-29 11:43:13 -07:00
Andrey Melnikov
04bc8f2e12
update: hard-coded artifacts key format with the new config.
2020-05-29 11:27:08 -07:00
Andrey Melnikov
a138413c5f
update: exit handler no longer depends on other exit handlers. This fixes an issue where the user's custom exit handler could crash, leaving ours not executed.
2020-05-28 16:14:16 -07:00