Skip to content

Commit 41dff9b

Browse files
committed
perf: always run db-downgrade
1 parent 2eeb2e9 commit 41dff9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/k8s_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
call-k8-db-downgrade:
8787
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_db_downgrade.yml@dev
8888
needs: [call-az-acr-push-test, call-k8-db-upgrade, k8-test]
89-
if: ${{ (needs.call-k8-db-upgrade.outputs.ALEMBIC_CURRENT_REV != needs.call-k8-db-upgrade.outputs.ALEMBIC_UPGRADED_REV) && (github.event.repository.name == 'refinery-gateway' || github.event.repository.name == 'gates-gateway' || github.event.repository.name == 'cognition-gateway' || github.event.repository.name == 'hosted-inference-api') }}
89+
if: ${{ always() && (needs.call-k8-db-upgrade.outputs.ALEMBIC_CURRENT_REV != needs.call-k8-db-upgrade.outputs.ALEMBIC_UPGRADED_REV) && (github.event.repository.name == 'refinery-gateway' || github.event.repository.name == 'gates-gateway' || github.event.repository.name == 'cognition-gateway' || github.event.repository.name == 'hosted-inference-api') }}
9090
secrets: inherit
9191
with:
9292
alembic_downgrade_rev: ${{ needs.call-k8-db-upgrade.outputs.ALEMBIC_CURRENT_REV }}

0 commit comments

Comments
 (0)