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: "/root/.redis/YandexInternalRootCA.crt"
|
||||||
|
|
||||||
|
s3Storage:
|
||||||
|
bucket: "molva-staging"
|
||||||
|
defaultLinkTtl: 1h
|
||||||
|
|
||||||
|
database:
|
||||||
|
schema: test_schema
|
||||||
|
sslmode: require
|
||||||
|
rootCaFilePath: "/root/.redis/YandexInternalRootCA.crt"
|
||||||
|
@@ -59,6 +59,15 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Verify required files exist
|
||||||
|
run: |
|
||||||
|
echo "Checking for config file..."
|
||||||
|
if [ ! -f "./build/config/staging.yaml" ]; then
|
||||||
|
echo "Error: staging.yaml not found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "All required files exist"
|
||||||
|
|
||||||
- name: Extract Git metadata
|
- name: Extract Git metadata
|
||||||
id: git-metadata
|
id: git-metadata
|
||||||
run: |
|
run: |
|
||||||
@@ -186,4 +195,4 @@ jobs:
|
|||||||
- name: Post-deploy
|
- name: Post-deploy
|
||||||
run: |
|
run: |
|
||||||
echo "Deployment to ${{ inputs.environment }} completed."
|
echo "Deployment to ${{ inputs.environment }} completed."
|
||||||
echo "Version deployed: ${{ inputs.VERSION }}"
|
echo "Version deployed: ${{ inputs.version }}"
|
||||||
|
Reference in New Issue
Block a user