Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (ci \ cd): Fix running migrations for tests in CI \ CD via goose

Rostislav Dugin54f3787507fc
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index 12137ff8..7aa68a4d 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -373,7 +373,7 @@ jobs:
run: |
cd backend
go install github.com/pressly/goose/v3/cmd/[email protected]
- goose -dir ./migrations up
+ goose -env ../.env -dir ./migrations up
- name: Run Go tests
run: |
@@ -507,7 +507,7 @@ jobs:
build-image:
if: github.ref != 'refs/heads/develop'
- runs-on: self-hosted
+ runs-on: ubuntu-latest
needs: [lint-backend, lint-frontend, lint-agent]
steps:
- name: Clean workspace
@@ -671,7 +671,7 @@ jobs:
fi
push-image:
- runs-on: self-hosted
+ runs-on: ubuntu-latest
needs: [determine-version, build-image]
if: ${{ needs.determine-version.outputs.should_release == 'true' }}
permissions: