Bump corfu version to 0.4.2.0 #63
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: 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@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache local Gradle repository | |
uses: actions/cache@v2 | |
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 |