diff --git a/.gitea/actions/create/action.yml b/.gitea/actions/create/action.yml index e9140b8..e6672f7 100644 --- a/.gitea/actions/create/action.yml +++ b/.gitea/actions/create/action.yml @@ -5,12 +5,13 @@ inputs: runs: using: composite - env: - POD_NAME: ${{ inputs.service_name }} - APP_NAME: ${{ inputs.service_name }} - SERVICE_NAME: ${{ inputs.service_name }} 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 - + - 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 - - run: werf kubectl wait --for=condition=ready pod/${POD_NAME} --timeout=60s + env: + POD_NAME: ${{ inputs.service_name }} + APP_NAME: ${{ inputs.service_name }} + SERVICE_NAME: ${{ inputs.service_name }} shell: bash