diff --git a/.github/workflows/publish-1.2-docs.yml b/.github/workflows/publish-1.2-docs.yml new file mode 100644 index 00000000..bce14527 --- /dev/null +++ b/.github/workflows/publish-1.2-docs.yml @@ -0,0 +1,70 @@ +name: Publish 1.2 docs + +on: + workflow_dispatch: + +jobs: + publish-docs: + name: Publish 1.2 documentation to nightlies.apache.org + runs-on: ubuntu-latest + if: github.repository == 'apache/pekko-management' + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + ref: 1.2.x + + - name: Set up JDK 8 + uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: 8 + + - name: Install sbt + uses: sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1.1.14 + + - name: Cache Coursier cache + uses: coursier/cache-action@bebeeb0e6f48ebad66d3783946588ecf43114433 # v7.0.0 + + - name: Build Documentation + run: |- + sbt "set ThisBuild / version := \"1.2.0\"; docs/paradox; unidoc" + env: + JAVA_OPTS: "-verbose:gc -Xmx4g" + + # Create directory structure upfront since rsync does not create intermediate directories otherwise + - name: Create directory structure + run: |- + mkdir -p target/nightly-docs/docs/pekko-management/1.2.0/ + mkdir -p target/nightly-docs/docs/pekko-management/1.2/ + cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-management/1.2.0/docs + cp -r docs/target/paradox/site/main/ target/nightly-docs/docs/pekko-management/1.2/docs + rm -r docs/target/paradox/site/main/ + cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-management/1.2.0/api + cp -r target/scala-2.13/unidoc target/nightly-docs/docs/pekko-management/1.2/api + rm -r target/scala-2.13/unidoc + + - name: Upload 1.2.0 nightly docs + uses: ./.github/actions/sync-nightlies + with: + upload: true + switches: --archive --compress --update --delete --progress --relative + local_path: target/nightly-docs/./docs/pekko-management/1.2.0 # The intermediate dot is to show `--relative` which paths to operate on + remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/ + remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }} + remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }} + remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }} + remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }} + + - name: Upload 1.2 nightly docs + uses: ./.github/actions/sync-nightlies + with: + upload: true + switches: --archive --compress --update --delete --progress --relative + local_path: target/nightly-docs/./docs/pekko-management/1.2 # The intermediate dot is to show `--relative` which paths to operate on + remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/pekko/ + remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }} + remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }} + remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }} + remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }} diff --git a/docs/src/main/paradox/release-notes/index.md b/docs/src/main/paradox/release-notes/index.md index c81b99e2..bd95457b 100644 --- a/docs/src/main/paradox/release-notes/index.md +++ b/docs/src/main/paradox/release-notes/index.md @@ -4,6 +4,7 @@ @@@ index +* [1.2 Releases](releases-1.2.md) * [1.1 Releases](releases-1.1.md) * [1.0 Releases](releases-1.0.md) diff --git a/docs/src/main/paradox/release-notes/releases-1.1.md b/docs/src/main/paradox/release-notes/releases-1.1.md index 880ec394..93f6af88 100644 --- a/docs/src/main/paradox/release-notes/releases-1.1.md +++ b/docs/src/main/paradox/release-notes/releases-1.1.md @@ -2,7 +2,9 @@ ## 1.1.1 -Release notes for Apache Pekko Management 1.1.1. This release includes a security fix. +Release notes for Apache Pekko Management 1.1.1. See [GitHub Milestone for 1.1.1](https://github.com/apache/pekko-management/milestone/4?closed=1) for a fuller list of changes. + +This release includes a security fix. ### Security fix diff --git a/docs/src/main/paradox/release-notes/releases-1.2.md b/docs/src/main/paradox/release-notes/releases-1.2.md new file mode 100644 index 00000000..01fb10ea --- /dev/null +++ b/docs/src/main/paradox/release-notes/releases-1.2.md @@ -0,0 +1,11 @@ +# Release Notes (1.2.x) + +## 1.2.0 + +Release notes for Apache Pekko Management 1.2.0. See [GitHub Milestone for 1.2.0](https://github.com/apache/pekko-management/milestone/5?closed=1) for a fuller list of changes. + +### Additions + +* Configurable TLS version ([PR456](https://github.com/apache/pekko-management/pull/456)) +* cluster-bootstrap now supports TLS requests in client calls ([PR549](https://github.com/apache/pekko-management/pull/549)) +* Pekko SBR Native Lease Management now supports token rotation ([#543](https://github.com/apache/pekko-management/issues/543))