Skip to content

Commit 5dadd98

Browse files
committed
Regenerated the client
1 parent 4193f53 commit 5dadd98

File tree

179 files changed

+282
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+282
-274
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/checklist_validator.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Publishing
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
uses: ./.github/workflows/test.yml
8+
publish:
9+
name: Publish the client to the public registry
10+
needs: [test]
11+
runs-on: ubuntu-22.04
12+
env:
13+
MVNSETTINGS: ${{ secrets.MVNSETTINGS_NEW }}
14+
PRIVATEKEY: ${{ secrets.PRIVATEKEY }}
15+
GPGKEY: ${{ secrets.GPGKEY }}
16+
strategy:
17+
matrix:
18+
java: [ '17' ]
19+
services:
20+
manticoresearch-manticore:
21+
image: manticoresearch/manticore:dev
22+
env:
23+
EXTRA: 1
24+
ports:
25+
- 9408:9308
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Set up JDK
29+
uses: actions/setup-java@v2
30+
with:
31+
java-version: ${{ matrix.java }}
32+
distribution: 'temurin'
33+
cache: maven
34+
- name: Check for dev-version
35+
if: ${{ contains(github.ref, 'master') }}
36+
run: |
37+
VERSION=`git log -1 --date=format:"%y%m%d%H" --format=%cd-%h|head`
38+
echo "version $VERSION"
39+
sed -i -E "s/(\<version\>)([0-9]\.[0-9]\.)(.*)(\<)/\1\2$VERSION\4/1" pom.xml
40+
- name: Publish
41+
run: |
42+
sleep 3m
43+
mkdir -p ~/.m2
44+
export GPG_TTY=$(tty)
45+
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
46+
echo "$MVNSETTINGS" > ~/.m2/settings.xml
47+
echo "import"
48+
echo "$PRIVATEKEY" > ~/key
49+
gpg2 --import --batch ~/key
50+
echo "verify"
51+
mvn install -Dmaven.test.skip.exec=true -DskipTests=true -Dmaven.test.skip=true -Dgpg.passphrase=$GPGKEY
52+
echo "deploy"
53+
mvn clean deploy -Pgpg-key1 -PsonatypeDeploy -e -X

.github/workflows/maven.yml renamed to .github/workflows/test.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,34 @@
33
#
44
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
55

6-
name: Java CI with Maven
6+
name: Testing
77

8-
on:
9-
push:
10-
branches: [ main, master ]
11-
pull_request:
12-
branches: [ main, master ]
8+
on: [workflow_call]
139

1410
jobs:
1511
build:
16-
name: Build Manticore Search Client
17-
runs-on: ubuntu-latest
12+
name: Running basic tests
13+
runs-on: ubuntu-22.04
1814
strategy:
1915
matrix:
20-
java: [ 17, 21 ]
16+
java: [ '17', '21' ]
17+
18+
services:
19+
manticoresearch-manticore:
20+
image: manticoresearch/manticore:dev
21+
env:
22+
EXTRA: 1
23+
ports:
24+
- 9408:9308
25+
2126
steps:
22-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v2
2328
- name: Set up JDK
24-
uses: actions/setup-java@v4
29+
uses: actions/setup-java@v2
2530
with:
2631
java-version: ${{ matrix.java }}
2732
distribution: 'temurin'
2833
cache: maven
29-
- name: Build with Maven
30-
run: mvn -B package --no-transfer-progress --file pom.xml
34+
- run: |
35+
sleep 3m
36+
mvn test

.gitignore

100644100755
File mode changed.

.openapi-generator-ignore

100644100755
File mode changed.

.travis.yml

100644100755
File mode changed.

README.md

100644100755
Lines changed: 7 additions & 7 deletions

build.gradle

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'com.diffplug.spotless'
44

55
group = 'com.manticoresearch'
6-
version = '9.0.0'
6+
version = '9.1.0'
77

88
buildscript {
99
repositories {

0 commit comments

Comments
 (0)