Compare commits

..

5 Commits

Author SHA1 Message Date
a57108cf21 Merge pull request 'add' (#6) from dev into master
All checks were successful
SonarQube / Build and analyze (push) Successful in 3m28s
Tests / Run Tests (push) Successful in 2m34s
Reviewed-on: #6
2025-10-22 09:45:19 +00:00
a9569b6985 Merge pull request 'add docker pub' (#5) from dev into master
Some checks failed
SonarQube / Build and analyze (push) Successful in 3m2s
Publish Docker Image / Build and Publish to Harbor (push) Failing after 2m11s
Tests / Run Tests (push) Successful in 2m26s
Reviewed-on: #5
2025-10-22 04:15:55 +00:00
0c97d0bef0 Merge pull request 'fix issues' (#4) from dev into master
All checks were successful
SonarQube / Build and analyze (push) Successful in 3m7s
Tests / Run Tests (push) Successful in 2m51s
Reviewed-on: #4
2025-10-22 02:50:26 +00:00
98f0a0c154 Merge pull request 'Add tests' (#3) from dev into master
Some checks failed
SonarQube / Build and analyze (push) Failing after 3m51s
Tests / Run Tests (push) Successful in 2m27s
Reviewed-on: #3
2025-10-22 02:23:16 +00:00
d5f56d8b0c Merge pull request 'add gate' (#1) from dev into master
All checks were successful
SonarQube / Build and analyze (push) Successful in 2m59s
Tests / Run Tests (push) Successful in 2m30s
SonarQube / Build and analyze (pull_request) Successful in 3m0s
Tests / Run Tests (pull_request) Successful in 2m33s
Reviewed-on: #1
2025-10-22 01:32:02 +00:00
3 changed files with 9 additions and 6 deletions

View File

@@ -1,14 +1,14 @@
name: SonarQube
on:
pull_request:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4

View File

@@ -1,7 +1,10 @@
name: Publish Docker Image
on:
push:
workflow_run:
workflows: ["SonarQube", "Tests"]
types:
- completed
branches:
- master
@@ -9,7 +12,8 @@ jobs:
publish:
name: Build and Publish to Harbor
runs-on: ubuntu-latest
timeout-minutes: 15
# Запускаем только если предыдущий workflow успешно завершился
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v4

View File

@@ -3,7 +3,7 @@ on:
push:
branches:
- master
- dev
- develop
pull_request:
types: [opened, synchronize, reopened]
@@ -11,7 +11,6 @@ jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with: