No description
  • Shell 54.3%
  • Python 37.4%
  • Nix 6.9%
  • Dockerfile 1.4%
Find a file
AI Bot 30ac5bcbdd
All checks were successful
Test DinD / test-dind (push) Successful in 0s
Hello DevOps CI / test (push) Successful in 29s
Hello DevOps CI / build-and-push (push) Successful in 39s
Hello DevOps CI / deploy (push) Successful in 31s
ci: fix actions/checkout missing nodejs in minimal containers
2026-07-07 22:49:20 +07:00
.forgejo/workflows ci: fix actions/checkout missing nodejs in minimal containers 2026-07-07 22:49:20 +07:00
scripts feat: add scripts for release creation and CI runner 2026-07-03 21:19:21 +07:00
src feat: remove unused init.py file 2026-07-03 21:19:31 +07:00
tests feat: add farewell endpoint with tests 2026-06-17 09:49:15 +07:00
.env.example refactor: use env variable for domain in docker-compose 2026-06-11 23:14:32 +07:00
.envrc Add Nix dev environment 2026-07-03 21:33:51 +07:00
.gitignore Update .gitignore for Nix and direnv 2026-07-03 21:37:08 +07:00
docker-compose.yml fix: add environment variables to docker-compose.yml 2026-06-23 14:42:28 +07:00
Dockerfile feat: add docker-compose.yml and simplify Dockerfile for production 2026-06-11 21:21:37 +07:00
flake.lock Add Nix dev environment 2026-07-03 21:33:51 +07:00
flake.nix Add Nix dev environment 2026-07-03 21:33:51 +07:00
NIX_SETUP.md feat: add Nix dev environment setup documentation 2026-07-03 21:13:02 +07:00
README.md chore: trigger ci/cd pipeline 2026-07-07 21:45:48 +07:00
RECAP.md docs: add learning recap (Phase 1-6 complete) 2026-06-25 10:41:54 +07:00
RECOVERY.md docs: add disaster recovery plan (Phase 6.4) 2026-06-23 17:13:53 +07:00
requirements.txt feat: add Prometheus /metrics endpoint via instrumentator 2026-06-23 15:32:34 +07:00
ROADMAP.md docs: mark Phase 4 as completed 2026-06-23 14:46:50 +07:00

Hello DevOps

Sebuah aplikasi Python contoh untuk mendemonstrasikan pipeline CI/CD (Forgejo Actions) dan deployment ke cluster Kubernetes (k3s).

Struktur Direktori

  • src/ - Berisi source code utama aplikasi
  • tests/ - Script pengujian dengan Pytest
  • scripts/ - Script utilitas (seperti hello.sh dan create_release.sh)
  • .forgejo/workflows/ - Konfigurasi CI/CD Pipeline

Keterangan

Proyek ini telah dikonfigurasi mengikuti best practice yang mencakup:

  • Pemisahan kode src/, file tests/, dan utilitas di scripts/.
  • File .gitignore standar Python untuk menjaga agar environment lokal tidak masuk ke repositori.
  • Docker-based deployment yang diotomatiskan via Forgejo.