This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new e808daa29 protect 1.3.x branch and setup CI jobs (#1300)
e808daa29 is described below
commit e808daa295ddc611c3134c74dab3c66aecdf5154
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Nov 28 19:53:27 2025 +0100
protect 1.3.x branch and setup CI jobs (#1300)
---
.asf.yaml | 12 ++++
.github/workflows/nightly-pekko-1.0-builds.yaml | 2 +-
.github/workflows/nightly-pekko-1.3-builds.yaml | 2 +-
.github/workflows/publish-nightly-1.3.yml | 77 +++++++++++++++++++++++++
4 files changed, 91 insertions(+), 2 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 63150a726..d7b046c60 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -79,6 +79,18 @@ github:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1
+ 1.3.x:
+ required_status_checks:
+ # strict means "Require branches to be up to date before merging".
+ strict: false
+ # contexts are the names of checks that must pass
+ contexts:
+ - Code is formatted
+ - Check headers
+ required_pull_request_reviews:
+ dismiss_stale_reviews: false
+ require_code_owner_reviews: false
+ required_approving_review_count: 1
notifications:
commits: [email protected]
diff --git a/.github/workflows/nightly-pekko-1.0-builds.yaml
b/.github/workflows/nightly-pekko-1.0-builds.yaml
index 475dfc769..e94a78241 100644
--- a/.github/workflows/nightly-pekko-1.0-builds.yaml
+++ b/.github/workflows/nightly-pekko-1.0-builds.yaml
@@ -45,7 +45,7 @@ jobs:
with:
fetch-tags: true
fetch-depth: 0
- ref: 1.2.x
+ ref: 1.3.x
- name: Setup Java ${{ matrix.JDK }}
uses: actions/setup-java@v5
diff --git a/.github/workflows/nightly-pekko-1.3-builds.yaml
b/.github/workflows/nightly-pekko-1.3-builds.yaml
index 09998b02e..778a7c6aa 100644
--- a/.github/workflows/nightly-pekko-1.3-builds.yaml
+++ b/.github/workflows/nightly-pekko-1.3-builds.yaml
@@ -47,7 +47,7 @@ jobs:
with:
fetch-tags: true
fetch-depth: 0
- ref: 1.2.x
+ ref: 1.3.x
- name: Setup Java ${{ matrix.JDK }}
uses: actions/setup-java@v5
diff --git a/.github/workflows/publish-nightly-1.3.yml
b/.github/workflows/publish-nightly-1.3.yml
new file mode 100644
index 000000000..8c1e598c2
--- /dev/null
+++ b/.github/workflows/publish-nightly-1.3.yml
@@ -0,0 +1,77 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Publish Nightly (1.3.x)
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "22 0 * * *"
+
+jobs:
+ publish:
+ # runs on main repo only
+ if: github.repository == 'apache/pekko-connectors'
+ name: Publish
+ runs-on: ubuntu-22.04
+ env:
+ JAVA_OPTS: -Xms2G -Xmx3G -Xss2M -XX:ReservedCodeCacheSize=256M
-Dfile.encoding=UTF-8
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v5
+ with:
+ fetch-tags: true
+ fetch-depth: 0
+ ref: 1.3.x
+
+ - name: Setup Java 8
+ uses: actions/setup-java@v5
+ with:
+ distribution: temurin
+ java-version: 8
+
+ - name: Install sbt
+ uses: sbt/setup-sbt@26ab4b0fa1c47fa62fc1f6e51823a658fb6c760c # v1.1.7
+
+ - name: Publish to Apache Maven repo
+ env:
+ NEXUS_USER: ${{ secrets.NEXUS_USER }}
+ NEXUS_PW: ${{ secrets.NEXUS_PW }}
+ run: sbt +publish
+
+ - name: Build Documentation
+ run: |-
+ sbt docs/paradox unidoc
+
+ # Create directory structure upfront since rsync does not create
intermediate directories otherwise
+ - name: Create nightly directory structure
+ run: |-
+ mkdir -p target/nightly-docs/docs/pekko-connectors/${{
github.ref_name }}-snapshot/
+ mv docs/target/paradox/site/main/
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/docs
+ mv target/scala-2.13/unidoc
target/nightly-docs/docs/pekko-connectors/${{ github.ref_name }}-snapshot/api
+
+ - name: Upload nightly docs
+ uses: ./.github/actions/sync-nightlies
+ with:
+ upload: true
+ switches: --archive --compress --update --delete --progress
--relative
+ local_path: target/nightly-docs/./docs/pekko-connectors/${{
github.ref_name }}-snapshot # 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 }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]