[
https://issues.apache.org/jira/browse/SPARK-61458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruifeng Zheng updated SPARK-61458:
----------------------------------
Description:
CI builds documentation, but the daily GitHub Pages workflow independently
rebuilds the same site.
Publish every upstream documentation build as a branch-specific
docs-preview-<branch>-<timestamp> artifact retained for one day. Include a UTC
timestamp in both the artifact name and archive filename, and do not overwrite
existing artifacts. Restrict Python and R API documentation change-based skips
to fork builds so upstream artifacts contain both API sets.
Have Pages select the unexpired master preview artifact with the newest
creation date across all result pages, downloading that exact artifact by ID.
After extracting it, prepare the documentation preview by applying In-Progress
labels to generated Spark page titles and version badges. CI documentation
builds retain the original source versions.
Keep the existing daily schedule and manual dispatch. Fail if no preview
artifact is available, leaving the current deployment in place. A successful
documentation build can be reused even when unrelated jobs in the same CI run
fail.
was:
CI builds documentation, but the daily GitHub Pages workflow independently
rebuilds the same site.
Publish every upstream documentation build as a branch-specific
docs-preview-<branch> artifact retained for one day. Name the archive
site-YYYY-MM-DD.tar.bz2 using the UTC date. Use overwrite: true to replace an
existing artifact when rerunning the job within the same workflow run.
Artifacts from separate workflow runs coexist even when their names match.
Have Pages select the unexpired docs-preview-master artifact with the newest
creation date across all result pages, downloading that exact artifact by ID.
After extracting it, prepare the documentation preview by applying In-Progress
labels to generated Spark page titles and version badges. CI documentation
builds retain the original source versions.
Keep the existing daily schedule and manual dispatch. Fail if no preview
artifact is available, leaving the current deployment in place. A successful
documentation build can be reused even when unrelated jobs in the same CI run
fail.
> Reuse post-merge documentation artifacts for GitHub Pages
> ---------------------------------------------------------
>
> Key: SPARK-61458
> URL: https://issues.apache.org/jira/browse/SPARK-61458
> Project: Spark
> Issue Type: Improvement
> Components: Project Infra
> Affects Versions: 5.0.0
> Reporter: Ruifeng Zheng
> Priority: Major
> Labels: pull-request-available
>
> CI builds documentation, but the daily GitHub Pages workflow independently
> rebuilds the same site.
> Publish every upstream documentation build as a branch-specific
> docs-preview-<branch>-<timestamp> artifact retained for one day. Include a
> UTC timestamp in both the artifact name and archive filename, and do not
> overwrite existing artifacts. Restrict Python and R API documentation
> change-based skips to fork builds so upstream artifacts contain both API sets.
> Have Pages select the unexpired master preview artifact with the newest
> creation date across all result pages, downloading that exact artifact by ID.
> After extracting it, prepare the documentation preview by applying
> In-Progress labels to generated Spark page titles and version badges. CI
> documentation builds retain the original source versions.
> Keep the existing daily schedule and manual dispatch. Fail if no preview
> artifact is available, leaving the current deployment in place. A successful
> documentation build can be reused even when unrelated jobs in the same CI run
> fail.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]