Bước này giúp bạn kiểm tra toàn bộ quy trình pipeline từ khâu build, quét bảo mật cho đến approve hoặc reject artifact.
npm update
snyk test --severity-threshold=high
git add .
git commit -m "Safe build for full pipeline test"
git push origin main
Mở tab Actions trên repository.
Chọn workflow mới chạy.
Quan sát các bước:
Build: cài đặt dependencies, compile code.
Security Scan: chạy Snyk hoặc ECR scan (nếu có container).
Publish: artifact được publish lên CodeArtifact/ECR.
Approve: đánh dấu artifact “Approved” (nếu có bước review thủ công).
Artifact xuất hiện trong CodeArtifact/ECR với tag hoặc version mới.
Không có cảnh báo từ SNS/EventBridge.
Log pipeline hiển thị tất cả bước pass thành công.