From 8917d66571a95f3da232a0c27bc1300210d10fde Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 28 Jan 2019 16:18:52 +0000 Subject: Add migration test (#5773) * Add migration test This commit adds a simple migration test for v1.5.3, v1.6.4 and v1.7.0-rc3 Signed-off-by: Andrew Thornton * Automigrate based on available dbs * remove old ini file * Standardise the dialect names --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index 68d7198365..560df26606 100644 --- a/.drone.yml +++ b/.drone.yml @@ -127,6 +127,7 @@ pipeline: - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash - apt-get install -y git-lfs - (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.sqlite.test)' | sh)) & + - make test-sqlite-migration - make test-sqlite when: event: [ push, tag, pull_request ] @@ -141,6 +142,7 @@ pipeline: commands: - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash - apt-get install -y git-lfs + - make test-mysql-migration - make integration-test-coverage when: event: [ push, pull_request ] @@ -157,6 +159,7 @@ pipeline: - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash - apt-get install -y git-lfs - (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) & + - make test-mysql-migration - make test-mysql when: event: [ tag ] @@ -172,6 +175,7 @@ pipeline: - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash - apt-get install -y git-lfs - (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) & + - make test-pgsql-migration - make test-pgsql when: event: [ push, tag, pull_request ] @@ -186,6 +190,7 @@ pipeline: commands: - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash - apt-get install -y git-lfs + - make test-mssql-migration - make test-mssql when: event: [ push, tag, pull_request ] -- cgit v1.2.3