kaliouich
6649a946cb
fix(api): expose the Kafka publish metrics on the registry Prometheus scrapes
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / build-push-deploy (push) Successful in 21s
2026-10-26 11:32:45 +00:00
gitea-actions[bot]
9d27e5091e
chore: deploy version 8919ad15ab [skip ci]
2026-10-26 10:55:38 +00:00
kaliouich
8919ad15ab
chore: build the API on Node 24 (Node 20 is end of life)
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / build-push-deploy (push) Successful in 22s
2026-10-26 10:55:05 +00:00
gitea-actions[bot]
a9ed15d292
chore: deploy version 16b09e1fc4 [skip ci]
2026-10-26 09:10:05 +00:00
kaliouich
16b09e1fc4
ci: push the manifest update from a detached checkout
CI/CD Pipeline / test (push) Successful in 4s
CI/CD Pipeline / build-push-deploy (push) Successful in 21s
2026-10-26 09:09:37 +00:00
kaliouich
a865553eae
ci: authenticate the checkout with the job token
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / build-push-deploy (push) Successful in 26s
2026-10-26 09:08:36 +00:00
kaliouich
390f72e53a
ci: build images with Kaniko jobs instead of a privileged Docker daemon
CI/CD Pipeline / test (push) Failing after 0s
CI/CD Pipeline / build-push-deploy (push) Skipped
2026-10-26 09:05:09 +00:00
gitea-actions[bot]
05c271677b
chore: deploy version 7f74a2bdb0 [skip ci]
2026-10-25 21:49:25 +00:00
kaliouich
7f74a2bdb0
chore: pull images with a registry credential
...
The container registry is private since Gitea was rebuilt (sign-in required,
private repositories). Pods authenticate with a read-only package token.
2026-10-25 21:47:41 +00:00
kaliouich
318523270c
feat(api): publish creature events to Kafka
...
Every creature action (adopt, feed, play, sleep, kill, revive, delete) and
natural deaths from the decay loop are published to the tamagotchi.events
topic. Best effort: the database stays the source of truth and Kafka being
unavailable never fails a request. Disabled when KAFKA_BROKERS is unset.
2026-10-25 20:38:11 +00:00
gitea-actions[bot]
501f6864cd
chore: deploy version 787a094c59 [skip ci]
2026-08-13 21:17:41 +00:00
khalil
787a094c59
fix(api,frontend): delete is the true inverse of adopt, no reseed
...
/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
...
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 Aliouich
1939c36dfb
fix(api): move FILTER onto the aggregate in /api/stats
...
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
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
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
2026-07-04 18:37:08 +00:00
khalil
1a0b7e4429
ci: force https for docker login to prevent http redirect auth drop
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
2026-07-04 18:32:07 +00:00
khalil
2e74a7f4f1
ci: use git.khalilaliouich.com for docker push
2026-07-04 18:30:43 +00:00
khalil
12a97b18bc
ci: fix docker login and image push
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
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
2026-07-04 11:46:37 +00:00
khalil
4c850853ff
Trigger CI 2
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
2026-07-04 11:35:57 +00:00
Khalil
34fe1eb2b7
Use DOCKER_HOST env without TLS
2026-07-04 11:08:20 +00:00
Khalil
8b40a3759e
Use CR_PAT for docker login
2026-07-04 11:02:38 +00:00
Khalil
042064458b
Fix docker login token permissions
2026-07-04 10:58:34 +00:00
Khalil
3b6ce07db8
Remove frontend npm install step
2026-07-04 10:54:44 +00:00
Khalil
11792019cf
Fix Node.js SSL for actions/checkout
2026-07-04 10:51:41 +00:00
Khalil
1aa94c6dfa
Trigger CI with file change
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
2026-07-04 10:44:14 +00:00
Khalil
8020d637d5
Add scan and test jobs
2026-07-04 10:39:57 +00:00
Khalil
b5b6baab9c
Fix CI registry URL
2026-07-04 10:37:45 +00:00