khalil
787a094c59
fix(api,frontend): delete is the true inverse of adopt, no reseed
...
CI/CD Pipeline / test (push) Successful in 10s
CI/CD Pipeline / build-push-deploy (push) Successful in 9s
/creatures/:id/delete now just removes the row, matching how
POST /creatures (adopt) just inserts one — no side effects on anything
else. The auto-reseed was scope creep for a feature that only ever made
sense as a public marketing-site action; now that delete lives in the app
itself as a per-creature control, that safety net isn't needed.
Adds a Delete button next to Feed/Play/Sleep/Revive on every creature
card, same creatureAction() plumbing as the existing actions.
2026-08-13 21:17:15 +00:00
gitea-actions[bot]
e3850c93b4
chore: deploy version bc7f93a22f [skip ci]
2026-08-13 12:49:31 +00:00
khalil
bc7f93a22f
feat(api): kill and delete endpoints for the Chaos Button demo
...
CI/CD Pipeline / test (push) Successful in 9s
CI/CD Pipeline / build-push-deploy (push) Successful in 8s
POST /creatures/:id/kill poisons a creature (is_alive=false), the same
state natural decay reaches — feeds tamagotchi_creatures_dead_total and
therefore the real TamagotchiCreatureDied -> Alertmanager -> n8n revival
chain. Deliberately app-level, not a pod action.
POST /creatures/:id/delete permanently removes a creature and immediately
reseeds a replacement. Does not touch the dead gauge on purpose: it
demonstrates the app defending its own roster rather than the monitoring
chain, so a public unauthenticated action can't empty it out over time.
2026-08-13 12:48:55 +00:00
gitea-actions[bot]
0df4d63fd0
chore: deploy version 1939c36dfb [skip ci]
2026-08-11 10:30:47 +00:00
khalil
1939c36dfb
fix(api): move FILTER onto the aggregate in /api/stats
...
CI/CD Pipeline / test (push) Successful in 1m38s
CI/CD Pipeline / build-push-deploy (push) Successful in 23s
PostgreSQL only accepts FILTER on an aggregate call. It was attached to
ROUND, so the whole query was rejected and /api/stats answered 500. The
showcase reads that endpoint for its live creature stats, which meant the
homepage displayed five dashes instead of numbers.
FILTER now sits on AVG, with the rounding applied to the result.
2026-08-11 10:28:23 +00:00
khalil
b5d444d326
fix: restore literal password
2026-07-04 20:36:55 +00:00
gitea-actions[bot]
6d28d80e77
chore: deploy version 83ed8f6876 [skip ci]
2026-07-04 18:42:55 +00:00
khalil
83ed8f6876
chore: fix OCI source label URL to match canonical domain
CI/CD Pipeline / test (push) Successful in 8s
CI/CD Pipeline / build-push-deploy (push) Successful in 6s
2026-07-04 18:42:34 +00:00
gitea-actions[bot]
69f6c18e42
chore: deploy version 4936315a95 [skip ci]
2026-07-04 18:40:32 +00:00
khalil
4936315a95
ci: explicit git push with CR_PAT
CI/CD Pipeline / test (push) Successful in 8s
CI/CD Pipeline / build-push-deploy (push) Successful in 7s
2026-07-04 18:40:11 +00:00
khalil
7dd98100a1
chore: trigger CI with full permissions CR_PAT
2026-07-04 18:38:05 +00:00
khalil
8f00676623
ci: provide CR_PAT to actions/checkout for git push
CI/CD Pipeline / test (push) Successful in 11s
CI/CD Pipeline / build-push-deploy (push) Failing after 7s
2026-07-04 18:37:08 +00:00
khalil
1a0b7e4429
ci: force https for docker login to prevent http redirect auth drop
CI/CD Pipeline / test (push) Successful in 8s
CI/CD Pipeline / build-push-deploy (push) Failing after 6s
2026-07-04 18:35:59 +00:00
khalil
6fb5d31f5e
chore: trigger CI with CR_PAT secret
2026-07-04 18:33:46 +00:00
gitea-actions[bot]
7066800918
chore: deploy version df915dcf25 [skip ci]
2026-07-04 18:32:35 +00:00
khalil
df915dcf25
ci: use CR_PAT for docker login
CI/CD Pipeline / test (push) Successful in 10s
CI/CD Pipeline / build-push-deploy (push) Successful in 8s
2026-07-04 18:32:07 +00:00
khalil
2e74a7f4f1
ci: use git.khalilaliouich.com for docker push
CI/CD Pipeline / test (push) Successful in 9s
CI/CD Pipeline / build-push-deploy (push) Failing after 2s
2026-07-04 18:30:43 +00:00
khalil
12a97b18bc
ci: fix docker login and image push
CI/CD Pipeline / test (push) Successful in 9s
CI/CD Pipeline / build-push-deploy (push) Failing after 3s
2026-07-04 18:28:58 +00:00
gitea-actions[bot]
d703e84c4d
chore: deploy version ac4f37c8b5 [skip ci]
2026-07-04 18:25:56 +00:00
khalil
ac4f37c8b5
chore: liaison des images docker au dépôt Gitea
CI/CD Pipeline / test (push) Successful in 1m54s
CI/CD Pipeline / scan (push) Successful in 19s
CI/CD Pipeline / build-push-deploy (push) Successful in 47s
2026-07-04 18:22:30 +00:00
gitea-actions[bot]
cd24ff9887
chore: deploy version 4cb77a9ded [skip ci]
2026-07-04 11:47:09 +00:00
khalil
4cb77a9ded
Fix CI: Set contents permissions to write
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / scan (push) Successful in 12s
CI/CD Pipeline / build-push-deploy (push) Successful in 6s
2026-07-04 11:46:37 +00:00
khalil
4c850853ff
Trigger CI 2
CI/CD Pipeline / test (push) Successful in 9s
CI/CD Pipeline / scan (push) Successful in 12s
CI/CD Pipeline / build-push-deploy (push) Failing after 5s
2026-07-04 11:44:24 +00:00
khalil
ec72b0362e
Trigger CI
2026-07-04 11:43:55 +00:00
khalil
176fbc2188
Fix CI: Add missing deployment manifests
2026-07-04 11:42:27 +00:00
khalil
73bce74b8c
Fix CI: Add --network=host to docker build
CI/CD Pipeline / test (push) Successful in 1m49s
CI/CD Pipeline / scan (push) Successful in 19s
CI/CD Pipeline / build-push-deploy (push) Failing after 26s
2026-07-04 11:35:57 +00:00
Khalil
34fe1eb2b7
Use DOCKER_HOST env without TLS
CI/CD Pipeline / test (push) Successful in 1m53s
CI/CD Pipeline / scan (push) Successful in 19s
CI/CD Pipeline / build-push-deploy (push) Failing after 5m59s
2026-07-04 11:08:20 +00:00
Khalil
8b40a3759e
Use CR_PAT for docker login
CI/CD Pipeline / test (push) Successful in 11s
CI/CD Pipeline / scan (push) Successful in 14s
CI/CD Pipeline / build-push-deploy (push) Failing after 6s
2026-07-04 11:02:38 +00:00
Khalil
042064458b
Fix docker login token permissions
CI/CD Pipeline / test (push) Successful in 11s
CI/CD Pipeline / scan (push) Successful in 14s
CI/CD Pipeline / build-push-deploy (push) Failing after 5s
2026-07-04 10:58:34 +00:00
Khalil
3b6ce07db8
Remove frontend npm install step
CI/CD Pipeline / test (push) Successful in 11s
CI/CD Pipeline / scan (push) Successful in 22s
CI/CD Pipeline / build-push-deploy (push) Failing after 5s
2026-07-04 10:54:44 +00:00
Khalil
11792019cf
Fix Node.js SSL for actions/checkout
CI/CD Pipeline / test (push) Failing after 11s
CI/CD Pipeline / scan (push) Has been skipped
CI/CD Pipeline / build-push-deploy (push) Has been skipped
2026-07-04 10:51:41 +00:00
Khalil
1aa94c6dfa
Trigger CI with file change
CI/CD Pipeline / test (push) Failing after 11s
CI/CD Pipeline / scan (push) Has been skipped
CI/CD Pipeline / build-push-deploy (push) Has been skipped
2026-07-04 10:50:37 +00:00
Khalil
e0d55a89f0
Trigger CI after Gitea config fix 3
2026-07-04 10:49:40 +00:00
Khalil
da6da31fe7
Trigger CI after Gitea config fix 2
2026-07-04 10:48:22 +00:00
Khalil
16cf0ec7e7
Trigger CI after Gitea config fix 2
2026-07-04 10:48:14 +00:00
Khalil
60c0be6bf7
Trigger CI after Gitea config fix
2026-07-04 10:46:37 +00:00
Khalil
311285866e
Fix SSL checkout issue
CI/CD Pipeline / test (push) Failing after 11s
CI/CD Pipeline / scan (push) Has been skipped
CI/CD Pipeline / build-push-deploy (push) Has been skipped
2026-07-04 10:44:14 +00:00
Khalil
8020d637d5
Add scan and test jobs
CI/CD Pipeline / test (push) Failing after 56s
CI/CD Pipeline / scan (push) Has been skipped
CI/CD Pipeline / build-push-deploy (push) Has been skipped
2026-07-04 10:39:57 +00:00
Khalil
b5b6baab9c
Fix CI registry URL
CI/CD Pipeline / build-push-deploy (push) Failing after 1m26s
2026-07-04 10:37:45 +00:00
Khalil
fd462d08d3
Setup GitOps CI/CD
CI/CD Pipeline / build-push-deploy (push) Failing after 5s
2026-07-04 10:35:19 +00:00
Khalil
e3c09e5792
Add CI workflow
CI / Build / build-and-test (push) Failing after 1m59s
2026-07-04 10:29:08 +00:00
Khalil
23baded882
Initial commit
2026-07-04 10:19:23 +00:00