mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
version, tagging updates
This commit is contained in:
parent
402154e4c7
commit
027fc4a895
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -16,9 +16,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: checkout nosqlbench
|
name: checkout nosqlbench
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
name: setup java
|
name: setup java
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
java-package: jdk
|
java-package: jdk
|
||||||
architecture: x64
|
architecture: x64
|
||||||
@ -27,6 +31,7 @@ jobs:
|
|||||||
- name: Cache Maven packages
|
- name: Cache Maven packages
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
path: ~/.m2
|
path: ~/.m2
|
||||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: ${{ runner.os }}-m2
|
restore-keys: ${{ runner.os }}-m2
|
||||||
@ -43,6 +48,7 @@ jobs:
|
|||||||
- name: Uploading test coverage
|
- name: Uploading test coverage
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: codecov-report
|
name: codecov-report
|
||||||
path: codecov-report.tar
|
path: codecov-report.tar
|
||||||
|
|
||||||
@ -54,6 +60,7 @@ jobs:
|
|||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: nb-logs
|
name: nb-logs
|
||||||
path: logfiles.tar
|
path: logfiles.tar
|
||||||
|
|
||||||
@ -65,6 +72,7 @@ jobs:
|
|||||||
if: success()
|
if: success()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: exported-docs
|
name: exported-docs
|
||||||
path: exported_docs.zip
|
path: exported_docs.zip
|
||||||
|
|
||||||
@ -82,6 +90,7 @@ jobs:
|
|||||||
- name: download exported_docs
|
- name: download exported_docs
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: exported-docs
|
name: exported-docs
|
||||||
|
|
||||||
- run: ls -la
|
- run: ls -la
|
||||||
|
10
.github/workflows/preview.yml
vendored
10
.github/workflows/preview.yml
vendored
@ -19,10 +19,13 @@ jobs:
|
|||||||
|
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
- name: setup java
|
- name: setup java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
java-package: jdk
|
java-package: jdk
|
||||||
@ -98,6 +101,7 @@ jobs:
|
|||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: binaries
|
name: binaries
|
||||||
path: staging
|
path: staging
|
||||||
|
|
||||||
@ -123,7 +127,8 @@ jobs:
|
|||||||
|
|
||||||
- name: tag preview version
|
- name: tag preview version
|
||||||
run: |
|
run: |
|
||||||
git tag ${{ env.PREVIEW_VERSION }}
|
git tag nb5-${{ env.PREVIEW_VERSION }}
|
||||||
|
git tag -f nb5-preview
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
- name: bump minor version
|
- name: bump minor version
|
||||||
@ -133,6 +138,7 @@ jobs:
|
|||||||
- name: docker push to hub
|
- name: docker push to hub
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
@ -171,6 +177,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
|
||||||
asset_path: nb5/target/nb5
|
asset_path: nb5/target/nb5
|
||||||
asset_name: nb5
|
asset_name: nb5
|
||||||
@ -180,6 +187,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: test-results
|
name: test-results
|
||||||
path: |
|
path: |
|
||||||
[a-zA-Z]**/logs/*
|
[a-zA-Z]**/logs/*
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -19,10 +19,13 @@ jobs:
|
|||||||
|
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
- name: setup java
|
- name: setup java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
java-package: jdk
|
java-package: jdk
|
||||||
@ -98,6 +101,7 @@ jobs:
|
|||||||
- name: upload artifacts
|
- name: upload artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: binaries
|
name: binaries
|
||||||
path: staging
|
path: staging
|
||||||
|
|
||||||
@ -123,12 +127,14 @@ jobs:
|
|||||||
|
|
||||||
- name: tag release
|
- name: tag release
|
||||||
run: |
|
run: |
|
||||||
git tag ${{ env.RELEASE_REVISION }}
|
git tag nb5-${{ env.RELEASE_REVISION }}
|
||||||
|
git tag -f nb5-release
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
- name: docker push to hub
|
- name: docker push to hub
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
@ -167,6 +173,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_github_release.outputs.upload_url }}
|
||||||
asset_path: nb5/target/nb5
|
asset_path: nb5/target/nb5
|
||||||
asset_name: nb5
|
asset_name: nb5
|
||||||
@ -176,6 +183,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
node-version: '16'
|
||||||
name: test-results
|
name: test-results
|
||||||
path: |
|
path: |
|
||||||
[a-zA-Z]**/logs/*
|
[a-zA-Z]**/logs/*
|
||||||
|
Loading…
Reference in New Issue
Block a user