From 77fe287a0bc9d35c82dd790b00c55fdd8b116d7d Mon Sep 17 00:00:00 2001 From: Prad Date: Sun, 22 Dec 2024 22:13:14 +0000 Subject: [PATCH] chore(release): remove unnecessary dependencies in release workflow --- .github/workflows/release.yml | 1 - .taskfiles/Postgres.yml | 15 ++++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4770e11c4..fa5ad511d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,6 @@ jobs: if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'develop' runs-on: ubuntu-latest name: Bump Current Version - needs: [validate-release, test-cover, test-race] outputs: new_tag: ${{ steps.bump.outputs.new_tag }} steps: diff --git a/.taskfiles/Postgres.yml b/.taskfiles/Postgres.yml index 61517e17f..9b6acd420 100644 --- a/.taskfiles/Postgres.yml +++ b/.taskfiles/Postgres.yml @@ -13,11 +13,20 @@ tasks: init: desc: Initialize postgresql silent: true - dir: deploy + dir: deploy/apps/chainindex cmds: - - cmd: sudo -u postgres psql -f deploy/apps/chainindex/seed.sql + - cmd: sudo -u postgres psql -f seed.sql platforms: - linux - - cmd: sudo -u postgres psql -d chainindex -f deploy/apps/chainindex/schema.sql + - cmd: sudo -u postgres psql -d chainindex -f schema.sql + platforms: + - linux + + reset: + desc: Reset postgresql + silent: true + dir: deploy/apps/chainindex + cmds: + - cmd: sudo -u postgres psql -d chainindex -f reset.sql platforms: - linux