Skip to content

Bump corfu version to 0.4.2.1 #65

Bump corfu version to 0.4.2.1

Bump corfu version to 0.4.2.1 #65

name: Pull Request Benchmarks
on:
pull_request:
paths:
- 'benchmarks/**'
- '.github/workflows/pull_request_benchmarks.yml'
jobs:
benchmarks_check:
name: Benchmark checks
runs-on: ubuntu-latest
env:
PKG_USERNAME: ${{ secrets.pkg_username }}
PUBLISH_TOKEN: ${{ secrets.publish_token }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
check-latest: true
cache-dependency-path: '**/pom.xml'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: satackey/[email protected]
continue-on-error: true
- name: Check benchmarks module
working-directory: ./benchmarks
run: ./gradlew check
- name: push docker image
working-directory: ./benchmarks
run: |
./gradlew jmhJar
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login docker.io -u ${{ secrets.DOCKER_USER_NAME }} --password-stdin
docker build -t corfudb/corfudb-cloud-benchmarks:latest .
docker push corfudb/corfudb-cloud-benchmarks:latest