update workflows
All checks were successful
Deploy / CreateImage (push) Successful in 3m32s
Deploy / DeployService (push) Successful in 1m9s

This commit is contained in:
skeris 2024-12-10 22:07:08 +03:00
parent d23a67e811
commit 5d53192f5c
2 changed files with 8 additions and 7 deletions

@ -9,16 +9,16 @@ on:
jobs:
CreateImage:
runs-on: [apimetrics]
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.0.1
runs-on: [hubstaging]
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4-p7
with:
runner: apimetrics
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
DeployService:
runs-on: [apimetrics]
runs-on: [hubstaging]
needs: CreateImage
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.0.1
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
with:
runner: apimetrics

@ -8,18 +8,19 @@ services:
- 10.7.0.6:7036:7035
- 10.7.0.6:7037:7036
- 10.7.0.6:7137:2345
command: dlv --listen=:2345 --headless=true --log=true --log-output=debugger,debuglineerr,gdbwire,lldbout,rpc --accept-multiclient --api-version=2 exec ./app
#command: ls /usr/local/bin/
#command: dlv --listen=:2345 --headless=true --log=true --log-output=debugger,debuglineerr,gdbwire,lldbout,rpc --accept-multiclient --api-version=2 exec /app
environment:
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
TELEGRAM_CHANNEL_ID: $TELEGRAM_CHANNEL_ID
CLIENT_HTTP_URL: ":7035"
ADMIN_HTTP_URL: ":7036"
S3_ENDPOINT: s3.timeweb.cloud
S3_ACCESS_KEY_ID: 5CV77KVDUU9H0II9R24M
S3_ACCESS_KEY: 5CV77KVDUU9H0II9R24M
S3_SECRET_KEY: 0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu
S3_FOLDER: verification
S3_FILE_URL: https://3c580be9-cf31f296-d055-49cf-b39e-30c7959dc17b.s3.timeweb.cloud
CUSTOMER_SVC_MICROSERVICE_RPC_URL: "http://10.8.0.6:9065"
CUSTOMER_MICROSERVICE_RPC_URL: "http://10.8.0.6:9065"
VERIFICATION_MICROSERVICE_URL: "https://sadmin.pena"
CUSTOMER_RPC_HOST: 10.8.0.6:9060
TRASH_LOG_HOST: trashlog.pena:7113