diff --git a/.gitea/actions/create/postgres-template.yaml b/.gitea/actions/create/postgres-template.yaml index 72d5c04..1946f28 100644 --- a/.gitea/actions/create/postgres-template.yaml +++ b/.gitea/actions/create/postgres-template.yaml @@ -13,6 +13,10 @@ spec: env: - name: POSTGRES_PASSWORD value: test + - name: POSTGRES_USER + value: test + - name: POSTGRES_DB + value: test readinessProbe: exec: command: ["pg_isready", "-U", "postgres"] diff --git a/.gitea/actions/delete/action.yml b/.gitea/actions/delete/action.yml index d32dce5..ed350a5 100644 --- a/.gitea/actions/delete/action.yml +++ b/.gitea/actions/delete/action.yml @@ -5,10 +5,10 @@ inputs: runs: using: composite - env: - SERVICE_NAME: ${{ inputs.service_name }} steps: - - run: werf kubectl delete service/${SERVICE_NAME} --ignore-not-found - shell: bash - - run: werf kubectl delete pod/${SERVICE_NAME} --ignore-not-found + - run: | + werf kubectl delete service/${SERVICE_NAME} --ignore-not-found + werf kubectl delete pod/${SERVICE_NAME} --ignore-not-found shell: bash + env: + SERVICE_NAME: ${{ inputs.service_name }}