-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apply): adds support for apply command (#30)
* initial structure for the params subcommand. boilerplace code copied from ioctl of sootballs. * fix(network): handles network not found correctly * feat(apply): adds beta support for apply command * WIP * WIP * added params functions with upload and download plus delete existing * pulled ankits changes * WIP * added explain command * added explain command and fixed conflicts * added disk example. and dependency parser upto apply * WIP * local cleanup with some debugging messages * WIP * added gracefull handling for mising resources * fixed regressions. checks for missing resources. resolved resources cache * updated setup.py * WIP * added first draft of riocli apply with package and deployment provisioning * WIP * added edge and robot packages. fixes to models.py * WIP * WIP * added wait for disk creation * initialized delete command * WIP * refactor of resolver and applier * WIP * apply: adds support for jinja templates * added support for dryrun * added pretty logging * apply: adds support for .j2 files * added pre-plan page * pulled devel. fixed deprecated_devel * fixes * fixes * added systemui package as well as deployments * added fix for key access error * changes in manifest * adds robot * fixes * adds demo files * sanitized json schema * batched together uncommited changes from japan * adds chart commands * added listing of helm charts * documentation for chart commands * fixed bugs for apply command * added reasonable package listing based on name then version. Addresses Issue #39 * Added support for bash globbing, secrets , cleaned up explain output, package listing by name * added support for mermaid.js visualization with environment flag MERMAID=true * fixed restartPolicy, and envArgs default value bug. Fixed charts apply command. Added secret shading using values in apply command. * Added support for parallization. added few improvements * random screen cast from git * feature(apply): supports enabling of both the runtimes during device creation * bumped rapyuta-sdk * incorporated feedback comments. * added support for both sync and async apply through --workers flag * added support for --workers flag to chart command * updates dependencies * fixes the worker type * fixes device deployments with multiple mounts on same exec Co-authored-by: Shaishav Kumar <[email protected]> Co-authored-by: Shaishav Kr <[email protected]> Co-authored-by: Shiv Mohith <[email protected]> Co-authored-by: Amit Singh <[email protected]>
- Loading branch information
1 parent
fa250ef
commit f6ae40d
Showing
104 changed files
with
10,585 additions
and
577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Disk" | ||
metadata: | ||
name: "cvat_minio" | ||
spec: | ||
runtime: cloud | ||
capacity: 256 | ||
--- | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Disk" | ||
metadata: | ||
name: "cvat_data_128gb" | ||
spec: | ||
runtime: cloud | ||
capacity: 256 | ||
--- | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Disk" | ||
metadata: | ||
name: "cvat_db" | ||
spec: | ||
runtime: cloud | ||
capacity: 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
apiVersion: apiextensions.rapyuta.io/v1 | ||
kind: Deployment | ||
metadata: | ||
name: cvat_db | ||
depends: | ||
kind: package | ||
nameOrGUID: cvat_db_redis | ||
version: "v1.0.2" | ||
labels: | ||
app: cvat | ||
spec: | ||
runtime: cloud | ||
envArgs: | ||
- name: PGDATA | ||
value: "/var/lib/postgresql/data/pgdata" | ||
- name: POSTGRES_DB | ||
value: "cvat" | ||
- name: POSTGRES_USER | ||
value: root | ||
- name: POSTGRES_HOST_AUTH_METHOD | ||
value: "trust" | ||
volumes: | ||
- execName: postgres | ||
mountPath: "/var/lib/postgresql/data" | ||
depends: | ||
kind: disk | ||
nameOrGUID: "cvat_data_128gb" | ||
staticRoutes: | ||
- name: CVAT_UI | ||
depends: | ||
kind: staticroute | ||
nameOrGUID: cvat-prod | ||
--- | ||
apiVersion: apiextensions.rapyuta.io/v1 | ||
kind: Deployment | ||
metadata: | ||
name: cvat_prod | ||
depends: | ||
kind: package | ||
nameOrGUID: cvat_custom | ||
version: "v1.3.0" | ||
labels: | ||
app: cvat | ||
spec: | ||
depends: | ||
- kind: deployment | ||
nameOrGUID: cvat_db | ||
runtime: cloud | ||
envArgs: | ||
- name: DJANGO_MODWSGI_EXTRA_ARGS | ||
value: " " | ||
- name: ALLOWED_HOSTS | ||
value: "*" | ||
volumes: | ||
- execName: cvat_server | ||
mountPath: "/home/django/user_data" | ||
depends: | ||
kind: disk | ||
nameOrGUID: "cvat_data_128gb" | ||
staticRoutes: | ||
- name: CVAT_UI | ||
depends: | ||
kind: staticroute | ||
nameOrGUID: cvat-prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: apiextensions.rapyuta.io/v1 | ||
kind: Deployment | ||
metadata: | ||
name: pgAdmin | ||
depends: | ||
kind: package | ||
nameOrGUID: pgAdmin | ||
version: "v1.0.1" | ||
labels: | ||
app: cvat | ||
spec: | ||
depends: | ||
- kind: deployment | ||
nameOrGUID: cvat_db | ||
runtime: cloud | ||
envArgs: | ||
- name: PGADMIN_DEFAULT_PASSWORD | ||
value: "pgadmin" | ||
- name: PGADMIN_DEFAULT_EMAIL | ||
value: "[email protected]" | ||
volumes: | ||
- execName: cvat_server | ||
mountPath: "/home/django/user_data" | ||
depends: | ||
kind: disk | ||
nameOrGUID: "cvat_data_128gb" | ||
staticRoutes: | ||
- name: endpoint | ||
depends: | ||
kind: staticroute | ||
nameOrGUID: cvat-prod |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
routePrefix: "rrkibdem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Disk" | ||
metadata: | ||
name: "small-pvc-4" | ||
spec: | ||
runtime: cloud | ||
capacity: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Secret" | ||
metadata: | ||
name: "sootballs" | ||
guid: secret-vebkjobybhhwmyiwkwvndagu | ||
spec: | ||
type: Docker | ||
docker: | ||
username: shaishavrapyuta | ||
password: asdfg123$ | ||
email: shaishavrapyuta | ||
# registry: https://index.docker.io/v1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: "apiextensions.rapyuta.io/v1" | ||
kind: "Network" | ||
metadata: | ||
name: "sootballs" | ||
spec: | ||
runtime: "cloud" | ||
type: "routed" | ||
rosDistro: "melodic" | ||
resourceLimits: "small" |
Oops, something went wrong.