Skip to content

Commit

Permalink
Merge remote-tracking branch 'redis/master' into script-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Jul 11, 2021
2 parents a09718e + 150ee12 commit 2cf7d41
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
run: |
mvn --no-transfer-progress \
--batch-mode \
-Dgpg.passphrase="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" \
-s -DskipTests deploy -P release
-Dgpg.passphrase='${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}' \
-DskipTests deploy -P release
env:
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ and
client.runModel("model", new String[] {"a", "b"}, new String[] {"c"});
```

### Note
## Note

**Chunk size:** Since version `0.10.0`, the chunk size of model (blob) is set to 512mb (536870912 bytes) based on
default Redis configuration. This behavior can be changed by `redisai.blob.chunkSize` system property at the beginning
Expand All @@ -72,4 +72,4 @@ Following constructor may come in handy for that purpose.
HostAndPort hostAndPort = new HostAndPort(host, port);
JedisClientConfig clientConfig = DefaultJedisClientConfig.builder().socketTimeoutMillis(largeTimeout).build();
new RedisAI(hostAndPort, clientConfig);
```
```
32 changes: 31 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,35 @@
</executions>
</plugin>
</plugins>
</build>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!--Sign the components - this is required by maven central for releases -->
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 2cf7d41

Please sign in to comment.