Skip to content

Commit

Permalink
Delete Mesos related exit codes and docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanElsaban committed May 13, 2024
1 parent 2d3b752 commit f99bea8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 61 deletions.
3 changes: 0 additions & 3 deletions tron/core/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class ActionCommandConfig:
cap_drop: List[str] = field(default_factory=list)
constraints: set = field(default_factory=set)
docker_image: Optional[str] = None
# XXX: we can get rid of docker_parameters once we're off of Mesos
docker_parameters: set = field(default_factory=set)
env: dict = field(default_factory=dict)
secret_env: dict = field(default_factory=dict)
secret_volumes: List[ConfigSecretVolume] = field(default_factory=list)
Expand Down Expand Up @@ -85,7 +83,6 @@ def from_config(cls, config: ConfigAction) -> "Action":
disk=(1024.0 if config.disk is None else config.disk),
docker_image=config.docker_image,
constraints=set(config.constraints or []),
docker_parameters=set(config.docker_parameters or []),
extra_volumes=set(config.extra_volumes or []),
env=config.env or {},
secret_env=config.secret_env or {},
Expand Down
2 changes: 0 additions & 2 deletions tron/utils/exitcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
EXIT_NODE_ERROR = -2
EXIT_STOP_KILL = -3
EXIT_TRIGGER_TIMEOUT = -4
EXIT_MESOS_DISABLED = -5
EXIT_KUBERNETES_DISABLED = -6
EXIT_KUBERNETES_NOT_CONFIGURED = -7
EXIT_KUBERNETES_TASK_INVALID = -8
Expand All @@ -16,7 +15,6 @@
EXIT_NODE_ERROR: "Node error",
EXIT_STOP_KILL: "Stopped or killed",
EXIT_TRIGGER_TIMEOUT: "Timed out waiting for trigger",
EXIT_MESOS_DISABLED: "Mesos disabled",
EXIT_KUBERNETES_DISABLED: "Kubernetes disabled",
EXIT_KUBERNETES_NOT_CONFIGURED: "Kubernetes enabled, but not configured",
EXIT_KUBERNETES_TASK_INVALID: "Kubernetes task was not valid",
Expand Down
40 changes: 0 additions & 40 deletions yelp_package/itest_dockerfiles/mesos/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions yelp_package/itest_dockerfiles/mesos/mesos-secrets

This file was deleted.

4 changes: 0 additions & 4 deletions yelp_package/itest_dockerfiles/mesos/mesos-slave-secret

This file was deleted.

0 comments on commit f99bea8

Please sign in to comment.