Skip to content

Refactor FunctionTool model and enhance test coverage for missing des… #32

Refactor FunctionTool model and enhance test coverage for missing des…

Refactor FunctionTool model and enhance test coverage for missing des… #32

Workflow file for this run

name: Deploy Serverless Container to Yandex Cloud
on:
push:
branches: [ "dev" ]
jobs:
delpoy-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Yandex Cloud Container Registry
id: login-cr
uses: yc-actions/yc-cr-login@v1
with:
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
- name: Build, tag, and push image to Yandex Cloud Container Registry
env:
CR_REGISTRY: crp0bmvdd91dv86c170d
CR_REPOSITORY: my-cr-repo
IMAGE_TAG: ${{ github.sha }}
run: |
ls -a
docker build -t cr.yandex/$CR_REGISTRY/$CR_REPOSITORY:$IMAGE_TAG -f YC-Dockerfile .
docker push cr.yandex/$CR_REGISTRY/$CR_REPOSITORY:$IMAGE_TAG
- name: Deploy Serverless Container
id: deploy-sls-container
uses: yc-actions/[email protected]
with:
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
container-name: adapter-0
folder-id: b1gkvpmciuf1at2nkvcb
revision-service-account-id: ajekbtndj8s14af74itc
revision-cores: 1
revision-memory: 128Mb
revision-core-fraction: 100
revision-concurrency: 16
revision-provisioned: 1
revision-image-url: cr.yandex/crp0bmvdd91dv86c170d/my-cr-repo:${{ github.sha }}
revision-execution-timeout: 120
public: true
revision-log-options-log-group-id: e239urj29boo302337co
revision-log-options-min-level: level_unspecified
revision-env: |
GITHUB_SHA=${{ github.sha }}
GITHUB_REF=${{ github.ref }}
LOG_TYPE=yc
LOG_LEVEL=DEBUG