Skip to content

Commit 47fd948

Browse files
committed
feat: enable github pipeline
1 parent 3e71b59 commit 47fd948

16 files changed

+68
-432
lines changed

.github/pr-title-checker-config.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"LABEL": {
3+
"name": "",
4+
"color": "EEEEEE"
5+
},
6+
"CHECKS": {
7+
"prefixes": ["fix: ", "feat: ", "feature: ", "chore: ", "hotfix: "]
8+
},
9+
"MESSAGES": {
10+
"success": "All OK",
11+
"failure": "Missing prefix",
12+
"notice": ""
13+
}
14+
}
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Integration tests
2+
3+
on:
4+
pull_request:
5+
branches: [ development, release-* ]
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
integration_tests:
11+
uses: epam/ai-dial-ci/.github/workflows/[email protected]
12+
secrets: inherit

.github/workflows/pr_check_tests.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Code checks - tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- development
7+
- release-*
8+
9+
jobs:
10+
run_tests:
11+
uses: epam/ai-dial-ci/.github/workflows/[email protected]
12+
secrets: inherit
13+
with:
14+
bypass_checks: false
15+
java_version: 17
16+
java_distribution: temurin

.github/workflows/release.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Release version
2+
3+
on:
4+
push:
5+
branches: [ development, release-* ]
6+
7+
env:
8+
IMAGE_NAME: ${{ github.repository }}
9+
10+
jobs:
11+
release:
12+
uses: epam/ai-dial-ci/.github/workflows/[email protected]
13+
secrets: inherit

.gitlab-ci.yml

-257
This file was deleted.

build.gradle

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ plugins {
77
id 'checkstyle'
88
}
99

10-
sourceCompatibility = 11
11-
targetCompatibility = 11
10+
sourceCompatibility = 17
11+
targetCompatibility = 17
1212

1313
group = 'com.epam.aidial'
1414
version = '1.0.0'
@@ -62,12 +62,16 @@ dependencies {
6262
implementation("javax.ws.rs:javax.ws.rs-api:${rsVersion}")
6363
implementation("jakarta.validation:jakarta.validation-api:${jakartaValidationVersion}")
6464

65+
constraints {
66+
implementation('org.yaml:snakeyaml:2.2') {
67+
because 'previous version 1.33 has security issue CVE-2022-1471'
68+
}
69+
}
70+
6571
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
66-
implementation("org.springframework.security.oauth:spring-security-oauth2:${springSecurityOAuthVersion}")
67-
implementation("org.springframework.security:spring-security-jwt:1.1.0.RELEASE") // override old one from jwk-token-store
6872

6973
implementation("com.auth0:java-jwt:4.4.0")
70-
implementation("com.auth0:jwks-rsa:0.22.0")
74+
implementation("com.auth0:jwks-rsa:0.22.1")
7175

7276
runtimeOnly("org.glassfish.jersey.core:jersey-common:${glassfishVersion}")
7377

gradle.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ gflogVersion=3.0.4
88
glassfishVersion=2.39.1
99
jakartaValidationVersion=2.0.2
1010
rsVersion=2.1.1
11-
springBootVersion=2.3.12.RELEASE
12-
springSecurityOAuthVersion=2.3.4.RELEASE
11+
springBootVersion=3.1.3
1312
junitVersion=4.+
1413
junitDataproviderVersion=1.13.1
1514

0 commit comments

Comments
 (0)