Aleksandr Melnikov
029469e031
Changing the secret "key" value.
...
- Otherwise, the workflow can't get access to GCS bucket.
2020-09-08 11:10:05 -07:00
Andrey Melnikov
5d3345ded2
update: removed port since default is 80
2020-08-17 16:17:10 -07:00
Andrey Melnikov
0274785f72
fix: removed port environment variable as it is no longer needed since host is not using an environment variable
2020-08-17 16:14:30 -07:00
Andrey Melnikov
bcec3c13fd
fix: update core pod host to use string instead of environment variable which evaluates to a static ip
2020-08-17 16:07:47 -07:00
rushtehrani
ce805bfa20
feat: Support script templates in Workflow
2020-08-12 22:31:42 -07:00
Andrey Melnikov
4b4cccbd74
Merge pull request #486 from onepanelio/feat/remove-nvidia-smi-mount
...
chore: Remove nvidia-smi mount
2020-08-11 10:10:57 -07:00
Aleksandr Melnikov
d41dad0074
Merge pull request #493 from onepanelio/feat/onepanelio.labels.upgrade
...
feat: upgrade label structure to support querying with multiple labels
2020-08-10 17:01:19 -07:00
Andrey Melnikov
8586639a6c
update: cron workflows to use new labels
2020-08-09 16:15:05 -07:00
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
6edca5731b
update: change reader to use bufio for buffered reading
2020-08-07 15:15:25 -07:00
Andrey Melnikov
63bdb69968
fix: issue where scanner could not handle long lines while reading logs
2020-08-07 15:10:55 -07:00
rushtehrani
b2e887c1c9
remove nvidia-smi mount
2020-08-06 14:18:21 -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