Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .github/workflows/publish-1.2-docs.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions docs/src/main/paradox/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 3 additions & 1 deletion docs/src/main/paradox/release-notes/releases-1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 11 additions & 0 deletions docs/src/main/paradox/release-notes/releases-1.2.md
Original file line number Diff line number Diff line change
@@ -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))
Loading