Skip to content
Snippets Groups Projects
Unverified Commit cc1abf24 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Move Liquibase migration tests to GitHub Actions (#20218)

parent 16f5a913
No related branches found
No related tags found
No related merge requests found
......@@ -607,25 +607,6 @@ jobs:
paths:
- metabase/metabase
check-migrations:
executor:
builder
steps:
- attach-workspace
- create-checksum-file:
filename: .MIGRATIONS-CHECKSUM
find-args: resources/migrations -type f -name '*.yaml'
- create-checksum-file:
filename: .MIGRATIONS-LINTER-CHECKSUMS
find-args: bin/lint-migrations-file -type f -name '*.clj' -or -name 'deps.edn'
- run-on-change:
checksum: '{{ checksum ".MIGRATIONS-CHECKSUM" }}-{{ checksum ".MIGRATIONS-LINTER-CHECKSUMS" }}'
steps:
- run:
name: Verify Liquibase Migrations
command: ./bin/lint-migrations-file.sh
no_output_timeout: 15m
########################################################################################################################
# BACKEND #
########################################################################################################################
......@@ -1054,10 +1035,6 @@ workflows:
jobs:
- checkout
- check-migrations:
requires:
- checkout
- be-deps:
requires:
- checkout
......
name: Migrations
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
check-migrations:
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
- name: Verify Liquibase Migrations
run: ./bin/lint-migrations-file.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment