Files
postgres-actions/.gitea/actions/create/action.yml
Valentin Afanasev 85aa6795d1 fix
2025-08-06 22:14:37 +03:00

17 lines
519 B
YAML

name: Run pg for tests
inputs:
service_name:
required: true
runs:
using: composite
steps:
- run: |
curl -s https://gitea.vecus.ru/ci/postgres-actions/raw/branch/master/.gitea/actions/create/postgres-template.yaml | envsubst | werf kubectl apply -f -
werf kubectl wait --for=condition=ready pod/${POD_NAME} --timeout=60s
shell: bash
env:
POD_NAME: ${{ inputs.service_name }}
APP_NAME: ${{ inputs.service_name }}
SERVICE_NAME: ${{ inputs.service_name }}