Commit Graph

48 Commits

Author SHA1 Message Date
syoul
9d1406c79d fix: register-consul utilise network_mode host (localhost:8500 = consul reel)
172.17.0.1:8500 passe par les regles iptables DOCKER et n'atteint pas
le meme consul que Fabio. Avec host network, localhost:8500 est direct.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 20:03:25 +01:00
syoul
6dec47a3bd fix: ecrire .container_ip dans CI_WORKSPACE (cd /opt/prestashop changeait le CWD)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 19:57:46 +01:00
syoul
4ccddc69e3 fix: enregistrement manuel dans Consul (ACL bloque Registrator sur prestashop)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Ajout etape register-consul : recupere l'IP du conteneur sur le reseau sonic
et enregistre le service dans Consul avec le token ACL via l'API HTTP.
Registrator loggue "added" mais son token n'a pas les droits service:write
sur "prestashop" -> le service disparaissait de Consul apres chaque deploy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 19:55:15 +01:00
syoul
80ebfb0c5a chore: trigger pipeline (prestashop install complete)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 19:39:44 +01:00
syoul
1040f7272f fix: healthcheck evite substitution Woodpecker (SITE au lieu de PS_DOMAIN)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 19:10:45 +01:00
syoul
380d0cf7d1 fix: write-env utilise env|grep (bug Woodpecker: dollar-brace dans commands droppe secrets)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 19:06:46 +01:00
syoul
abcc517e3c debug: write-env-1 avec commande identique regression test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 19:05:01 +01:00
syoul
d34e9b4922 debug: seul write-env-1 avec from_secret, les autres placeholder
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 19:01:35 +01:00
syoul
64262d1b1f fix: 3 steps write-env (2 secrets max par step, bug Woodpecker)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:57:59 +01:00
syoul
05f5401def debug: seuil - TEST_STATIC + 3 from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:57:12 +01:00
syoul
0a5c13a1b6 debug: TEST_STATIC hello-world + 6 from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:56:06 +01:00
syoul
9f7af2f3c6 fix: DEPLOY_ENV comme valeur statique (CI etait deduplique)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:54:08 +01:00
syoul
3c5a683540 fix: workaround bug Woodpecker - valeur statique CI requise pour from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:52:12 +01:00
syoul
3adeebc4aa debug: test 1 statique + 2 from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:51:17 +01:00
syoul
50a31ad9ff debug: regression test identique pipeline 26
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:49:15 +01:00
syoul
0401c0b3d9 debug: test valeur statique dummy + 2 from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:47:49 +01:00
syoul
74e84ea617 debug: test 2 from_secret (ps_domain + ps_admin_folder)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:46:18 +01:00
syoul
3f4ddcf914 fix: healthcheck utilise alpine:3.20 + curl (curlimages sans grep)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:42:27 +01:00
syoul
b21cd3dafe fix: contournement bug volumes+from_secret, healthcheck lit depuis workspace
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:40:46 +01:00
syoul
295e96367e debug: test volumes + from_secret sur docker:27-cli
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:38:31 +01:00
syoul
e001cf7d00 deploy: secrets OK, suppression debug-secrets, lancement deploiement
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:32:22 +01:00
syoul
d90bc558a2 debug: test from_secret ps_domain dans environment
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:31:31 +01:00
syoul
dc48cee578 debug: env | sort pour lister toutes les vars du container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:30:07 +01:00
syoul
03bee992be chore: test03 woodpecker sleep30s
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:28:54 +01:00
syoul
2c5be85a01 debug: sleep 30s in debug-secrets pour inspecter le container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:27:08 +01:00
syoul
c2cd131ca8 chore: test02 woodpecker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 18:23:43 +01:00
syoul
f6cf648c4c debug: test secret injection vs static env var
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 16:50:20 +01:00
syoul
b26bbd8911 chore: test après restart woodpecker
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 16:38:54 +01:00
syoul
80bf3b5104 chore: debug
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 16:18:12 +01:00
syoul
c4e1c8bc82 chore: debug secrets transmission
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 16:15:28 +01:00
syoul
ff13a4efa8 fix: remove agent label filter (agent deleted)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 16:12:35 +01:00
syoul
8bcee6b02d chore: retrigger pipeline after secrets org_id fix
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
2026-03-17 16:10:37 +01:00
syoul
50dd40ea14 chore: test secrets lowercase 2026-03-17 16:04:21 +01:00
syoul
269d7a7426 chore: test secrets lowercase 2026-03-17 16:02:40 +01:00
syoul
2662625d43 fix: use lowercase secret names (Woodpecker normalizes to lowercase) 2026-03-17 15:59:50 +01:00
syoul
8acc2576d4 chore: test secrets injection 2026-03-17 15:58:11 +01:00
syoul
61672a0125 chore: test secrets with correct org_id
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 15:26:36 +01:00
syoul
121668a98b chore: test secrets after woodpecker restart
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 14:05:00 +01:00
syoul
17c183e460 debug: add secret injection diagnostic step
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 13:42:33 +01:00
syoul
72c84806f7 fix: use secrets array instead of from_secret 2026-03-17 13:41:09 +01:00
syoul
aeb3f46e2c fix: migrate to woodpecker v3 list syntax, fix env generation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 13:39:27 +01:00
syoul
d51d96f04c chore: retrigger pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 13:27:06 +01:00
syoul
b17062f9af fix: healthcheck - detect empty PS_DOMAIN and extend timeout to 10min
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 13:26:07 +01:00
syoul
f39c57bd5a chore: retrigger pipeline after admin trust
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-03-17 13:16:12 +01:00
syoul
5800638cc2 fix: quote all shell commands containing colons in YAML 2026-03-17 13:08:35 +01:00
syoul
2a2fa4d6f4 fix: quote shell command with colon to avoid YAML parse error 2026-03-17 13:07:31 +01:00
syoul
6f03e981b8 fix: improve woodpecker pipeline (validate env + healthcheck loop)
- Add PS_ADMIN_FOLDER to validate step environment
- Replace fixed sleep with retry loop (6min max, exit on success)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 13:05:43 +01:00
syoul
650e19273b first comit 2026-03-16 17:42:26 +01:00