You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/02/14 10:35:41 UTC
[incubator-pekko-persistence-jdbc] branch main updated: remove more release jobs and apply some upgrades to remaining jobs (#13)
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/incubator-pekko-persistence-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new a06b08e remove more release jobs and apply some upgrades to remaining jobs (#13)
a06b08e is described below
commit a06b08e42fbe2dc977af500e38546abb9556f1f7
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Feb 14 11:35:35 2023 +0100
remove more release jobs and apply some upgrades to remaining jobs (#13)
---
.github/workflows/checks.yml | 16 +++++-----
.github/workflows/h2-test.yml | 8 ++---
.github/workflows/link-validator.yml | 4 +--
.github/workflows/mysql-tests.yml | 8 ++---
.github/workflows/oracle-tests.yml | 8 ++---
.github/workflows/postgres-tests.yml | 8 ++---
.github/workflows/release-drafter.yml | 19 ------------
.github/workflows/release.yml | 54 ---------------------------------
.github/workflows/snapshot-release.yaml | 42 -------------------------
.github/workflows/sqlserver-tests.yml | 8 ++---
10 files changed, 30 insertions(+), 145 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 24d6afd..78ac675 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -4,17 +4,17 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
check-code-style:
name: Check Code Style
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
@@ -39,10 +39,10 @@ jobs:
check-code-compilation:
name: Check Code Compilation
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -66,10 +66,10 @@ jobs:
check-docs:
name: Check Docs
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/h2-test.yml b/.github/workflows/h2-test.yml
index 9314068..df8c638 100644
--- a/.github/workflows/h2-test.yml
+++ b/.github/workflows/h2-test.yml
@@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
test:
name: Build and Test
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -22,7 +22,7 @@ jobs:
- { java-version: adopt@1.11.0-9, scala-version: 2.13.8, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' }
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml
index 7d142bd..7ae7d44 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -7,10 +7,10 @@ on:
jobs:
validate-links:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# See https://github.com/actions/checkout/issues/299#issuecomment-677674415
ref: ${{ github.event.pull_request.head.sha }}
diff --git a/.github/workflows/mysql-tests.yml b/.github/workflows/mysql-tests.yml
index 3888892..1887a27 100644
--- a/.github/workflows/mysql-tests.yml
+++ b/.github/workflows/mysql-tests.yml
@@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
integration-test:
name: Integration Tests
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/oracle-tests.yml b/.github/workflows/oracle-tests.yml
index d7c8a6a..04caae1 100644
--- a/.github/workflows/oracle-tests.yml
+++ b/.github/workflows/oracle-tests.yml
@@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
integration-test:
name: Integration Tests
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.yml
index 43a4e44..2871dd2 100644
--- a/.github/workflows/postgres-tests.yml
+++ b/.github/workflows/postgres-tests.yml
@@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
integration-test:
name: Integration Tests
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
deleted file mode 100644
index 4bbb97a..0000000
--- a/.github/workflows/release-drafter.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Release Drafter
-
-on:
- push:
- branches:
- - master
- - main
- - release-*
-
-jobs:
- update_release_draft:
- runs-on: ubuntu-18.04
- steps:
- # Drafts your next Release notes as Pull Requests are merged
- # https://github.com/raboof/release-drafter/releases
- # fork of https://github.com/release-drafter/release-drafter/releases
- - uses: raboof/release-drafter@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 5fc2b9d..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: Release
-
-on:
- push:
- branches:
- - master
- tags: ["*"]
-
-jobs:
- release:
- # runs on main repo only
- if: github.repository == 'akka/akka-persistence-jdbc'
- name: Release
- # the release environment provides access to secrets required in the release process
- # https://github.com/akka/akka-persistence-jdbc/settings/environments/164872635/edit
- environment: release
- runs-on: ubuntu-18.04
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
- fetch-depth: 0
-
- - name: Checkout GitHub merge
- if: github.event.pull_request
- run: |-
- git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
- git checkout scratch
-
- - name: Setup Scala with JDK 8
- uses: olafurpg/setup-scala@v10
-
- - name: Cache Coursier cache
- uses: coursier/cache-action@v6.4.0
-
- - name: Publish artifacts for all Scala versions
- env:
- PGP_SECRET: ${{ secrets.PGP_SECRET }}
- SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- run: sbt ci-release
-
- - name: Publish API and reference documentation
- env:
- GUSTAV_KEY: ${{ secrets.GUSTAV_KEY }}
- GUSTAV_PASSPHRASE: ${{ secrets.GUSTAV_PASSPHRASE }}
- run: |+
- eval "$(ssh-agent -s)"
- echo $GUSTAV_KEY | base64 -di > .github/id_rsa
- chmod 600 .github/id_rsa
- ssh-keygen -p -P "$GUSTAV_PASSPHRASE" -N "" -f .github/id_rsa
- ssh-add .github/id_rsa
- sbt "++2.13.8 docs/publishRsync"
diff --git a/.github/workflows/snapshot-release.yaml b/.github/workflows/snapshot-release.yaml
deleted file mode 100644
index 7d68619..0000000
--- a/.github/workflows/snapshot-release.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Release
-
-on:
- push:
- branches:
- - snapshot-release
- tags: ["*"]
-
-jobs:
- release:
- # runs on main repo only
- if: github.repository == 'akka/akka-persistence-jdbc'
- name: Release
- # the release environment provides access to secrets required in the release process
- # https://github.com/akka/akka-persistence-jdbc/settings/environments/164872635/edit
- environment: release
- runs-on: ubuntu-18.04
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
- fetch-depth: 0
-
- - name: Checkout GitHub merge
- if: github.event.pull_request
- run: |-
- git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
- git checkout scratch
-
- - name: Setup Scala with JDK 8
- uses: olafurpg/setup-scala@v10
-
- - name: Cache Coursier cache
- uses: coursier/cache-action@v6.4.0
-
- - name: Publish artifacts for all Scala versions
- env:
- PGP_SECRET: ${{ secrets.PGP_SECRET }}
- SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- run: sbt ci-release
diff --git a/.github/workflows/sqlserver-tests.yml b/.github/workflows/sqlserver-tests.yml
index 114fd42..fad7031 100644
--- a/.github/workflows/sqlserver-tests.yml
+++ b/.github/workflows/sqlserver-tests.yml
@@ -4,14 +4,14 @@ on:
pull_request:
push:
branches:
- - master
- - migration-tool # remove before merging to master
+ - main
+ - migration-tool # remove before merging to main
tags-ignore: [ v.* ]
jobs:
integration-test:
name: Integration Tests
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org