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 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						3ebd7ab245 
					 
					
						
						
							
							increase column size to 63 for cron workflows and workflo executions  
						
						
						
						
					 
					
						2020-05-22 17:26:58 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						cd4f429559 
					 
					
						
						
							
							Merge branch 'develop' into feat/core.171-archiving.workflow.template.clean.up  
						
						
						
						
					 
					
						2020-05-22 15:44:01 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						bd38568e6b 
					 
					
						
						
							
							Fixing "is_archived" not being set on insert, which had unintentional  
						
						... 
						
						
						
						consequences for displaying data in UI. 
						
						
					 
					
						2020-05-22 15:22:14 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						16b3f37b1d 
					 
					
						
						
							
							Refactoring per feedback.  
						
						... 
						
						
						
						- https://github.com/onepanelio/core/pull/226#discussion_r429046881 
Removing helper methods that are not saving code.
- This also fixes k8s / db methods that were exposed from the package.
Instead, using an ArchiveWorkflowExecution function to achieve
the same functionality. 
						
						
					 
					
						2020-05-22 13:44:00 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						375ef146f3 
					 
					
						
						
							
							Removing unused function.  
						
						... 
						
						
						
						- Referenced: https://github.com/onepanelio/core/pull/226#discussion_r429026779  
						
						
					 
					
						2020-05-22 12:53:40 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						bc1236fef3 
					 
					
						
						
							
							Updated cron workflow and workflow execution select queries.  
						
						... 
						
						
						
						- Exclude "is_archived" rows. 
						
						
					 
					
						2020-05-22 11:59:43 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						d4fbd71d55 
					 
					
						
						
							
							Updating workflow execution selection to not return archived executions.  
						
						
						
						
					 
					
						2020-05-21 22:37:50 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						e8c28175f5 
					 
					
						
						
							
							Fixing queries not executing.  
						
						
						
						
					 
					
						2020-05-21 22:33:12 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						860dc7398c 
					 
					
						
						
							
							Updating function names per feedback.  
						
						
						
						
					 
					
						2020-05-21 22:20:00 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						1a9ce9870d 
					 
					
						
						
							
							Refactoring DB queries related to archiving.  
						
						... 
						
						
						
						- Using Squirrel RunWith instead of ToSql. 
						
						
					 
					
						2020-05-21 22:19:26 -07:00 
						 
				 
			
				
					
						
							
							
								Rush Tehrani 
							
						 
					 
					
						
						
							
						
						d273037954 
					 
					
						
						
							
							Merge pull request  #236  from onepanelio/fix/onepanelio.core.234-workflow.details.issues  
						
						... 
						
						
						
						Fix/onepanelio.core.234 workflow.details.issues 
						
						
					 
					
						2020-05-21 16:07:28 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						ea5d4d56fb 
					 
					
						
						
							
							update: Updated GetWorkflowExecution request to also get information for the workflow template, since we query for it anyway.  
						
						
						
						
					 
					
						2020-05-21 15:13:26 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						79aa54c0c1 
					 
					
						
						
							
							don't compress artifacts by default  
						
						
						
						
					 
					
						2020-05-21 08:35:13 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						68ffbb1d93 
					 
					
						
						
							
							Refactoring raw SQL to use squirrel.  
						
						
						
						
					 
					
						2020-05-20 15:53:12 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						b79cfa019f 
					 
					
						
						
							
							Added code to clean up Workflow Executions.  
						
						... 
						
						
						
						- Removes db and k8s entries. 
						
						
					 
					
						2020-05-20 14:59:01 -07:00 
						 
				 
			
				
					
						
							
							
								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