-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated build config for github actions
- Loading branch information
1 parent
8b772ef
commit a3c3cf6
Showing
5 changed files
with
183 additions
and
99 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: EarlyAccess | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
earlyaccess: | ||
name: EarlyAccess | ||
if: github.repository == 'redis-developer/riot' && startsWith(github.event.head_commit.message, 'Releasing version') != true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradlew- | ||
- name: Build | ||
run: ./gradlew -Prelease=true build -S | ||
|
||
- name: Version | ||
id: vars | ||
run: echo ::set-output name=version::$(grep "version" gradle.properties | cut -d'=' -f2 | tr -d " ") | ||
|
||
- name: Assemble | ||
uses: jreleaser/release-action@v1 | ||
with: | ||
version: early-access | ||
arguments: assemble | ||
env: | ||
JRELEASER_PROJECT_VERSION: ${{ steps.vars.outputs.version }} | ||
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Release | ||
uses: jreleaser/release-action@v1 | ||
with: | ||
version: early-access | ||
arguments: full-release | ||
env: | ||
JRELEASER_PROJECT_VERSION: ${{ steps.vars.outputs.version }} | ||
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }} | ||
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | ||
JRELEASER_DOCKER_DEFAULT_PASSWORD: ${{ secrets.JRELEASER_DOCKER_PASSWORD }} | ||
|
||
- name: JReleaser output | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: artifact | ||
path: | | ||
out/jreleaser/trace.log | ||
out/jreleaser/output.properties |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
group = com.redislabs | ||
version = 2.12.0 | ||
gitPublishPluginVersion = 3.0.0 | ||
kordampPluginVersion = 0.46.0 | ||
kordampBuildVersion = 2.5.0 | ||
jreleaserPluginVersion = 0.4.0 | ||
nexusPluginVersion = 1.1.0 | ||
picocliVersion = 4.6.1 | ||
testcontainersVersion = 1.15.3-REDISLABS | ||
protobufVersion = 3.14.0 | ||
googleHttpVersion = 1.38.0 | ||
group=com.redislabs | ||
version=2.12.1-SNAPSHOT | ||
gitPublishPluginVersion=3.0.0 | ||
kordampPluginVersion=0.46.0 | ||
kordampBuildVersion=2.5.0 | ||
jreleaserPluginVersion=0.4.0 | ||
picocliVersion=4.6.1 | ||
testcontainersVersion=1.15.3-REDISLABS | ||
protobufVersion=3.14.0 | ||
googleHttpVersion=1.38.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
project: | ||
name: riot | ||
description: Redis Input/Output Tools | ||
longDescription: Get data in and out of Redis with RIOT | ||
website: https://developer.redislabs.com/riot | ||
authors: | ||
- Julien Ruaux | ||
license: Apache-2.0 | ||
java: | ||
groupId: com.redislabs | ||
version: 8 | ||
multiProject: true | ||
extraProperties: | ||
inceptionYear: 2020 | ||
|
||
release: | ||
github: | ||
branch: master | ||
username: jruaux | ||
overwrite: true | ||
changelog: | ||
sort: DESC | ||
formatted: ALWAYS | ||
change: '- {{commitShortHash}} {{commitTitle}}' | ||
labelers: | ||
- label: 'feature' | ||
title: 'Resolves #' | ||
body: 'Resolves #' | ||
- label: 'issue' | ||
title: 'Fixes #' | ||
body: 'Fixes #' | ||
- label: 'issue' | ||
title: 'Relates to #' | ||
body: 'Relates to #' | ||
- label: 'task' | ||
title: '[chore]' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- title: '✅ Issues' | ||
labels: | ||
- 'issue' | ||
- title: '🧰 Tasks' | ||
labels: | ||
- 'task' | ||
replacers: | ||
- search: '\[chore\] ' | ||
replace: '' | ||
|
||
distributions: | ||
riot-db: | ||
brew: | ||
active: release | ||
scoop: | ||
active: release | ||
bucket: | ||
name: scoop | ||
artifacts: | ||
- path: connectors/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip | ||
|
||
riot-file: | ||
brew: | ||
active: release | ||
scoop: | ||
active: release | ||
bucket: | ||
name: scoop | ||
artifacts: | ||
- path: connectors/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip | ||
|
||
riot-gen: | ||
brew: | ||
active: release | ||
scoop: | ||
active: release | ||
bucket: | ||
name: scoop | ||
artifacts: | ||
- path: connectors/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip | ||
|
||
riot-redis: | ||
brew: | ||
active: release | ||
scoop: | ||
active: release | ||
bucket: | ||
name: scoop | ||
artifacts: | ||
- path: connectors/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip | ||
|
||
riot-stream: | ||
brew: | ||
active: release | ||
scoop: | ||
active: release | ||
bucket: | ||
name: scoop | ||
artifacts: | ||
- path: connectors/{{distributionName}}/build/distributions/{{distributionName}}-{{projectVersion}}.zip |
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