Compare commits
2 Commits
v1.2.42075
...
v1.2.42077
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f64936e0f3 | ||
|
|
a11e3b3a82 |
@@ -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 "Симуляция деплоя..."
|
|
||||||
@@ -28,8 +28,8 @@ ARG CONFIG_FILE_PATH
|
|||||||
|
|
||||||
RUN apk add --no-cache ca-certificates tzdata
|
RUN apk add --no-cache ca-certificates tzdata
|
||||||
|
|
||||||
COPY --from=certs /YandexInternalRootCA.crt /root/.redis/YandexInternalRootCA.crt
|
COPY --from=certs /YandexInternalRootCA.crt /etc/.redis/YandexInternalRootCA.crt
|
||||||
COPY --from=certs /YandexInternalRootCA.crt /root/.postgres/YandexInternalRootCA.crt
|
COPY --from=certs /YandexInternalRootCA.crt /etc/.postgres/YandexInternalRootCA.crt
|
||||||
COPY ${CONFIG_FILE_PATH} /config.yaml
|
COPY ${CONFIG_FILE_PATH} /config.yaml
|
||||||
|
|
||||||
COPY --from=builder /app/main /main
|
COPY --from=builder /app/main /main
|
||||||
|
|||||||
Reference in New Issue
Block a user