Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 refactor!: removes build from the CLI #241

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions docs/source/build.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Rapyuta CLI has commands for all rapyuta.io resources. You can read more about t

Apply <apply>
Authentication <auth>
Build <build>
Chart <chart>
Completion <completion>
Deployment <deployment>
Expand Down
84 changes: 0 additions & 84 deletions riocli/apply/manifests/build.yaml

This file was deleted.

14 changes: 1 addition & 13 deletions riocli/apply/manifests/package-nonros-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,8 @@ spec:
cloud:
replicas: 1 # Required
executables: # Required
- name: "exec-build"
type: build # Options: [docker (default), build, preInstalled]
command: "sleep infinity"
runAsBash: True
simulation: False
limits:
cpu: 0.025 # Unit: Core Options: [Multiple of 0.025, <= 8]
memory: 128 # Unit: MB Options: [Multiple of 128, <= 32768]
build:
depends:
kind: build
nameOrGUID: "build"
- name: "exec-docker"
type: docker # Options: [docker (default), build, preInstalled]
type: docker # Options: [docker (default), preInstalled]
command: "sleep infinity"
runAsBash: True
simulation: False
Expand Down
24 changes: 2 additions & 22 deletions riocli/apply/manifests/package-nonros-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,8 @@ spec:
arch: amd64 # Options: [arm32v7, arm64v8, amd64]
restart: always # Options: [always, never, onfailure]
executables: # Required
- name: "exec-build"
type: build # Options: [docker (default), build, preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
cpu: 0.025 # Unit: Core (Optional)
memory: 128 # Unit: MB (Optional)
livenessProbe: # Optional
exec:
command:
- "shell-cmd"
initialDelaySeconds: 5 # Number of seconds after the container has started before liveness probes are initiated.
periodSeconds: 10 # How often (in seconds) to perform the probe.
failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded.
successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed.
timeoutSeconds: 1 # Number of seconds after which the probe times out.
build:
depends:
kind: build
nameOrGUID: "build"
- name: "exec-docker"
type: docker # Options: [docker (default), build, preInstalled]
type: docker # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
Expand All @@ -58,7 +38,7 @@ spec:
kind: secret
nameOrGUID: "secret-docker"
- name: "exec-preInstalled"
type: preInstalled # Options: [docker (default), build, preInstalled]
type: preInstalled # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
environmentArgs:
- name: "key1" # Required
Expand Down
14 changes: 1 addition & 13 deletions riocli/apply/manifests/package-ros-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,8 @@ spec:
cloud:
replicas: 1 # Required
executables: # Required
- name: "exec-build"
type: build # Options: [docker (default), build, preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
simulation: False
limits:
cpu: 0.025 # Unit: Core Options: [Multiple of 0.025, <= 8]
memory: 128 # Unit: MB Options: [Multiple of 128, <= 32768]
build:
depends:
kind: build
nameOrGUID: "build"
- name: "exec-docker"
type: docker # Options: [docker (default), build, preInstalled]
type: docker # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
simulation: False
Expand Down
23 changes: 2 additions & 21 deletions riocli/apply/manifests/package-ros-device-no-rosbag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,8 @@ spec:
arch: amd64 # Options: [arm32v7, arm64v8, amd64]
restart: always # Options: [always, never, onfailure]
executables: # Required
- name: "exec-build"
type: build # Options: [docker (default), build, preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
cpu: 0.025 # Unit: Core (Optional)
memory: 128 # Unit: MB (Optional)
livenessProbe: # Optional
tcpSocket:
port: 999
initialDelaySeconds: 5 # Number of seconds after the container has started before liveness probes are initiated.
periodSeconds: 10 # How often (in seconds) to perform the probe.
failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded.
successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed.
timeoutSeconds: 1 # Number of seconds after which the probe times out.
build:
depends:
kind: build
nameOrGUID: "build"
- name: "exec-docker"
type: docker # Options: [docker (default), build, preInstalled]
type: docker # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
Expand All @@ -57,7 +38,7 @@ spec:
kind: secret
nameOrGUID: "secret-docker"
- name: "exec-preInstalled"
type: preInstalled # Options: [docker (default), build, preInstalled]
type: preInstalled # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
environmentArgs:
- name: "key1" # Required
Expand Down
22 changes: 1 addition & 21 deletions riocli/apply/manifests/package-ros-device-rosbag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,8 @@ spec:
arch: amd64 # Options: [arm32v7, arm64v8, amd64]
restart: always # Options: [always, never, onfailure]
executables: # Required
- name: "exec-build"
type: build # Options: [docker (default), build, preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
cpu: 0.025 # Unit: Core (Optional)
memory: 128 # Unit: MB (Optional)
livenessProbe: # Optional
httpGet:
path: "/"
port: 90
initialDelaySeconds: 5 # Number of seconds after the container has started before liveness probes are initiated.
periodSeconds: 10 # How often (in seconds) to perform the probe.
failureThreshold: 1 # Minimum consecutive failures for the probe to be considered failed after having succeeded.
successThreshold: 3 # Minimum consecutive successes for the probe to be considered successful after having failed.
timeoutSeconds: 1 # Number of seconds after which the probe times out.
build:
depends:
kind: build
nameOrGUID: "build"
- name: "exec-docker"
type: docker # Options: [docker (default), build, preInstalled]
type: docker # Options: [docker (default), preInstalled]
command: "roslaunch talker talker.launch"
runAsBash: True
limits: # Optional
Expand Down
Loading
Loading