Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
cc1abf24
Unverified
Commit
cc1abf24
authored
3 years ago
by
Ariya Hidayat
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move Liquibase migration tests to GitHub Actions (#20218)
parent
16f5a913
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/config.yml
+0
-23
0 additions, 23 deletions
.circleci/config.yml
.github/workflows/migrations.yml
+20
-0
20 additions, 0 deletions
.github/workflows/migrations.yml
with
20 additions
and
23 deletions
.circleci/config.yml
+
0
−
23
View file @
cc1abf24
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/migrations.yml
0 → 100644
+
20
−
0
View file @
cc1abf24
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment