Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ba76d0375 | ||
|
|
eb29949996 | ||
|
|
02a990d00e | ||
|
|
56809eacb2 | ||
|
|
4ff8f73b84 | ||
|
|
0ad389633e | ||
|
|
5a9046e391 | ||
|
|
690f734307 | ||
|
|
823e323f68 | ||
|
|
444b5ad85a | ||
|
|
b4a8c7e516 |
@@ -3,14 +3,17 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- 2.4.x
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 10 * * *' # Once per day at 10am UTC
|
- cron: '0 10 * * *' # Once per day at 10am UTC
|
||||||
|
workflow_dispatch: # Manual trigger
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
||||||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
||||||
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
||||||
|
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
|
||||||
|
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -37,7 +40,7 @@ jobs:
|
|||||||
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
|
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
|
||||||
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
|
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
|
||||||
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
|
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
|
||||||
./gradlew clean build --no-daemon --stacktrace
|
./gradlew clean build -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD" --no-daemon --stacktrace
|
||||||
artifacts:
|
artifacts:
|
||||||
name: Deploy Artifacts
|
name: Deploy Artifacts
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'io.spring.gradle:spring-build-conventions:0.0.34.RELEASE'
|
classpath 'io.spring.gradle:spring-build-conventions:0.0.35.RELEASE'
|
||||||
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
version=2.4.2-SNAPSHOT
|
version=2.4.2
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
dependencyManagement {
|
dependencyManagement {
|
||||||
imports {
|
imports {
|
||||||
mavenBom 'io.projectreactor:reactor-bom:2020.0.0'
|
mavenBom 'io.projectreactor:reactor-bom:2020.0.3'
|
||||||
mavenBom 'org.junit:junit-bom:5.7.0'
|
mavenBom 'org.junit:junit-bom:5.7.0'
|
||||||
mavenBom 'org.springframework:spring-framework-bom:5.3.0'
|
mavenBom 'org.springframework:spring-framework-bom:5.3.3'
|
||||||
mavenBom 'org.springframework.data:spring-data-bom:2020.0.0'
|
mavenBom 'org.springframework.data:spring-data-bom:2020.0.3'
|
||||||
mavenBom 'org.springframework.security:spring-security-bom:5.4.1'
|
mavenBom 'org.springframework.security:spring-security-bom:5.4.2'
|
||||||
mavenBom 'org.testcontainers:testcontainers-bom:1.14.3'
|
mavenBom 'org.testcontainers:testcontainers-bom:1.15.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
dependencySet(group: 'com.hazelcast', version: '3.12.10') {
|
dependencySet(group: 'com.hazelcast', version: '3.12.11') {
|
||||||
entry 'hazelcast'
|
entry 'hazelcast'
|
||||||
entry 'hazelcast-client'
|
entry 'hazelcast-client'
|
||||||
}
|
}
|
||||||
@@ -21,7 +21,7 @@ dependencyManagement {
|
|||||||
dependency 'com.oracle.database.jdbc:ojdbc8:19.8.0.0'
|
dependency 'com.oracle.database.jdbc:ojdbc8:19.8.0.0'
|
||||||
dependency 'com.zaxxer:HikariCP:3.4.5'
|
dependency 'com.zaxxer:HikariCP:3.4.5'
|
||||||
dependency 'edu.umd.cs.mtc:multithreadedtc:1.01'
|
dependency 'edu.umd.cs.mtc:multithreadedtc:1.01'
|
||||||
dependency 'io.lettuce:lettuce-core:6.0.1.RELEASE'
|
dependency 'io.lettuce:lettuce-core:6.0.2.RELEASE'
|
||||||
dependency 'javax.annotation:javax.annotation-api:1.3.2'
|
dependency 'javax.annotation:javax.annotation-api:1.3.2'
|
||||||
dependency 'javax.servlet:javax.servlet-api:4.0.1'
|
dependency 'javax.servlet:javax.servlet-api:4.0.1'
|
||||||
dependency 'junit:junit:4.13.1'
|
dependency 'junit:junit:4.13.1'
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
*/
|
*/
|
||||||
public abstract class AbstractRedisITests {
|
public abstract class AbstractRedisITests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
protected static class BaseConfig {
|
protected static class BaseConfig {
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
|||||||
@WebAppConfiguration
|
@WebAppConfiguration
|
||||||
class ClientServerHazelcastIndexedSessionRepositoryITests extends AbstractHazelcastIndexedSessionRepositoryITests {
|
class ClientServerHazelcastIndexedSessionRepositoryITests extends AbstractHazelcastIndexedSessionRepositoryITests {
|
||||||
|
|
||||||
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:3.12.3")
|
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:3.12.11")
|
||||||
.withExposedPorts(5701).withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
|
.withExposedPorts(5701).withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
|
||||||
"/opt/hazelcast/hazelcast.xml");
|
"/opt/hazelcast/hazelcast.xml");
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDr
|
|||||||
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
||||||
class FindByUsernameTests {
|
class FindByUsernameTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
@AutoConfigureMockMvc
|
@AutoConfigureMockMvc
|
||||||
class HttpRedisJsonTest {
|
class HttpRedisJsonTest {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
class RedisSerializerTest {
|
class RedisSerializerTest {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@SpringSessionRedisOperations
|
@SpringSessionRedisOperations
|
||||||
private RedisTemplate<Object, Object> sessionRedisTemplate;
|
private RedisTemplate<Object, Object> sessionRedisTemplate;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ import org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDr
|
|||||||
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
||||||
class BootTests {
|
class BootTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ import org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDr
|
|||||||
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
@SpringBootTest(webEnvironment = WebEnvironment.MOCK)
|
||||||
class BootTests {
|
class BootTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
|
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
|
||||||
class AttributeTests {
|
class AttributeTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@LocalServerPort
|
@LocalServerPort
|
||||||
private int port;
|
private int port;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
|||||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
|
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
|
||||||
class ApplicationTests {
|
class ApplicationTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Value("${local.server.port}")
|
@Value("${local.server.port}")
|
||||||
private String port;
|
private String port;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
@Profile("embedded-redis")
|
@Profile("embedded-redis")
|
||||||
public class EmbeddedRedisConfig {
|
public class EmbeddedRedisConfig {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public GenericContainer redisContainer() {
|
public GenericContainer redisContainer() {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
@Profile("embedded-redis")
|
@Profile("embedded-redis")
|
||||||
public class EmbeddedRedisConfig {
|
public class EmbeddedRedisConfig {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public GenericContainer redisContainer() {
|
public GenericContainer redisContainer() {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||||||
@WebAppConfiguration
|
@WebAppConfiguration
|
||||||
class RestMockMvcTests {
|
class RestMockMvcTests {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private SessionRepositoryFilter<? extends Session> sessionRepositoryFilter;
|
private SessionRepositoryFilter<? extends Session> sessionRepositoryFilter;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
@Profile("embedded-redis")
|
@Profile("embedded-redis")
|
||||||
public class EmbeddedRedisConfig {
|
public class EmbeddedRedisConfig {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public GenericContainer redisContainer() {
|
public GenericContainer redisContainer() {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
@Profile("embedded-redis")
|
@Profile("embedded-redis")
|
||||||
public class EmbeddedRedisConfig {
|
public class EmbeddedRedisConfig {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public GenericContainer redisContainer() {
|
public GenericContainer redisContainer() {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactor
|
|||||||
@Profile("embedded-redis")
|
@Profile("embedded-redis")
|
||||||
public class EmbeddedRedisConfig {
|
public class EmbeddedRedisConfig {
|
||||||
|
|
||||||
private static final String DOCKER_IMAGE = "redis:5.0.6";
|
private static final String DOCKER_IMAGE = "redis:5.0.10";
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public GenericContainer redisContainer() {
|
public GenericContainer redisContainer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user