deploy: scripts Gitea push + SSH server deploy + nginx web + OpenClaw messages + RUNBOOK
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
69
deploy/openclaw_messages.md
Normal file
69
deploy/openclaw_messages.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# Messages OpenClaw pour DauphinCraft
|
||||
|
||||
## Message 1 — Ping initial OpenClaw (test connectivité)
|
||||
**Cible** : `agent:main:discord:channel:1495446723290599554` (Silver Surfer)
|
||||
**Via** :
|
||||
```
|
||||
openclaw sessions send "agent:main:discord:channel:1495446723290599554" "Hello Silver Surfer — projet DauphinCraft prêt au déploiement. Status check."
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Message 2 — Demande création VM Linux
|
||||
**Via** :
|
||||
```
|
||||
openclaw sessions send "agent:main:ops" "CREATE_VM: name=dauphincraft-srv, os=debian12, cpu=1, ram=1024, disk=5G, ip=192.168.1.XX (à choisir)"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Message 3 — Dépose du binaire serveur dans inbox
|
||||
**Via** : fichier déposé dans `~/.openclaw/workspace/inbox/dauphincraft_deploy.json`
|
||||
|
||||
Contenu du fichier :
|
||||
```json
|
||||
{
|
||||
"action": "deploy_game_server",
|
||||
"project": "dauphincraft",
|
||||
"artifact_url": "http://192.168.1.86:3000/flagabat/dauphincraft/releases/download/v0.1.0/DauphinCraft-Server-v0.1.tar.gz",
|
||||
"target_vm": "dauphincraft-srv",
|
||||
"port": 7777,
|
||||
"systemd_service": "dauphincraft.service",
|
||||
"install_script": "install.sh"
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Message 4 — Catégorie Discord "DauphinCraft"
|
||||
**Via** :
|
||||
```
|
||||
openclaw sessions send "agent:main:discord:labo" "CREATE_CATEGORY: name=DauphinCraft, channels=[annonces,bugs,features,build-logs,serveur-status]"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Message 5 — Webhook Gitea → Discord build-logs
|
||||
**Via** : message Silver Surfer
|
||||
```
|
||||
openclaw sessions send "agent:main:discord:channel:1495446723290599554" "Setup webhook Gitea repo dauphincraft → Discord channel #dauphincraft-build-logs pour notifier commits + releases."
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Message 6 — Description catégorie
|
||||
**Via** : Silver Surfer
|
||||
```
|
||||
openclaw sessions send "agent:main:discord:channel:1495446723290599554" "Mets une description à la catégorie DauphinCraft : 'Jeu voxel sous-marin multi — serveur: <IP>:7777 — download: <URL>'."
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Ordre recommandé
|
||||
1. Message 1 (ping test)
|
||||
2. Message 4 (créer channels Discord)
|
||||
3. Message 2 (VM si pas déjà existante)
|
||||
4. Exécuter `deploy/push_to_gitea.sh` (code + release)
|
||||
5. Message 3 (inbox deploy)
|
||||
6. Message 5 (webhook)
|
||||
7. Message 6 (description)
|
||||
Reference in New Issue
Block a user