Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devops/new instance #2618

Merged
merged 4 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/docker-build-push-redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:
runs-on: ${{ matrix.runners }}
strategy:
matrix:
# runners: [ epam, vscale ]
runners: [ vscale ]
runners: [ selectel ]
steps:
- uses: actions/checkout@v4
- name: Configure secrets
Expand All @@ -70,11 +69,8 @@ jobs:
run: |
docker-compose pull
docker-compose up -d --no-deps brn
- name: Redeploy frontend epam
if: matrix.runners == 'epam'
run: docker-compose up -d --no-deps brn_fe
- name: Redeploy frontend vscale
if: matrix.runners == 'vscale'
- name: Redeploy frontend selectel
if: matrix.runners == 'selectel'
run: docker-compose up -d --no-deps brn_fe_with_tls
- name: Remove old images
run: docker image prune -af
4 changes: 2 additions & 2 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
check_name: Gradle Unit and Integration Test Results
files: build/test-results/**/*.xml
- name: Upload Unit Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: Unit Test Results
path: build/reports/tests/test/
- name: Upload Integration Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: Integration Test Results
Expand Down
1 change: 1 addition & 0 deletions docker-compose-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
POSTGRES_DB: brn
POSTGRES_USER: admin
POSTGRES_PASSWORD: _POSTGRES_PASSWORD_
DATABASE_ALREADY_EXISTS: 'true'
volumes:
- dbdata:/var/lib/postgresql/data
brn:
Expand Down
Loading