Compare commits

..

7 Commits

Author SHA1 Message Date
29c5174f0a Merge pull request 'dev' (#9) from dev into master
Some checks failed
Publish Docker Image / Build and Publish to Harbor (push) Failing after 18s
Tests / Run Tests (push) Successful in 2m51s
Reviewed-on: #9
2025-10-23 11:25:20 +00:00
Leonid Pershin
b188afd9ab Update workflow to trigger on 'dev' branch instead of 'develop'
All checks were successful
Tests / Run Tests (push) Successful in 3m10s
Tests / Run Tests (pull_request) Successful in 2m52s
SonarQube / Build and analyze (pull_request) Successful in 3m55s
2025-10-23 09:43:15 +03:00
Leonid Pershin
3e3df20d84 Update build workflow to trigger on pull requests instead of pushes 2025-10-23 09:41:27 +03:00
445b96af21 Merge pull request 'Enhance workflow configurations by adding timeouts for build, publish, and test jobs' (#8) from dev into master
Some checks failed
SonarQube / Build and analyze (push) Failing after 13m20s
Publish Docker Image / Build and Publish to Harbor (push) Failing after 16s
Tests / Run Tests (push) Successful in 3m51s
Reviewed-on: #8
2025-10-23 06:20:54 +00:00
Leonid Pershin
e54d44b581 Enhance workflow configurations by adding timeouts for build, publish, and test jobs
All checks were successful
SonarQube / Build and analyze (pull_request) Successful in 3m27s
Tests / Run Tests (pull_request) Successful in 2m34s
2025-10-23 09:14:15 +03:00
4d56b29e67 Merge pull request 'fix pub' (#7) from dev into master
Some checks failed
SonarQube / Build and analyze (push) Successful in 17m44s
Publish Docker Image / Run Tests (push) Successful in 3m36s
Publish Docker Image / SonarQube Analysis (push) Failing after 21m20s
Publish Docker Image / Build and Publish to Harbor (push) Has been skipped
Tests / Run Tests (push) Successful in 3m56s
Reviewed-on: #7
2025-10-23 05:13:19 +00:00
Leonid Pershin
738ae73ebd fix pub
All checks were successful
SonarQube / Build and analyze (pull_request) Successful in 12m33s
Tests / Run Tests (pull_request) Successful in 3m36s
2025-10-23 07:56:42 +03:00
3 changed files with 6 additions and 9 deletions

View File

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

View File

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

View File

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