Skip to content

Commit

Permalink
auto generate runtime yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird authored and github-actions[bot] committed Dec 10, 2024
1 parent d40e5f3 commit 0a76794
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}"
}
]
},
{
"name": "pytorch",
"version": [
{
"name": "pytorch",
"image": "ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f",
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}"
}
]
}
],
"Language": [
Expand Down
10 changes: 10 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,16 @@
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}"
}
]
},
{
"name": "pytorch",
"version": [
{
"name": "pytorch",
"image": "ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f",
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}"
}
]
}
],
"Language": [
Expand Down
39 changes: 39 additions & 0 deletions yaml/cn/Framework/pytorch/pytorch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: devbox.sealos.io/v1alpha1
kind: Runtime
metadata:
name: pytorch-pytorch-2024-12-10-0431
namespace: devbox-system
annotations:
devbox.sealos.io/defaultVersion: "false"
spec:
classRef: pytorch
config:
image: ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f
ports:
- containerPort: 22
name: devbox-ssh-port
protocol: TCP
appPorts:
- port: 8080
name: devbox-app-port
protocol: TCP
user: devbox
workingDir: /home/devbox/project
releaseCommand:
- /bin/bash
- -c
releaseArgs:
- /home/devbox/project/entrypoint.sh
description: pytorch pytorch
version: "pytorch"
runtimeVersion: 2024-12-10-0431
state: active
---
apiVersion: devbox.sealos.io/v1alpha1
kind: RuntimeClass
metadata:
name: pytorch
spec:
title: "pytorch"
kind: Framework
description: pytorch
39 changes: 39 additions & 0 deletions yaml/en/Framework/pytorch/pytorch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: devbox.sealos.io/v1alpha1
kind: Runtime
metadata:
name: pytorch-pytorch-2024-12-10-0431
namespace: devbox-system
annotations:
devbox.sealos.io/defaultVersion: "false"
spec:
classRef: pytorch
config:
image: ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f
ports:
- containerPort: 22
name: devbox-ssh-port
protocol: TCP
appPorts:
- port: 8080
name: devbox-app-port
protocol: TCP
user: devbox
workingDir: /home/devbox/project
releaseCommand:
- /bin/bash
- -c
releaseArgs:
- /home/devbox/project/entrypoint.sh
description: pytorch pytorch
version: "pytorch"
runtimeVersion: 2024-12-10-0431
state: active
---
apiVersion: devbox.sealos.io/v1alpha1
kind: RuntimeClass
metadata:
name: pytorch
spec:
title: "pytorch"
kind: Framework
description: pytorch

0 comments on commit 0a76794

Please sign in to comment.