[
https://issues.apache.org/jira/browse/CASSANDRA-18738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753267#comment-17753267
]
Michael Semb Wever commented on CASSANDRA-18738:
------------------------------------------------
bq. We commit to trunk. This triggers Jenkins, on completion - we can see the
staged website andd if there is nothing wrong - merge asf-staging to asf-site.
Is this still the correct process?
That's correct. But this patch is on cassandra-website repo. Commits to that
repo trigger CI too.
We also have pre-commit CI in github for cassandra-website commits, for example
in your fork your commits will have checks, like this:
https://github.com/ekaterinadimitrova2/cassandra-website/actions/runs/5825288289/job/15796474462
And it generates a (just top-level) website in the _generated branch, e.g.
https://github.com/ekaterinadimitrova2/cassandra-website/blob/18738-trunk_generated/content/_/development/how_to_commit.html
You can take the raw url of that and put it into raw.githack.com , e.g.
https://raw.githack.com/ekaterinadimitrova2/cassandra-website/18738-trunk_generated/content/_/development/how_to_commit.html
to preview the generated output.
> Update the How to Commit page after CASSANDRA-18618
> ---------------------------------------------------
>
> Key: CASSANDRA-18738
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18738
> Project: Cassandra
> Issue Type: Task
> Components: Legacy/Documentation and Website
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Low
>
> In CASSANDRA-18618, checks like rat and checkstyle were moved to a separate
> ant task - "check".
> We need to update our How to commit page that on branches Cassandra-5.0 + we
> need to run now ant realclean && ant jar build-test check pre-commit. While
> on that, we already have the cassandra-5.0 branch, so that we can add that
> too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]