morningman opened a new pull request, #4690: URL: https://github.com/apache/doris-website/pull/4690
Website publishing still depends on the old OSS account and `Production` environment, and its CDN default has no directory prefix. Move automatic and manual website publication to the verified private Beijing bucket using GitHub OIDC and repository variables. - Upload the public copy to `doris-website-assets-prod-bj/site/` through pinned ossutil 2.4.1 and the existing local credentials action. Filter Apache controls, Git/CI metadata and credentials; reject symlinks, sample artifacts, missing locale entries and missing prefixed entry assets. Preserve the original ASF controls. - Retain a complete file/checksum receipt. Verify exact CDN bytes and CORS for the entry scripts/styles, search contexts and a unique run probe before allowing ASF publication. Uploads are non-deleting full copies with request retries and one-hour cache headers. The deploy timeout is 55 minutes, below the one-hour STS session. - Remove `Production` and permanent OSS-secret dependencies from the two website deploy jobs. Bind publication to master, reject another manual source branch, and retain shared deployment concurrency. - Use `https://assets-cdn.selectdb.com/site` consistently in bundling, search-index transport, CSP and preview/verification tools. Search retains its same-origin fallback and workers remain same-origin. Make the real five-language fixture exercise the CDN prefix, including dynamic chunks and browser search. - Point 85 active documentation/blog files at the 50 restored and verified original resources across active versions and languages. Fix the window-function dataset extraction command for its actual uncompressed TAR format and use the repository logo for the AI widget. Archived source snapshots are unchanged. Rollout is staged: `WEBSITE_ASSET_UPLOAD_ENABLED` and `WEBSITE_PUBLISH_ENABLED` are both currently false. After merge, enable upload-only validation of the full master artifact first. Restore or visibly handle the remaining PDF/release-package gaps and check legacy queued runs before enabling ASF publication. This PR leaves those unverified PDF/package endpoints for separate recovery work. Schedule removal remains in #4683. Validation: - Live master OIDC/OSS/CDN probe: all 14 checks passed ([run](https://github.com/apache/doris-website/actions/runs/45206185369)). - Node suites: 460 passed, 3 existing opt-in tests skipped; additional prefix-verifier regressions passed. - All 44 workflow/security/publishing Python tests passed; actionlint passed for both workflows. - Real five-language publishing browser fixture passed with the `/site` CDN prefix (local Chromium 153). - Search transport/recovery browser fixture: 36 cases passed, including CDN failures and same-origin recovery. - Translation admission, syntax and links passed for all 14 edited documents in each of ja/ko/ru, using the existing Git-derived source-revision policy. - The exact workflow locale-output command and the real artifact public-copy/receipt preparation passed. Authenticated ossutil bulk-copy dry run passed; no production HTML has been published. - `git diff --check` passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
