77 СЕМЬ
All checks were successful
All checks were successful
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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 "Симуляция деплоя..."
|
|
||||||
Reference in New Issue
Block a user