BT San Technology

27 July 2026

Releasing a new web app version: CI/CD, database migrations and a recovery plan

2 min read · Websites and web apps

Illustration: a monitor showing the steps from code to cloud, each one checked, a hand pointing at it, beside a laptop showing a website and a small device box
AI-generated illustration

This guide is available in Thai only.

รุ่นโค้ด การตั้งค่า และโครงสร้างข้อมูลต้องสอดคล้องกัน การย้อนโค้ดต่างจากย้อนข้อมูล สำเนาข้อมูลต้องมีการทดสอบกู้คืนและขอบเขตการสูญเสียที่รับได้

ขั้นตอนนำไปใช้

  1. กำหนดรายการตรวจและผู้รับผิดชอบก่อนปล่อย
  2. ทดสอบการเปลี่ยนโครงสร้างข้อมูลกับสำเนาทดสอบที่เหมาะสม
  3. ปล่อยพร้อมตรวจงานหลักและเกณฑ์หยุด
  4. ซ้อมย้อนหรือแก้เดินหน้าและกู้คืนโดยไม่ทับข้อมูลใหม่โดยไม่ตั้งใจ

ตัวอย่างผลส่งมอบ

ผลส่งมอบ: Runbook ปล่อยรุ่นพร้อมจุดตัดสินใจหยุดและกู้คืน

ประโยชน์

ช่วยให้การอัปเดตตรวจสอบและรับมือความผิดพลาดได้เป็นขั้นตอน

ข้อจำกัดและข้อควรระวัง

การมี pipeline ไม่ได้ทำให้ปลอดภัยเอง และการคืนสำเนาเก่าอาจทำให้ข้อมูลใหม่สูญหาย

แหล่งอ้างอิงเริ่มต้น

  • GitHub — Understanding GitHub Actions
  • PostgreSQL — Concurrency Control

References

  1. GitHub — Understanding GitHub Actions (accessed 2026-11-21)
  2. PostgreSQL — Concurrency Control (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer