Renommage technique azuucine/kino -> bobinoo (déploiement, chemins, runner, docs)
deploy / deploy (push) Successful in 1m12s
deploy / deploy (push) Successful in 1m12s
- Workflow : runs-on bobinoo (le runner a les deux étiquettes pendant la transition). - Dossier de déploiement /srv/bobinoo (BOBINOO_ROOT, AZUUCINE_ROOT accepté pour compatibilité). - Config nginx, bootstrap, RUNNER.md, admin.md, CLAUDE.md : conteneur et runner « bobinoo ». - Nom du paquet npm et du plugin Vite. - Inchangé volontairement : clés localStorage, bases IndexedDB, fonctions SQL azuu_*, secret Vault, format d'export, migrations (renommer casserait les données existantes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
43e2ecd589
commit
2a9f790f19
14 files changed
+41
-41
No files matched your search
+10
-10
@@ -1,28 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# À lancer UNE FOIS, en root, dans un conteneur azuucine-web neuf (Debian 12) :
|
||||
# lxc-attach -n azuucine-web -- bash < deploy/web/bootstrap.sh
|
||||
# Prérequis : /srv/azuucine monté dans le conteneur (lxc.mount.entry ... srv/azuucine none bind,ro).
|
||||
# À lancer UNE FOIS, en root, dans un conteneur bobinoo neuf (Debian 12) :
|
||||
# lxc-attach -n bobinoo -- bash < deploy/web/bootstrap.sh
|
||||
# Prérequis : /srv/bobinoo monté dans le conteneur (lxc.mount.entry ... srv/bobinoo none bind,ro).
|
||||
# Ensuite, toute la configuration du site arrive avec les déploiements (deploy/nginx/site.conf).
|
||||
set -euo pipefail
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -qq && apt-get install -y -qq nginx >/dev/null
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
echo 'include /srv/azuucine/current/nginx/site.conf;' > /etc/nginx/conf.d/azuucine.conf
|
||||
cat > /etc/systemd/system/azuucine-reload.path <<UNIT
|
||||
echo 'include /srv/bobinoo/current/nginx/site.conf;' > /etc/nginx/conf.d/bobinoo.conf
|
||||
cat > /etc/systemd/system/bobinoo-reload.path <<UNIT
|
||||
[Unit]
|
||||
Description=Recharge nginx apres un deploiement AzuuCine
|
||||
Description=Recharge nginx apres un deploiement Bobinoo
|
||||
[Path]
|
||||
PathModified=/srv/azuucine/.deployed
|
||||
PathModified=/srv/bobinoo/.deployed
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
UNIT
|
||||
cat > /etc/systemd/system/azuucine-reload.service <<UNIT
|
||||
cat > /etc/systemd/system/bobinoo-reload.service <<UNIT
|
||||
[Unit]
|
||||
Description=Reload nginx (deploiement AzuuCine)
|
||||
Description=Reload nginx (deploiement Bobinoo)
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "nginx -t && systemctl reload nginx"
|
||||
UNIT
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now azuucine-reload.path >/dev/null 2>&1
|
||||
systemctl enable --now bobinoo-reload.path >/dev/null 2>&1
|
||||
echo "ok : le premier déploiement (push sur main) activera le site"
|
||||
Reference in new issue
Block a user