How alitouil2602/wtecc-cicd_practicecode works
This repository is primarily hands-on CI/CD practice material: six Tekton labs progress from a basic pipeline through GitHub triggers, catalog tasks, automated tests, image building, and Kubernetes deployment. The tree identifies the lab manifests, while the top-level README documents their capabilities; the individual pipeline wiring was not sampled, so no manifest-to-manifest runtime calls are inferred. It also contains a small Flask hit-counter service, whose routes and supporting modules are represented separately.
Main entry points: routes.py Counter Routes · __init__.py Flask App · 01_base_pipeline Base Pipeline · 02_add_git_trigger GitHub Trigger
Components 14
Tekton Labs
- Base Pipeline
labs/01_base_pipeline - GitHub Trigger
labs/02_add_git_trigger - Catalog Tasks
labs/03_use_tekton_catalog - Unit Test Automation
labs/04_unit_test_automation - Image Build
labs/05_build_an_image - Kubernetes Deploy
labs/06_deploy_to_kubernetes
Hit Counter Service
- Flask App
service/__init__.py - Counter Routes
service/routes.py - In-Memory Counters
service/routes.py
Service Support
- Logging Setup
service/common/log_handlers.py - Error Responses
service/common/error_handlers.py - HTTP Status Codes
service/common/status.py
Other components
- Learner
- HTTP Client
Connections 12
- Learner → Base Pipeline: starts with
README.md - Base Pipeline → GitHub Trigger: next lab
README.md - GitHub Trigger → Catalog Tasks: next lab
README.md - Catalog Tasks → Unit Test Automation: next lab
README.md - Unit Test Automation → Image Build: next lab
README.md - Image Build → Kubernetes Deploy: next lab
README.md - HTTP Client → Counter Routes: sends requests
- Flask App → Counter Routes: imports routes
service/__init__.py - Flask App → Logging Setup: initializes logging
service/__init__.py - Counter Routes → In-Memory Counters: reads and updates
service/routes.py - Counter Routes → HTTP Status Codes: uses codes
service/routes.py - Error Responses → HTTP Status Codes: uses codes
service/common/error_handlers.py