Section 6: Lab: Jenkins Pipeline สำหรับสามแอป
- ใช้ Docker Agent เพื่อ Build แต่ละภาษา
- Pipeline ของ Spring Boot, Flask และ Express
- เก็บรายงาน Test และ Artifact
- Lab: Build Image และ Deploy เป็น Container
Section 7: Lab: เชื่อม Jenkins กับ GitHub
- Webhook จาก GitHub เพื่อเริ่ม Pipeline อัตโนมัติ
- Multibranch Pipeline และการ Build ของ Pull Request
- ส่งสถานะ Build กลับไปแสดงที่ GitHub
- Lab: Push โค้ดแล้ว Jenkins ทำงานเอง
Section 8: พื้นฐาน GitHub Actions
- Workflow, Event, Job, Step และ Action
- โครงสร้างไฟล์ YAML และ Runner ที่ GitHub เตรียมให้
- Matrix, Cache และการเลือก Action จาก Marketplace
- Lab: Workflow รัน Test ทุกครั้งที่ Push และเปิด Pull Request
Section 9: Lab: Build และ Push Image ด้วย GitHub Actions
- Workflow ของ Spring Boot, Flask และ Express
- Build Image และ Push ขึ้น GitHub Container Registry
- ตั้งชื่อ Tag ของ Image จาก Branch และเวอร์ชัน
- Lab: ได้ Image พร้อมใช้ทุกครั้งที่ Merge
Section 10: Lab: Deploy อย่างปลอดภัยด้วย GitHub Actions
- Secret, Variable และ Environment พร้อมผู้อนุมัติ
- จำกัด permissions ของ GITHUB_TOKEN และ Pin Action ด้วย Commit SHA
- Deploy ไปยัง Server ผ่าน SSH หรือ Self-hosted Runner
- แนวคิด OIDC สำหรับเชื่อม Cloud โดยไม่เก็บ Key ถาวร