Commit graph

6 commits

Author SHA1 Message Date
1cb1543260 fix: transfer CD bundle over ssh pipes instead of scp
sftp/scp bi chan tren duong bastion (Connection closed) trong khi exec channel chay tot. Day compose bang tar pipe, image stream thang vao docker load, bo file tarball trung gian.
2026-11-02 11:32:20 +07:00
74567eb1c4 fix: bulletproof CD ssh key normalization
Dung lai PEM tu moi kieu paste hong (literal backslash-n, CRLF, space, mat separator) bang cach boc base64 va re-wrap. Dam bao trailing newline. Them diagnostic byte/line count.
2026-11-02 11:28:19 +07:00
5f362ec7d3 fix: normalize CD ssh key with literal backslash-n
Secret paste dang 1 dong voi backslash-n chu (thay vi newline that) lam key hong. Tu dung lai newline, giu nguyen dang chuan, validate bang ssh-keygen -lf.
2026-11-02 11:10:14 +07:00
8ce9a600dd fix: sanitize CD ssh key (strip CR) and fail fast on bad key
Paste tu Windows/chat hay dinh CRLF lam hong key tren runner (libcrypto). Loc CR, validate bang ssh-keygen -lf, pin IdentityFile.
2026-11-02 11:05:42 +07:00
43c1827fbd feat: push-based CD via bastion (build image, scp, compose up)
Runner builds the FE image, transfers image tarball + compose over SSH bastion, prod only docker loads and ups. No repo read access needed on prod.
2026-11-02 11:02:35 +07:00
5e9b2a566d ci: add Frontend CI (install, typecheck, build) 2026-11-02 08:36:30 +07:00