Commit Graph

42 Commits

Author SHA1 Message Date
Raj Babu Das f9d98aa6ff
Adding go routine to cloning default myhub function (#2363)
* Adding go routine to cloning default myhub function

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Adding context.background

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-24 12:23:11 +05:30
Raj Babu Das 2afa0d6a58
ignoring error (#2362)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-23 18:22:21 +05:30
Ramiro Berrelleza 8a4f8d7541
add okteto manifests to graphql and authentication server (#2308)
Signed-off-by: Ramiro Berrelleza <rberrelleza@gmail.com>
2020-11-16 08:25:03 +05:30
Raj Babu Das e438fa498c
Changing litmus portal readme and litmus crds (#2352)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-15 22:59:33 +05:30
Amit Kumar Das a94ad9f58f
Migrated MyHub from users collection to MyHub collection (#2337)
* Migrated myhub from users collection to myhub collection

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Updated go-routine and default hub and some changes.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Minor fix

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Removed unnecessary prints

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Added updated at and created at in myhub

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

Co-authored-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-11-12 17:48:47 +05:30
Raj Babu Das f64afb5ed2
(litmus-portal): Adding auth credentials to MongoDB deployment and refactoring gql-sever and auth-server (#2339)
* Adding auth to mongodb

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Adding auth to mongodb

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Adding auth to mongodb

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* adding error pkg

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* go fmt

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-12 08:09:01 +05:30
OUM NIVRATHI KALE c9793f8efe
Added Delete Cluster Feature For Targets (#2334)
* delete target

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>

* delete cluster

Signed-off-by: Oum Kale <oum.kale@mayadata.io>
2020-11-11 23:02:26 +05:30
VEDANT SHROTRIA e2b330ef51
Added go-routine for syncing of hubs. (#2320)
* Added go-routine for syncing of hubs.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Resolved the conflicts.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-11-10 21:31:17 +05:30
Raj Babu Das 38da86f7ff
Sending namespace if manifest namespace is empty (#2332)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-10 07:36:59 +05:30
Amit Kumar Das 4aa3fb9a5b
chore(litmus-portal): Patch to keep the workflow runs when schedules are deleted (#2331)
* patch to keep workflow runs on schedules delete

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* go fmt

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Removed delete operation and changes in get workflow query

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-11-09 12:46:40 +05:30
Raj Babu Das 0e4a392dce
Removing self-deployer code and its dependencies (#2330)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-08 16:40:39 +05:30
Raj Babu Das b955dc5dbf
Refactoring update workflow function (#2329)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-08 16:40:26 +05:30
Raj Babu Das 31aa5d9e3e
Adding delete cluster mutation (#2319)
* Adding delete cluster mutation

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Resolve merge conflict

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Resolve merge conflict

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-06 20:45:03 +05:30
Raj Babu Das b8cade0b6a
chore(litmus-portal): Adding update workflow operation to graphql server (#2327)
* Adding workflow update

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* changes in operations.go

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Adding update permission

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* changes in operations.go

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Reeusing chaosworkflowInput for update workflow schema

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-06 20:06:59 +05:30
VEDANT SHROTRIA a3b52b017e
Added API Endpoint for fetching yamls for Engine/Experiment/RBAC. (#2324)
* Added Endpoints for experiment yamls.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Added support for default public hub.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Added error handling

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

Co-authored-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-11-06 19:54:32 +05:30
Raj Babu Das d2ecb9112b
Enhancing workflow delete operation (#2326)
* Enhancing workflow delete operation

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Adding delete permission

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-06 00:27:12 +05:30
Raj Babu Das 389d87aa84
Moving self deployer functionalities to graphql server (#2318)
* Adding self-connection code

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* Moving self deployer functionalities to  graphql server

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* adding cluster-k8s-manifest.yml

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* rollback graphql-server/utils/misc.go
2020-11-05 12:00:45 +05:30
Soumya Ghosh Dastidar cfc2989657
Added Path to handle duplicate workflow events (#2312)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-11-04 09:48:12 +05:30
Raj Babu Das aed1f452b4
Refactoring manifest parser function for the fields(agent-namespace and service account) (#2307)
Refactoring manifest parser function for the fields(agent-namespace and service account)

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-11-03 10:24:41 +05:30
Harsh Shekhar 918928ef50
chore(update): user cluster registration schema (#2288)
* update user cluster registration schema

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* Remove extra namespace yaml from cluster-subscriber.yml

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* add missing fields in self-deployer registration

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* add nsExists and saExists field in UserClusterReg mutation

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* check empty string for sa and ns

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>

* Regenerate graphql graph

Signed-off-by: Harsh Shekhar <harsh.shekhar@mayadata.io>
2020-10-30 20:27:55 +05:30
VEDANT SHROTRIA 69fdb6424a
Added Endpoints for Hub Status and Repository resync support. (#2299)
* Codebase refactored.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Added endpoint for hub status

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Updated the schema with consistent names and added resyncing support for hubs.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Removed check for default branch.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Removed logs.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

* Required changes done.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>

Co-authored-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-10-29 18:53:34 +05:30
VEDANT SHROTRIA cc1ca7b14b
Added Backend Implementation for My Hub and required graphql endpoints. (#2291)
- Backend Implementation for My Hub.
- GitHub Clone feature for My Hub.
- Graphql endpoints for charts and experiment details.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
Co-authored-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-10-27 11:07:58 +05:30
Raj Babu Das 875879c10a
Changing image pull policy to Always in workflow executor (#2295)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-25 22:16:53 +05:30
Soumya Ghosh Dastidar d406801bb0
Added Pod Log permission (#2249)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-10-13 20:39:24 +05:30
Raj Babu Das 183ff312db
adding create configmap permission in subscriber manifest and few refactors in subscriber (#2248)
* adding create configmap permission and few refactors in subscriber

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>

* adding create configmap permission and few refactors in subscriber

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-13 16:05:45 +05:30
Raj Babu Das 7f2fddb7fe
Adding is_cluster_confimed (#2237)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-12 12:01:46 +05:30
Raj Babu Das 4586d41728
Adding namespace in argo chaos sa (#2234)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-10 23:51:25 +05:30
Raj Babu Das ab39d75afb
Adding external cluster support for litmusportal (#2127)
* Adding external cluster support
<raj.das@mayadata.io>
2020-10-08 12:30:30 +05:30
Saranya Jena ff4ffc308c
(feat Teaming): Cancel invite, Remove member, Resend Invitation (#2126)
* Implemented remove member, cancel invite and resend invitation feature

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>

* minor change

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>
2020-10-08 11:06:20 +05:30
Soumya Ghosh Dastidar 098e24e8ee
Removed expiration from cluster jwt (#2205)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-10-07 17:00:42 +05:30
Raj Babu Das 89c71d5922
Saving cluster yaml token to clusters collection (#2203)
Saving cluster yaml token to clusters collection

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-07 15:36:54 +05:30
Ishan Gupta acb4751bda
fix for RBAC (#2204)
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-10-07 15:18:52 +05:30
Ishan Gupta ce4bbabaf5
Namespace scope mode for litmus-portal and okteto cloud dev environment integration. (#2187)
This commit adds namespace scope installation configuration and required code changes for it to litmus-portal and also adds Okteto cloud dev environment setup.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-10-07 10:33:58 +05:30
Raj Babu Das 1590212fc8
Adding no of workflow and schedules in getCluster query (#2197)
* Adding no of workflow and schedules in getCluster graphql query

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-06 23:53:02 +05:30
Raj Babu Das 131cb3e19e
Adding clusterid and clustername response in UserClusterReg Mutation (#2184)
* Adding clusterid and clustername response in UserClusterReg Mutation

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-10-06 23:22:03 +05:30
Soumya Ghosh Dastidar 7a39d52214
Fixed Cron Workflows (#2192)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-10-06 08:52:43 +00:00
William Zhang 66b4557f73
fix: update CRs (#2176)
Signed-off-by: William Zhang <WilliamHYZhang@gmail.com>
2020-10-05 13:56:32 +05:30
Raj Babu Das a05689b6a4
GQL Mutation for getWorkflows (Workflows + Workflowruns) (#2105)
* GQL Mutation for ListWorkflowsByIDs

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-29 10:15:06 +05:30
Raj Babu Das 8ad6ecc9a8
Changing Subscriber namespace and deployer namespace to env var (#2107)
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-23 15:07:23 +05:30
Soumya Ghosh Dastidar 5faa06c4d1
CORS Fix (#2091)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-18 11:29:20 +05:30
Soumya Ghosh Dastidar d5e553584b
Moved Subscriber and Deployer images to env-var (#2073)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-15 10:41:05 +05:30
Raj Babu Das 15beb32e1b
Graphql-server directory restructuring. (#2043)
* Restructuring graphql server

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-14 13:28:27 +05:30