77 СЕМЬ
All checks were successful
Go Linter / Run golangci-lint (api_gateway) (push) Successful in 3m51s
Go Linter / Tag Commit (push) Successful in 12s
Go Linter / Build golang services (api_gateway) (push) Successful in 4m15s
Go Linter / Push Docker Images (api_gateway) (push) Successful in 8m11s

This commit is contained in:
Alex Shevchuk
2025-09-17 16:13:32 +03:00
parent 9fb046223c
commit a11e3b3a82
4 changed files with 23 additions and 26 deletions

View File

@@ -0,0 +1,22 @@
env: "local"
host: "0.0.0.0"
port: 8000
broker:
notificationsQueueName: "molva-notification"
cache:
readOnly: false
dialTimeout: 1h
poolSize: 10
defaultTtl: 1h
rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt"
s3Storage:
bucket: "molva-staging" # TODO: change to prod bucket
defaultLinkTtl: 1h
database:
schema: test_schema # TODO: change to prod schema
sslmode: require
rootCaFilePath: "/etc/.postgres/YandexInternalRootCA.crt"

View File

@@ -19,4 +19,4 @@ s3Storage:
database: database:
schema: test_schema schema: test_schema
sslmode: require sslmode: require
rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt" rootCaFilePath: "/etc/.postgres/YandexInternalRootCA.crt"

View File

@@ -1,25 +0,0 @@
name: Deploy Production
on:
push:
branches: [master, release]
pull_request:
branches: [master, release]
jobs:
deploy_to_staging:
name: Deploy to Staging
runs-on: ubuntu-22.04
if: ${{ gitea.ref == 'refs/heads/release' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Manual Approval Step
run: echo "Ручное подтверждение получено. Запуск деплоя..."
- name: Deployment Script (Заглушка)
run: |
echo "Здесь будет скрипт деплоя на staging"
# TODO: Реальный скрипт деплоя
echo "Симуляция деплоя..."