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