Add deploy-test-site and deploy-pprod-or-prod-site agent stubs (kogus multisite)
**Motivations:** - Mirror LeCoffre single-line deploy playbooks in ia_dev for Cursor /smartIde agents. **Root causes:** - N/A **Correctifs:** - N/A **Evolutions:** - deploy-test-site.md and deploy-pprod-or-prod-site.md pointing to LECOFFRE_REPO canonical agent files. **Pages affectées:** - ia_dev agent registry only.
This commit is contained in:
parent
e346a95563
commit
9de50b021c
19
.smartIde/agents/deploy-pprod-or-prod-site.md
Normal file
19
.smartIde/agents/deploy-pprod-or-prod-site.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: deploy-pprod-or-prod-site
|
||||||
|
description: Déploiement **pprod** ou **prod** pour **une ligne** après `change-to-all-branches.sh kogus --align-only` — commande `deploy-site.sh` depuis le monorepo LeCoffre, **sans** `deploy-by-script-to.sh`. Paramètres obligatoires dans le message : **pprod|prod** et **site**.
|
||||||
|
model: inherit
|
||||||
|
is_background: false
|
||||||
|
---
|
||||||
|
|
||||||
|
## Source normative (contenu complet)
|
||||||
|
|
||||||
|
**`LECOFFRE_REPO/.cursor/agents/deploy-pprod-or-prod-site.md`** — appliquer le workflow (alignement ia_dev + **`deploy-site.sh`** sur **`LECOFFRE_REPO`**).
|
||||||
|
|
||||||
|
## Rappel opérationnel
|
||||||
|
|
||||||
|
1. Racine **`IADEV_REPO`** : `./deploy/change-to-all-branches.sh kogus --align-only` (prérequis **`origin/test`** à jour — push hors agent).
|
||||||
|
2. **`LECOFFRE_REPO`** : `bash deploy/scripts_v2/deploy-site.sh <pprod|prod> <lecoffreio|enso|genealogie>` [options].
|
||||||
|
|
||||||
|
## Référence flux trois lignes (pprod/prod)
|
||||||
|
|
||||||
|
**`.smartIde/agents/deploy-pprod-or-prod.md`** (étape **`deploy-by-script-to`** = multisite complet).
|
||||||
20
.smartIde/agents/deploy-test-site.md
Normal file
20
.smartIde/agents/deploy-test-site.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: deploy-test-site
|
||||||
|
description: Déploiement LeCoffre **test** pour **une ligne** (`lecoffreio` \| `enso` \| `genealogie`) via `deploy-site.sh` depuis le clone applicatif — une tentative par run ; prérequis alignés sur `deploy-test-by-script`. Exécution depuis `IADEV_REPO` ou `LECOFFRE_REPO` selon le prompt.
|
||||||
|
model: inherit
|
||||||
|
is_background: false
|
||||||
|
---
|
||||||
|
|
||||||
|
## Source normative (contenu complet)
|
||||||
|
|
||||||
|
**`LECOFFRE_REPO/.cursor/agents/deploy-test-site.md`** — reproduire intégralement les sections *Politique*, *Prérequis*, *Commande canonique* et *Interdit* de ce fichier.
|
||||||
|
|
||||||
|
## Rappel opérationnel
|
||||||
|
|
||||||
|
- **Répertoire** : `cd "$(jq -r '.deploy.repository_root' projects/kogus/conf.json)"` (souvent **`/home/desk/code/lecoffre_ng_test`**).
|
||||||
|
- **Commande** : `bash deploy/scripts_v2/deploy-site.sh test <lecoffreio|enso|genealogie>` [options `deploy.sh`].
|
||||||
|
- **Projet ia_dev** : **`kogus`** (injection systématique aux scripts **`change-to-all-branches`**, **`pousse.sh`**, etc., comme les autres agents déploiement).
|
||||||
|
|
||||||
|
## Référence multisite trois lignes (test)
|
||||||
|
|
||||||
|
**`IADEV_REPO/.smartIde/agents/deploy-by-script.md`** § multisite et **`LECOFFRE_REPO/.cursor/agents/deploy-test-by-script.md`** (`deploy-lecoffre-all-sites.sh test`).
|
||||||
Loading…
x
Reference in New Issue
Block a user