Release test #382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
schedule: | |
- cron: 27 18 * * 4 # weekly, 18:27 on Thursday | |
workflow_dispatch: | |
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners | |
jobs: | |
release-avatica: | |
strategy: | |
fail-fast: false | |
matrix: | |
gradle-version: [wrapper] | |
name: 'Calcite Avatica ${{ matrix.gradle-version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
submodules: true | |
- name: 'Set up JDK 11' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'zulu' | |
- name: 'Start release environment' | |
run: | | |
gpg --import .github/workflows/test-key.asc | |
git clone --depth 100 https://github.com/vlsi/asflike-release-environment.git ../asflike-release-environment | |
cd ../asflike-release-environment | |
cp .env_calcite-avatica .env | |
docker-compose build vcs | |
docker-compose up -d | |
- name: 'Clone Calcite Avatica' | |
run: | | |
git clone --depth 100 https://github.com/apache/calcite-avatica.git ../calcite-avatica | |
git rev-parse HEAD | |
- name: 'Prepare Candidate' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../calcite-avatica | |
arguments: --no-parallel --no-daemon prepareVote -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test -Psigning.gnupg.keyName=289023DE2663BD17 -PuseGpgCmd -Psigning.gnupg.useLegacyGpg=true | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
- name: 'Publish Release' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../calcite-avatica | |
arguments: --no-parallel --no-daemon publishDist -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
release-calcite: | |
strategy: | |
fail-fast: false | |
matrix: | |
gradle-version: [wrapper] | |
name: 'Calcite ${{ matrix.gradle-version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
submodules: true | |
- name: 'Set up JDK 11' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'zulu' | |
- name: 'Start release environment' | |
run: | | |
gpg --import .github/workflows/test-key.asc | |
git clone --depth 100 https://github.com/vlsi/asflike-release-environment.git ../asflike-release-environment | |
cd ../asflike-release-environment | |
cp .env_calcite .env | |
docker-compose build vcs | |
docker-compose up -d | |
- name: 'Clone Calcite' | |
run: | | |
git clone --depth 100 https://github.com/apache/calcite.git ../calcite | |
git rev-parse HEAD | |
- name: 'Prepare Candidate' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../calcite | |
arguments: -PskipSigning --no-parallel --no-daemon prepareVote -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test -Psigning.gnupg.keyName=289023DE2663BD17 -PuseGpgCmd -Psigning.gnupg.useLegacyGpg=true | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
- name: 'Publish Release' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../calcite | |
arguments: --no-parallel --no-daemon publishDist -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
release-jmeter: | |
strategy: | |
fail-fast: false | |
matrix: | |
gradle-version: [wrapper, rc, nightly] | |
name: 'JMeter ${{ matrix.gradle-version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
submodules: true | |
- name: 'Set up JDK 11' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'zulu' | |
- name: 'Start release environment' | |
run: | | |
gpg --import .github/workflows/test-key.asc | |
git clone --depth 100 https://github.com/vlsi/asflike-release-environment.git ../asflike-release-environment | |
cd ../asflike-release-environment | |
cp .env_jmeter .env | |
docker-compose build vcs | |
docker-compose up -d | |
- name: 'Clone JMeter' | |
run: | | |
git clone --depth 100 https://github.com/apache/jmeter.git ../jmeter | |
git rev-parse HEAD | |
- name: 'Prepare Candidate' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../jmeter | |
arguments: --no-parallel --no-daemon prepareVote -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test -PasfTestGitSitePreviewUsername=test -PasfTestGitSitePreviewPassword=test -Psigning.gnupg.keyName=289023DE2663BD17 -PuseGpgCmd -Psigning.gnupg.useLegacyGpg=true | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
- name: 'Publish Release' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../jmeter | |
arguments: --no-parallel --no-daemon publishDist -Prc=1 -PlocalReleasePlugins -PasfTestNexusUsername=test -PasfTestNexusPassword=test -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PasfTestSvnUsername=test -PasfTestSvnPassword=test | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
release-autostyle: | |
strategy: | |
fail-fast: false | |
matrix: | |
gradle-version: [wrapper] | |
name: 'Autostyle ${{ matrix.gradle-version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
submodules: true | |
- name: 'Set up JDK 8' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: 'zulu' | |
- name: 'Start release environment' | |
run: | | |
gpg --import .github/workflows/test-key.asc | |
git clone --depth 100 https://github.com/vlsi/asflike-release-environment.git ../asflike-release-environment | |
cd ../asflike-release-environment | |
cp .env_autostyle .env | |
docker-compose build vcs | |
docker-compose up -d | |
- name: 'Clone Autostyle' | |
run: | | |
git clone --depth 100 https://github.com/autostyle/autostyle.git ../autostyle | |
git rev-parse HEAD | |
- name: 'Prepare Candidate' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../autostyle | |
arguments: --no-parallel --no-daemon prepareVote -Prc=1 -PlocalReleasePlugins -PghTestNexusUsername=test -PghTestNexusPassword=test -PghTestGitSourceUsername=test -PghTestGitSourcePassword=test -Psigning.gnupg.keyName=289023DE2663BD17 -PuseGpgCmd -Psigning.gnupg.useLegacyGpg=true | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
- name: 'Publish Release' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../autostyle | |
arguments: --no-parallel --no-daemon publishDist -Prc=1 -PlocalReleasePlugins -PghTestNexusUsername=test -PghTestNexusPassword=test -PghTestGitSourceUsername=test -PghTestGitSourcePassword=test | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
release-pgjdbc: | |
strategy: | |
fail-fast: false | |
matrix: | |
gradle-version: [wrapper] | |
name: 'pgjdbc ${{ matrix.gradle-version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
submodules: true | |
- name: 'Set up JDK 8' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: 'zulu' | |
- name: 'Start release environment' | |
run: | | |
gpg --import .github/workflows/test-key.asc | |
git clone --depth 100 https://github.com/vlsi/asflike-release-environment.git ../asflike-release-environment | |
cd ../asflike-release-environment | |
cp .env_pgjdbc .env | |
docker-compose build vcs | |
docker-compose up -d | |
- name: 'Clone pgjdbc' | |
run: | | |
git clone --depth 100 https://github.com/pgjdbc/pgjdbc.git ../pgjdbc | |
git rev-parse HEAD | |
- name: 'Prepare Candidate' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../pgjdbc | |
arguments: --no-parallel --no-daemon prepareVote -Prc=1 -PlocalReleasePlugins -PghTestNexusUsername=test -PghTestNexusPassword=test -PghTestGitSourceUsername=test -PghTestGitSourcePassword=test -Psigning.gnupg.keyName=289023DE2663BD17 -PuseGpgCmd -Psigning.gnupg.useLegacyGpg=true | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true | |
- name: 'Publish Release' | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
build-root-directory: ../pgjdbc | |
arguments: --no-parallel --no-daemon publishDist -Prc=1 -PlocalReleasePlugins -PghTestNexusUsername=test -PghTestNexusPassword=test -PghTestGitSourceUsername=test -PghTestGitSourcePassword=test | |
env: | |
ORG_GRADLE_PROJECT_checksumIgnore: true |