Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: optimized matrix ci #1355

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

chore: optimized matrix ci #1355

wants to merge 5 commits into from

Conversation

Roiocam
Copy link
Member

@Roiocam Roiocam commented Jun 4, 2024

Motivation

#1354

Verification

Looks like it works!

the main branch's latest commit id: 92b38e7

main branch ci

截屏2024-06-04 18 20 20

1.0.x branch's latest commit id: 4f77c81

1.0.x branch ci

截屏2024-06-04 18 20 08

@Roiocam
Copy link
Member Author

Roiocam commented Jun 4, 2024

@pjfanning Could I inquire about a few queries I have regarding this PR?

  • what's the difference between .../pekko/1.1.0-M1/docs and .../pekko/1.1/docs ??
  • could we replace them with branch names, like main and 1.0.x?

mkdir -p target/nightly-docs/docs/pekko/1.1.0-M1/
mkdir -p target/nightly-docs/docs/pekko/1.1/
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1.0-M1/docs
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1/docs
rm -r docs/target/paradox/site/main/
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1.0-M1/api
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1/api
rm -r target/scala-2.13/unidoc
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1.0-M1/japi
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1/japi
rm -r target/javaunidoc

@pjfanning
Copy link
Contributor

@pjfanning Could I inquire about a few queries I have regarding this PR?

  • what's the difference between .../pekko/1.1.0-M1/docs and .../pekko/1.1/docs ??
  • could we replace them with branch names, like main and 1.0.x?

mkdir -p target/nightly-docs/docs/pekko/1.1.0-M1/
mkdir -p target/nightly-docs/docs/pekko/1.1/
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1.0-M1/docs
cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko/1.1/docs
rm -r docs/target/paradox/site/main/
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1.0-M1/api
cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko/1.1/api
rm -r target/scala-2.13/unidoc
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1.0-M1/japi
cp -r target/javaunidoc target/nightly-docs/docs/pekko/1.1/japi
rm -r target/javaunidoc

We have 10+ git repos running jobs like this and redirect rules set up in apache/pekko-site based on this path format. I would prefer not to have to change everything.
We publish with the full version (1.1.0-M1) and the minor version (1.1).

Have a look at full version docs:

Minor version:

The minor version docs give you the latest for each release line. But with full version, you can get docs for a specific release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants