[ 
https://issues.apache.org/jira/browse/HDDS-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152505#comment-18152505
 ] 

Neo Chien commented on HDDS-17507:
----------------------------------

Hi [~adoroszlai] 

I would like to try website-comment PR previews in ozone-site. Here is the plan 
and few points I could not verify.

Plan:
 * Add preview-artifact to the build-website job in docusaurus.yml 
(pull_request only), plus preview-signal.yml and preview-publish.yml.
 * Previews are opt-in per PR (preview label or /show-preview). 
preview-main-overlay is out of scope.

Questions:
 * Does INFRA need to enable anything for staged.apache.org? Is site-name: 
ozone (ozone-pr<N>.staged.apache.org) right?
 * Is apache/infrastructure-actions/website-comment/* on the ASF allowlist, and 
is the inline zizmor: ignore[dangerous-triggers] on workflow_run acceptable?
 * Do you prefer a tag or a commit SHA for pinning? Existing workflows use both.
 * preview-artifact writes preview-meta.json into build/, which I expect to be 
root-owned. Would you prefer a chown step or copying build/ to a separate 
directory?
 * To limit comments on issue@, I suggest howto: with-preview-artifact with a 
*paths:* filter. Could you review the path list?
 * The workflows run from the default branch, so they cannot be tested on the 
PR branch. Do you prefer merging and testing with harmless PR or a fork first?

Thank you.

> Integrate website-comment action for PR preview
> -----------------------------------------------
>
>                 Key: HDDS-17507
>                 URL: https://issues.apache.org/jira/browse/HDDS-17507
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: website
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> [apache/infrastructure-actions/website-comment|https://github.com/apache/infrastructure-actions/tree/main/website-comment]
>  action can be used to publish a temporary preview of website pull requests.  
> This can help with reviews, we should try it with ozone-site.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to