pekko icon indicating copy to clipboard operation
pekko copied to clipboard

chore: optimized matrix ci

Open Roiocam opened this issue 1 year ago • 2 comments

Motivation

https://github.com/apache/pekko/discussions/1354

Verification

Looks like it works!

the main branch's latest commit id: https://github.com/apache/pekko/commit/92b38e72d6a2701da06f483e8cd27953e403240e

main branch ci

截屏2024-06-04 18 20 20

1.0.x branch's latest commit id: https://github.com/apache/pekko/commit/4f77c8108aaf548a65531d2c8807da13dbba8146

1.0.x branch ci

截屏2024-06-04 18 20 08

Roiocam avatar Jun 04 '24 10:06 Roiocam

@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?

https://github.com/apache/pekko/blob/67211737daa9b3f6d24ed63563efc78fc9945fef/.github/workflows/publish-1.1-docs.yml#L64-L74

Roiocam avatar Jun 04 '24 14:06 Roiocam

@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?

https://github.com/apache/pekko/blob/67211737daa9b3f6d24ed63563efc78fc9945fef/.github/workflows/publish-1.1-docs.yml#L64-L74

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:

  • https://pekko.apache.org/docs/pekko/1.1.0-M1/
  • https://pekko.apache.org/docs/pekko/1.0.3-M1/
  • https://pekko.apache.org/docs/pekko/1.0.2/
  • https://pekko.apache.org/docs/pekko/1.0.1/
  • https://pekko.apache.org/docs/pekko/1.0.0/

Minor version:

  • https://pekko.apache.org/docs/pekko/1.1/
  • https://pekko.apache.org/docs/pekko/1.0/

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

pjfanning avatar Jun 04 '24 18:06 pjfanning