Disabled benchmarks
For - disabled benchmarks action
@@ -24,37 +24,37 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- run: mvn -B deploy -Pdocker -Ddocker.image.name=${{ secrets.DOCKERHUB_REPO }}
- run-benchmarks:
- runs-on: ubuntu-latest
- needs: docker-publish
- steps:
- - name: Check out the code
- uses: actions/checkout@v2
- with:
- ref: gh-pages
- - name: Set env
- env:
- ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- - name: Run benchmarks
- id: run_benchmarks
- uses: artipie/benchmarks@master
- with:
- aws-access-key: '${{ secrets.PERF_AWS_ACCESS_KEY }}'
- aws-secret-key: '${{ secrets.PERF_AWS_SECRET_KEY }}'
- version: '${{ env.RELEASE_VERSION }}'
- - name: Commit benchmark results
- run: |
- export REPORT=${{ steps.run_benchmarks.outputs.report }}
- export VERSION=${{ env.RELEASE_VERSION }}
- mkdir -p benchmarks/$VERSION
- mv $REPORT benchmarks/$VERSION/
- git config --local user.email "action@github.com"
- git config --local user.name "GitHub Action"
- git add benchmarks/$VERSION/$REPORT
- git commit -m "Add benchmark results for version=$VERSION"
- - name: Push benchmark results
- uses: ad-m/github-push-action@master
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- branch: 'gh-pages'
+ # run-benchmarks:
+ # runs-on: ubuntu-latest
+ # needs: docker-publish
+ # steps:
+ # - name: Check out the code
+ # uses: actions/checkout@v2
+ # with:
+ # ref: gh-pages
+ # - name: Set env
+ # env:
+ # ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
+ # run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
+ # - name: Run benchmarks
+ # id: run_benchmarks
+ # uses: artipie/benchmarks@master
+ # with:
+ # aws-access-key: '${{ secrets.PERF_AWS_ACCESS_KEY }}'
+ # aws-secret-key: '${{ secrets.PERF_AWS_SECRET_KEY }}'
+ # version: '${{ env.RELEASE_VERSION }}'
+ # - name: Commit benchmark results
+ # run: |
+ # export REPORT=${{ steps.run_benchmarks.outputs.report }}
+ # export VERSION=${{ env.RELEASE_VERSION }}
+ # mkdir -p benchmarks/$VERSION
+ # mv $REPORT benchmarks/$VERSION/
+ # git config --local user.email "action@github.com"
+ # git config --local user.name "GitHub Action"
+ # git add benchmarks/$VERSION/$REPORT
+ # git commit -m "Add benchmark results for version=$VERSION"
+ # - name: Push benchmark results
+ # uses: ad-m/github-push-action@master
+ # with:
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
+ # branch: 'gh-pages'
