Skip to content

Commit

Permalink
feat: enable github pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
astsiapanay committed Oct 9, 2023
1 parent 3e71b59 commit 47fd948
Show file tree
Hide file tree
Showing 16 changed files with 68 additions and 432 deletions.
14 changes: 14 additions & 0 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"LABEL": {
"name": "",
"color": "EEEEEE"
},
"CHECKS": {
"prefixes": ["fix: ", "feat: ", "feature: ", "chore: ", "hotfix: "]
},
"MESSAGES": {
"success": "All OK",
"failure": "Missing prefix",
"notice": ""
}
}
12 changes: 12 additions & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Integration tests

on:
pull_request:
branches: [ development, release-* ]
issue_comment:
types: [created]

jobs:
integration_tests:
uses: epam/ai-dial-ci/.github/workflows/[email protected]
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/pr_check_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Code checks - tests

on:
pull_request:
branches:
- development
- release-*

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/[email protected]
secrets: inherit
with:
bypass_checks: false
java_version: 17
java_distribution: temurin
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Release version

on:
push:
branches: [ development, release-* ]

env:
IMAGE_NAME: ${{ github.repository }}

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/[email protected]
secrets: inherit
257 changes: 0 additions & 257 deletions .gitlab-ci.yml

This file was deleted.

14 changes: 9 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {
id 'checkstyle'
}

sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 17
targetCompatibility = 17

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

constraints {
implementation('org.yaml:snakeyaml:2.2') {
because 'previous version 1.33 has security issue CVE-2022-1471'
}
}

implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
implementation("org.springframework.security.oauth:spring-security-oauth2:${springSecurityOAuthVersion}")
implementation("org.springframework.security:spring-security-jwt:1.1.0.RELEASE") // override old one from jwk-token-store

implementation("com.auth0:java-jwt:4.4.0")
implementation("com.auth0:jwks-rsa:0.22.0")
implementation("com.auth0:jwks-rsa:0.22.1")

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

Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ gflogVersion=3.0.4
glassfishVersion=2.39.1
jakartaValidationVersion=2.0.2
rsVersion=2.1.1
springBootVersion=2.3.12.RELEASE
springSecurityOAuthVersion=2.3.4.RELEASE
springBootVersion=3.1.3
junitVersion=4.+
junitDataproviderVersion=1.13.1

Expand Down
Loading

0 comments on commit 47fd948

Please sign in to comment.